mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 06:23:17 -10:00
hugo.yaml turns on Hextra's llms output at the site root, a markdown output beside each page and section, and params.page.contextMenu. The home page keeps html and rss, and sections keep rss. The search index comes out byte-identical. - layouts/llms.txt replaces Hextra's. Each section's own page is listed first, followed by its pages. Each line is the page's description, or else its first paragraph as plain text on one line, cut at 200 characters (_partials/llms-summary.txt). Hextra's version left out the section pages, printed HTML entities and newlines, and let the experimental badge and the CLI "Synopsis" heading into the summaries. - page/section.markdown.md and _partials/markdown-copy.md render the shortcodes through .markdown.md versions (install, os-tabs, yes, no, experimental, section-card, Hextra's cards). They also point links to a section's _index.md at index.md, so all 867 relative links between the copies resolve. The install commands live in _partials/install-tabs.html, which the HTML tabs use too. - The branding page sets outputs: [html], contextMenu: false and llms: false. The home page sets contextMenu: false. - Coding agents gets a description, because its first paragraph is a heading and a code block. - custom.css styles the menu in the site's border, surface and lime. - Contributing's Writing docs describes all of this, including what to check after adding a page or a shortcode. Co-Authored-By: Claude Opus 5.5 <[email protected]>
145 B
145 B
{{- /* A section's Markdown copy, beside its HTML, in place of Hextra's: _partials/markdown-copy.md. */ -}} {{- partial "markdown-copy.md" . -}}