Tier-0 V2.0 quick fixes: sitemap, robots.txt, LaTeX + nav#105
Merged
Conversation
- Enable jekyll-sitemap (bundled with github-pages) so /sitemap.xml is generated for search indexing; add robots.txt pointing to it (#72). - Fix malformed LaTeX in advancedio/smoothing-input.md: a nested `$>$` inside a $$...$$ block broke MathJax; use a literal `>` to match the `if i = 1` case above it. - Migrate esp32/esp32-ide.md from the old .btn "Back to" button to the standard card-style <nav class="lesson-nav">, matching the other esp32 lessons (the nav script doesn't recognize the single back-button form). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Punch-list item B — the fast, mechanical, no-regret Tier-0 fixes toward V2.0. Independent of the Actions-deploy PR (#104).
Changes
jekyll-sitemap+robots.txt(helps Fix page indexing problems #72 indexing). Enabled the plugin in_config.yml(it ships with thegithub-pagesgem and is whitelisted, so it works under both the legacy and Actions builds). Added a rootrobots.txtpointing at the generated sitemap.advancedio/smoothing-input.md: a nested$>$inside a$$…$$block broke MathJax parsing. Replaced with a literal>to match the\text{if i = 1}case just above it.esp32/esp32-ide.md: converted the old.btn"Back to" button to the standard card-style<nav class="lesson-nav">, matching every other esp32 lesson.Verification
bundle exec jekyll build(~20s)._site/sitemap.xmlgenerated with correct absolute URLs, e.g.https://makeabilitylab.github.io/physcomp/advancedio/accel.html(baseurl preserved)._site/robots.txtpublished with the sitemap line.esp32-ide.htmlnow renderslesson-nav/nav-prev(nobtn-outline).Notes
robots.txton a project page is served at/physcomp/robots.txt; crawlers only honor the authoritative one at the org root (makeabilitylab.github.io/robots.txt). The real indexing win here is thesitemap.xml, which is directly submittable to Google Search Console.scripts/update_lesson_nav.py) doesn't recognize this single "Back to" button form (and has a Windows-only cp1252 crash in its summary print). It did flag two other still-stale pages —communication/p5js-serial-io.mdandcpx/capacitive-touch.md— out of scope here but worth a follow-up.🤖 Generated with Claude Code