Repository navigation
Build the docs site with Zensical in Material's look, and show every component - #383
Merged
Merged
Conversation
…component The site was Jekyll's minimal theme: a fixed grey column, small type, and the list of pages at the foot of each page. Zensical, the successor to Material for MkDocs, now builds it in Material's classic look: the pages in five sections in a sidebar, each with an icon, search, a light, dark and automatic scheme, a contents list on each page and copy buttons on code. Every page keeps its address, its title and its search description, and the sitemap stays. docs.yml builds the site on every pull request that touches it, failing on a broken link, and publishes it to GitHub Pages from master, so Pages builds from GitHub Actions rather than from master's docs folder. scripts/docs-llms-txt.py writes llms.txt from mkdocs.yml's nav and each page's front matter, as the Jekyll template did, and a template override adds the Open Graph tags jekyll-seo-tag wrote. Only the top level of docs/ and its images are built. The channel sliders, theming, localization and Without Material pages get screenshots of what their code draws, recorded as screenshot-test references like the others.
Python 3.15 is the current release, and Zensical's wheels are abi3 from 3.11, so they install on it as they are. Dependabot watched Gradle and the actions but not pip, so a new Zensical would have gone unnoticed; it now proposes one each week, as it does the rest.
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.
Follows #381 and #382.
_config.ymlgo.setup.htmland so on), its title and its search description, and the sitemap stays.scripts/docs-llms-txt.pywritesllms.txtfrommkdocs.yml's nav and each page's front matter, as the Liquid template did; only its summary line changes, to the new site description. A template override adds the Open Graph and Twitter tagsjekyll-seo-tagwrote.docs.ymlbuilds and publishes it. A pull request that touches the docs gets a strict build, which fails on a link to a page, image or heading that does not exist. A push tomasterpublishes to GitHub Pages. Only the top level ofdocs/and its images are built.docs/imagesbycopyGoldensToDocs. Localization shows an HSL picker in Egyptian Arabic, right to left.Before merging: Pages must build from GitHub Actions rather than from
master's/docs(Settings, Pages, Source). Until the first deployment fromdocs.yml, the current site stays up.The site builds with
zensical build --strictwithout issues; in the built site every internal link, image and anchor resolves, and each page has one<h1>.llms.txtmatches the current one line for line but for its summary.validateDebugScreenshotTestpasses with the four new references, and the 30 existing ones are unchanged.