Site navigation, sidebar head and Transmodel header (1.1.0) #13

Merged
moof merged 7 commits from site-navigation into main 2026-10-22 13:58:58 +00:00
Owner

Navigation and branding for a site that holds several standards.

  • The logo now links to its variant folder's index.html (on Transmodel pages, to transmodel/index.html).
  • --home-logo IMAGE adds a small logo before it that links to the site root.
  • --home-title TITLE adds a first breadcrumb to the site root.
  • --folder-title FOLDER=TITLE adds a breadcrumb after it for the variant's folder. Shared pages get this crumb from site.js, for the reader's variant. Variant start pages get breadcrumbs too.
  • --transmodel-logo IMAGE sets the Transmodel pages' logo, and their header now says Transmodel.
  • The sidebar head is a band exactly as tall as the top bar, with the home logo, the logo and the title in one row. The title is limited to two lines, and "Schema reference" is gone.
  • Headings no longer force upper case, so names keep their own capitals (NeTEx, OpRa).

Tests: 62 pass. prettyxsd #14 (1.2.0) touches transmodel_pages.py, style.css and site.js too, so it will need a rebase after this merges.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Lz1bL3NY1gSDDuo53Q9d9C

Navigation and branding for a site that holds several standards. - The logo now links to its variant folder's `index.html` (on Transmodel pages, to `transmodel/index.html`). - `--home-logo IMAGE` adds a small logo before it that links to the site root. - `--home-title TITLE` adds a first breadcrumb to the site root. - `--folder-title FOLDER=TITLE` adds a breadcrumb after it for the variant's folder. Shared pages get this crumb from site.js, for the reader's variant. Variant start pages get breadcrumbs too. - `--transmodel-logo IMAGE` sets the Transmodel pages' logo, and their header now says Transmodel. - The sidebar head is a band exactly as tall as the top bar, with the home logo, the logo and the title in one row. The title is limited to two lines, and "Schema reference" is gone. - Headings no longer force upper case, so names keep their own capitals (NeTEx, OpRa). Tests: 62 pass. prettyxsd #14 (1.2.0) touches transmodel_pages.py, style.css and site.js too, so it will need a rebase after this merges. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Lz1bL3NY1gSDDuo53Q9d9C
The logo at the top left now always goes to the site's index.html, not to
the reader's variant start page. --home-title adds a first breadcrumb to
the site root, and --folder-title FOLDER=TITLE a breadcrumb to a variant
folder's index.html; on shared pages site.js adds it for the reader's
variant. Variant start pages get breadcrumbs too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lz1bL3NY1gSDDuo53Q9d9C
moof changed title from Logo to the site root, breadcrumbs through the site and standard (1.1.0) to Logo to the site root, breadcrumbs through the site and standard, Transmodel header (1.1.0) 2026-10-22 13:03:26 +00:00
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lz1bL3NY1gSDDuo53Q9d9C
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lz1bL3NY1gSDDuo53Q9d9C
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lz1bL3NY1gSDDuo53Q9d9C
moof changed title from Logo to the site root, breadcrumbs through the site and standard, Transmodel header (1.1.0) to Site navigation, sidebar head and Transmodel header (1.1.0) 2026-10-22 13:58:10 +00:00
moof merged commit b04bf01693 into main 2026-10-22 13:58:58 +00:00
moof deleted branch site-navigation 2026-10-22 13:59:08 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Reference4PT/prettyxsd!13
No description provided.