Repository navigation
Rebuild the site and fix maths and code rendering - #249
Merged
Merged
Conversation
Listing excerpts and meta descriptions now turn inline TeX into readable text instead of showing raw $...$ or dropping the commands. The Python course renders fenced code inside list items and bold around inline code, and writes the course index formulas as text. Fence languages Prism does not have map to a grammar that exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page was emptied in #228. Bring it back from the commit before, with the redesign applied: grimoire.css, the header sigil, and no emoji in headings, buttons or the help box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Regenerated with scripts/run_all.py after merging the open source PRs for Databases-Notes, Frontend-Notes and Vtk-Examples. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for goofy-brahmagupta-0a14f0 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Rebuilds the site from the latest notes with
scripts/run_all.py, and fixes the maths and code rendering problems that a full browser check of the generated pages turned up.Rendering fixes
$A\in\mathbb R^{m\times n}$(38 excerpts), and meta descriptions came out as "For A R^m n". A newscripts/tex_text.pyturns inline TeX into readable text ("For A ∈ ℝ^(m×n), x ∈ ℝⁿ…").generate_article_list.pyandapply_common_elements.pyuse it, and excerpts are now HTML-escaped.```pythonfence, because fenced code inside a list item wasn't handled. In 18 pages,**bold**wrapping`code`stayed as literal asterisks. Both are fixed ingenerate_course_tasks.py. The two formulas on the course index, which loads no KaTeX, are now written as text.proto,apache,cmd,make,conf,fstab, …) requested grammar files that return 404 and stayed unhighlighted.LANGUAGE_ALIASESnow maps them to real grammars (protobuf,apacheconf,batch,makefile, …) or toplaintext.src/tools/quantum_optics/index.htmlhad been empty since Repair website links and images and regenerate source articles #228, so the tool page was blank. It's restored from the commit before Repair website links and images and regenerate source articles #228, with the Redesign the site as modernist and the tools as a restrained grimoire #229/Restyle the site and tools as Technical Editorial #243 redesign changes applied:grimoire.css, the header sigil, and no emoji in headings or buttons.Upstream notes
Three of the source PRs listed in
docs/link-repairs-2026-10-18.mdwere merged before this rebuild: Databases-Notes #22, Frontend-Notes #33 and Vtk-Examples #36. The VTK geospatial script is a link again instead of a broken image. Kurs-Podstaw-Pythona #11 is still open because it needs an approving review, so this rebuild undoes its one-line link fix inparadygmaty_programowania. Merge it and rebuild to restore it.Checks
python3 -m unittest discover -s testspasses, with new tests for the TeX helper, the course markdown fixes and the Prism aliases.Not changed here
generate_algo_course.pychecks article anchors beforegenerate_table_of_contents.pyadds heading ids, so 26 lesson links lose their#sectionpart.#binary-search-trees-bst-is also stale and should be#binary-search-trees-bst.notes/08_protocols.mdescapes<!DOCTYPE html>inside a code fence, so readers see the entities.🤖 Generated with Claude Code