Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/build_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,8 @@ echo "Extracting: $EXTRACT_LIST"
git archive "$GH_PAGES_BRANCH" $EXTRACT_LIST | tar -x -C "$OUTPUT_DIR"

echo "=== Build Complete! ==="
echo "To serve the fully built site (with versioning):"
echo " python3 -m http.server 8000 -d $OUTPUT_DIR"
echo ""
echo "Alternative (faster for live editing current version):"
echo " uv run mkdocs serve"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not convinced "uv run mkdocs serve" produces the exact same result of "python3 -m http.server 8000 -d $OUTPUT_DIR"; also, we added the instruction of 136 in #452 so i'm not sure it's super useful to have it printed in the output of the script as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

although #452 is explaining the issue, we want to encourage developer builds and helping them see the issues sooner. These instructions used to be in the file before some update removed them. (personally useful)
-- no comment on the different of python3 vs uv run mkdocs serve

Loading