Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
= Changelog

== 2026-09-29 -- Inline code in page titles and nav chrome

* Supplemental CSS styles `<code>` inside page H1, side-nav labels, and Valentus breadcrumb trail text (AsciiDoc backticks in doctitles and nav xref labels).

== 2026-09-29 -- Tools shared Antora component

* Add hub-owned `docs-tools/` scaffold (`name: tools`) with ROOT landing page; site-nav-tree lists a single `tools` root instead of per-CLI components.
Expand Down
34 changes: 34 additions & 0 deletions supplemental-ui/css/site-inline-title-code.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* Inline code in chrome titles (H1, side nav, breadcrumb trail).
Antora/Asciidoctor emit <code> for backticks in doctitles and nav xref labels;
Valentus templates already render those fields with triple mustache. */

.nav .nav-link code,
.nav .nav-text code,
.adt-breadcrumb-trail-text code,
.adt-breadcrumb-trail-link code,
.doc .adt-page-title code,
.adt-article .adt-page-title code {
font-family: var(--monospace-font-family, "IBM Plex Mono", "Roboto Mono", ui-monospace, monospace);
font-size: 0.92em;
font-weight: 500;
letter-spacing: -0.01em;
}

.nav .nav-link code,
.nav .nav-text code,
.adt-breadcrumb-trail-text code,
.adt-breadcrumb-trail-link code {
color: inherit;
background: color-mix(in srgb, currentColor 8%, transparent);
border-radius: 0.2em;
padding: 0.05em 0.25em;
}

.doc .adt-page-title code,
.adt-article .adt-page-title code {
color: inherit;
background: color-mix(in srgb, currentColor 10%, transparent);
border-radius: 0.2em;
padding: 0.05em 0.3em;
font-weight: 600;
}
1 change: 1 addition & 0 deletions supplemental-ui/partials/head-meta.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ document.documentElement.classList.add('adt-fouc-pending')
<link rel="stylesheet" href="{{{uiRootPath}}}/css/nav-typology.css">
{{!-- Independent nav vs article column scroll (after Valentus layout) --}}
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site-nav-column-scroll.css">
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site-inline-title-code.css">
<script>
(function () {
const dmNavbar = document.querySelector('meta[name="dm-navbar"]')
Expand Down
Loading