Repository navigation
Conversation
Swaps jekyll-theme-chirpy for a themeless Hugo 0.165 site under docs/,
built with `hugo --minify --gc`.
The landing page implements the approved design: hero, terminal mock,
three cards, agent section, and an install strip whose three commands
copy to the clipboard. The docs pages keep their existing copy and gain
a sidebar, an on-this-page column driven by .TableOfContents, and
prev/next links.
Documentation prose is unchanged. Only the Jekyll-specific bits were
converted: `{{ site.repository }}` and `{{ site.baseurl }}` resolved to
literals, and the two kramdown `{: .prompt-* }` callouts became a `note`
shortcode styled like the design's callout box. index.md's Quickstart
section moved verbatim into install.md, where the sidebar links it.
The site stays at the root of things.rlew.io and /install/, /commands/,
/configuration/ and /about/ keep working.
Renovate's ruby <4 pin went with Chirpy.
internal/config/docs_test.go read the configuration page from docs/_tabs/, which the Hugo move renamed to docs/content/. All three tests in that file failed on this branch until now. Also from review: fail the build when assets/css/site.css cannot be resolved, rather than silently publishing an unstyled site, and put the configured locale in <html lang> instead of a hardcoded "en".
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.
Replaces the jekyll-theme-chirpy site under
docs/with a themeless Hugo 0.165 site, and gives things.rlew.io the approved landing page.What changed
docs/is now a Hugo site with no theme and no external theme module:Gone with Jekyll:
Gemfile(and the html-proofer dev dependency),_config.yml,_data/,_includes/,_tabs/,assets/js/data/search.json,index.md,avatar.svg.docs/.mise.tomlpinshugo = "0.165.0"instead of ruby, and Renovate's ruby<4pin goes too — it existed only for Chirpy.The pages
The landing page is the approved design: hero with the version badge and a copy-to-clipboard install command, a terminal mock, three cards, the agent section, and an install strip whose three cards each copy their command. Copy-to-clipboard is about 20 lines of inline JS with an
execCommandfallback, no framework.The docs pages keep the layout from the approved docs mockup — sidebar, prose column, "on this page" — plus prev/next links. The sidebar is generated from the real content: the Commands group is every H2 of
commands.md, read through.Fragments.Headings, so it cannot drift from the page.Documentation copy is unchanged
Prose was moved, not rewritten. The only edits to the five content pages are front matter, the Liquid (
{{ site.repository }},{{ site.baseurl }},relative_url) resolved to literals, and the kramdown{: .prompt-* }callouts converted to anoteshortcode styled like the callout box in the design.git diff origin/main...HEADon those files shows nothing else.index.md's Quickstart section moved verbatim intoinstall.mdunder its own H2, which is what the sidebar's "Quickstart" entry links to. Its shields.io badge block and "Where next" list are the only copy dropped — both are navigation the new nav and sidebar replace.URLs
/install/,/commands/,/agents/,/configuration/and/about/all keep working, set explicitly withurl:front matter. The site stays at the root of things.rlew.io andCNAMEmoves todocs/static/so Hugo copies it into the output.The two demo GIFs move from
docs/assets/img/(which is Hugo's Pipes directory, not a published one) todocs/static/img/, so/img/demo-agent.gifon the agents page resolves. That is the one README change: its inline demo image path follows the file.Verification
cd docs && hugo --minify --gc --baseURL https://things.rlew.io/— the exact command the Pages workflow now runs — succeeds with no warnings on the pinned 0.165.0. All six pages plusCNAMEand both GIFs are inpublic/. The output contains no leftover Liquid, and every internal link, heading anchor and image reference in the built HTML resolves; checked programmatically across all pages. The landing page's text, diffed word-for-word against the approved mockup, is identical.make testandmake lintare green.internal/config/docs_test.goread the configuration page fromdocs/_tabs/, so its path had to follow the move — without that fix the suite was red.Note
The hero badge version in
hugo.tomlis hand-maintained; nothing checks it against the latest tag. Worth a follow-up if the site should track releases automatically.