Skip to content

Fix docs sidebar navigation and streamline Hextra site#2

Merged
antonkomarev merged 1 commit into
mainfrom
docs/hextra-nav-and-llms-improvements
Jul 15, 2026
Merged

Fix docs sidebar navigation and streamline Hextra site#2
antonkomarev merged 1 commit into
mainfrom
docs/hextra-nav-and-llms-improvements

Conversation

@antonkomarev

@antonkomarev antonkomarev commented Jul 15, 2026

Copy link
Copy Markdown
Owner

What & why

Several UX fixes for the Hextra docs site (docs/). The main issue: opening an
individual ADR dropped the left navigation sidebar, so there was no way to move
between ADRs — reported from the published site.

Changes

  • Sidebar persists on single pages. Cascade type: docs from the home page
    so every descendant (each ADR, Metrics, Alternatives) uses Hextra's docs
    layout with the left nav tree, instead of falling back to the centered,
    sidebar-less single layout. The home landing page keeps its cards (cascade
    does not apply to the page declaring it).
  • Footer copyright via docs/i18n/en.yaml.
  • llms.txt output for the home kind, plus a site description used as its
    summary line.
  • Template hidden from navigation: adr-0000-template is excluded from the
    sidebar and llms.txt (already out of search). It stays reachable from the
    Conventions link in the ADR index.
  • Alternatives ordered last in the sidebar (weight: 40).
  • Navbar trimmed: removed the ADRs item and renamed Documentation to
    Home. ADRs remain reachable via the sidebar and the home page card.

Improve the Hextra documentation site UX and navigation:

- Cascade `type: docs` from the home page so single pages (each ADR,
  Metrics, Alternatives) keep the left navigation sidebar instead of
  falling back to Hextra's centered, sidebar-less single layout. This
  was the main pain point: opening an ADR dropped the ADR list.
- Add a footer copyright via i18n/en.yaml.
- Emit an llms.txt outline (home output format) plus a site description
  for its summary line.
- Hide the adr-0000 template from the sidebar and llms.txt (it is the
  copy-me scaffold, still reachable from the Conventions link).
- Order Alternatives last in the sidebar (weight 40).
- Trim the navbar: drop the ADRs item, rename Documentation to Home.
@antonkomarev
antonkomarev merged commit 45686f2 into main Jul 15, 2026
5 checks passed
@antonkomarev
antonkomarev deleted the docs/hextra-nav-and-llms-improvements branch July 15, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant