Repository navigation
Conversation
Copilot
AI
changed the title
[WIP] Extend gh docs index command to generate pages and sidebar module
Generate repository pages and Starlight sidebar from templates
Nov 5, 2026
lakruzz
reviewed
Nov 5, 2026
lakruzz
left a comment
Contributor
There was a problem hiding this comment.
Reviewed commit 79d4b67 (MDX template support). One finding is attached on the new template: the hero Documentation action should be omitted when .HomepageURL is empty.
| hero: | ||
| tagline: Index of reference documentation for the products stewarded by Mind over Machine. | ||
| actions: | ||
| - text: Documentation |
Contributor
There was a problem hiding this comment.
The Documentation hero action is emitted even when .HomepageURL is empty, which creates a Starlight action with a blank link for repos without a homepage. The body link below is conditional, but this frontmatter entry is not. Please make the hero action conditional too, or otherwise omit it when there is no homepage URL.
lakruzz
self-requested a review
November 5, 2026 11:32
lakruzz
approved these changes
Nov 5, 2026
lakruzz
self-requested a review
November 5, 2026 11:38
lakruzz
approved these changes
Nov 5, 2026
Contributor
|
Closed by Ready action after successful fast-forward merge to 'main' via 'ready/copilot/generate-repository-pages-template-sidebar-module'. |
lakruzz
deleted the
copilot/generate-repository-pages-template-sidebar-module
branch
November 5, 2026 11:39
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.
sidebarmode now generates a Markdown page for each matching repository and a Starlight sidebar linking to those pages. YAML, JSON, and HTML remain single-file exports.CLI and configuration
--pages-dir,--template,--base-url,--badge-url, and--starlight; support matchingindex:settings.docs/content/repo. Flags override.docs.yml, which overrides defaults.--starlightcopies the maintained starter template without querying GitHub and refuses to overwrite an existing file.Pages and metadata
text/templateand gh-docs-specific[% ... %]delimiters; provide ayamlhelper for front matter.Sidebar and documentation