File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,22 +20,22 @@ venv: $(VENV)/bin/activate
2020
2121# Start mkdocs dev server (after ensuring venv)
2222serve : venv
23- @echo " 🚀 Starting mkdocs server at $( BASE_URL) "
24- @. $(ACTIVATE ) ; mkdocs serve --dev-addr=127.0.0.1:9000
23+ @echo " Starting mkdocs server at $( BASE_URL) "
24+ @. $(ACTIVATE ) ; mkdocs serve --livereload -- dev-addr=127.0.0.1:9000
2525
2626# Build the site once
2727build : venv
2828 @. $(ACTIVATE ) ; mkdocs build
2929
3030# Generate social cards (needs Node.js + Puppeteer)
3131social :
32- @echo " 🖼️ Generating OG social cards..."
32+ @echo " Generating OG social cards..."
3333 cd .og-generator && npm install --no-fund --no-audit
3434 node .og-generator/generate-all-social-cards.mjs $(BLOG_DIR ) $(SOCIAL_DIR ) $(BASE_URL )
3535
3636# Force regenerate all social cards
3737social-force :
38- @echo " ♻️ Forcing full rebuild of OG social cards..."
38+ @echo " Forcing full rebuild of OG social cards..."
3939 cd .og-generator && npm install --no-fund --no-audit
4040 node .og-generator/generate-all-social-cards.mjs $(BLOG_DIR ) $(SOCIAL_DIR ) $(BASE_URL ) --force
4141
Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ pip freeze > requirements.txt
3131
3232``` bash
3333source .venv/bin/activate
34- reset && mkdocs serve --dev-addr=127.0.0.1:9000
34+ reset && mkdocs serve --livereload -- dev-addr=127.0.0.1:9000
3535python scripts/generate_og_default.py # generate images
3636mkdocs build -v # generate website locally
3737```
3838
3939
4040## Test RSS
4141``` bash
42- reset && mkdocs serve --dev-addr=127.0.0.1:9000 # start mkdocs
42+ reset && mkdocs serve --livereload -- dev-addr=127.0.0.1:9000 # start mkdocs
4343curl -s http://localhost:9000/rss.xml #
4444```
4545
You can’t perform that action at this time.
0 commit comments