Repository navigation
Closed
Labels
scope/docsDocuments, guides, ADRs and generated referencestype/bugType bug: the code does not do what it must
Description
Problem
The live GitHub Pages site of the repository has three defects, found while #2001 was built (2026-10-24):
https://dan-petty.github.io/devops-cli/returns 404, becausedocs/has noindex.mdorREADME.md.- The Architecture link in
docs/_layouts/default.htmlgoes to/ARCHITECTURE.html, which returns 404, becauseARCHITECTURE.mdis at the repository root, not indocs/. - Pages publishes each source
.mdfile next to its.htmlpage. Theremove_originalsoption of jekyll-optional-front-matter controls this.
Proposed fix
- Add a home page under
docs/that routes to the main documents. - Point the layout's links only at pages that the site builds, and add a check (for example, a link checker such as lychee on the built site in the
Docs Site Buildjob) so that a broken link fails before the merge. - Set
optional_front_matter.remove_originals: trueindocs/_config.ymlif the github-pages gem version supports it.
Acceptance criteria
- The built site has an index page, and the CI build fails on a broken internal link.
- The built site has no copies of the source
.mdfiles.
Proposed design
Problem statement
The GitHub Pages site for devops-cli has a missing home page, broken links, and publishes source markdown files. Users cannot access the main documentation page, and internal links fail.
Acceptance criteria
- Criterion 1: The built site has an index page that users can access without getting a 404 error
Verification: Visithttps://dan-petty.github.io/devops-cli/and verify it loads the home page - Criterion 2: Internal links in the documentation site work correctly and do not return 404 errors
Verification: Run a link checker such as lychee on the built site in the Docs Site Build job and confirm no broken internal links - Criterion 3: The built site has no copies of source .md files published alongside their .html pages
Verification: Check that no .md files are present in the published site directory, only .html files with corresponding content
Key questions
- Does the repository have an ARCHITECTURE.md file at the root?: Yes, the repository has ARCHITECTURE.md at the root. [sources: ARCHITECTURE.md]
- What is the current Jekyll configuration for publishing source files?: The documentation does not specify the current configuration, but the proposed fix mentions using the remove_originals option of jekyll-optional-front-matter. [sources: docs/_config.yml]
- Should the site build process be modified to avoid publishing source .md files?: Yes, according to the issue description, Pages publishes each source .md file next to its .html page. The fix should set remove_originals option of jekyll-optional-front-matter to true if supported. (proposed)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
scope/docsDocuments, guides, ADRs and generated referencestype/bugType bug: the code does not do what it must
Type
Projects
- StatusShow more project fieldsReady
- StatusShow more project fieldsReady
Activity
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The live site has broken links and missing pages, affecting user access.Fixes core documentation site usability issues for all users.Requires adding a home page, updating links, and configuring Jekyll settings.Both items relate to documentation site build issues, but the candidate fixes layout and publishing while #2001 addresses configuration application.dan-petty commentedon Oct 26, 2026
Status set to Ready at aece067 (see proposed design in issue body).
fix(docs): add home page, remove raw markdown publishing, and check l…
fix(docs): add home page, remove raw markdown publishing, and check l…
fix(docs): add home page, remove raw markdown publishing, and check l…
chore(main): release 0.7.4 (#2377)