You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "Subham-KRLX (via GitHub)" <gi...@apache.org> on 2025/12/14 03:43:48 UTC
Re: [PR] feat: Add dark/light theme toggle to documentation website [sedona]
Subham-KRLX commented on PR #2480:
URL: https://github.com/apache/sedona/pull/2480#issuecomment-3650159232
Hi @jbampton! Here are the commands I used to build and preview the website locally:
Setup and Build
bash
# 1. Checkout the branch
git checkout theme-toggle-final
# 2. Install dependencies (as per Sedona docs)
python3 -m pip install --upgrade uv
uv sync --group docs
# 3. Build and serve the website
uv run mkdocs build
uv run mkdocs serve
The site runs at http://127.0.0.1:8000/ with the theme toggle working correctly in the header.
Changes
Only
mkdocs.yml
was modified (27 lines added to enable theme toggle):
bash
git diff master...theme-toggle-final --name-only
# Output: mkdocs.yml
Replication Steps
To replicate from scratch:
bash
git clone https://github.com/apache/sedona.git
cd sedona
git remote add subham https://github.com/Subham-KRLX/sedona.git
git fetch subham
git checkout subham/theme-toggle-final
python3 -m pip install --upgrade uv
uv sync --group docs
uv run mkdocs serve
iam okay to provide screenshots if needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org