From 2b8f0ca14f06289bcb48b7e7f3a333072533d38d Mon Sep 17 00:00:00 2001
From: Arnaud Becheler <8360330+Becheler@users.noreply.github.com>
Date: Wed, 1 Jul 2026 09:56:36 +0200
Subject: [PATCH 1/5] doc: imitate unordered bundle to recover tocs
---
doc/antora.yml | 3 +
doc/playbook.yml | 5 +-
.../partials/header-content.hbs | 44 ---------
doc/supplemental-ui/partials/nav-tree.hbs | 89 -------------------
4 files changed, 4 insertions(+), 137 deletions(-)
delete mode 100644 doc/supplemental-ui/partials/header-content.hbs
delete mode 100644 doc/supplemental-ui/partials/nav-tree.hbs
diff --git a/doc/antora.yml b/doc/antora.yml
index 07e646cec..0d5ac2fb9 100644
--- a/doc/antora.yml
+++ b/doc/antora.yml
@@ -6,5 +6,8 @@ asciidoc:
attributes:
source-language: cpp@
table-caption: false
+ # Right-rail floating TOC. Set here (not in the playbook) so it travels
+ # with the component under any deploy playbook, not just the local build.
+ page-toc: ''
nav:
- modules/ROOT/nav.adoc
diff --git a/doc/playbook.yml b/doc/playbook.yml
index 2b8a0720e..32472c5cc 100644
--- a/doc/playbook.yml
+++ b/doc/playbook.yml
@@ -20,11 +20,8 @@ content:
asciidoc:
attributes:
source-highlighter: highlight.js
- # Enable the cppalliance theme's right-rail floating TOC on every page.
- page-toc: ''
ui:
bundle:
- url: https://github.com/boostorg/website-v2-docs/releases/download/ui-master/ui-bundle.zip
+ url: https://github.com/boostorg/unordered-ui-bundle/raw/c80db72a7ba804256beb36e3a46d9c7df265d8d7/ui-bundle.zip
snapshot: true
- supplemental_files: ./supplemental-ui
diff --git a/doc/supplemental-ui/partials/header-content.hbs b/doc/supplemental-ui/partials/header-content.hbs
deleted file mode 100644
index 1dfadfc3f..000000000
--- a/doc/supplemental-ui/partials/header-content.hbs
+++ /dev/null
@@ -1,44 +0,0 @@
-{{!--
- Overrides the cppalliance bundle's header-content partial.
-
- Adds a site-wide banner above the existing nav-bearing #header div, linking
- to the previous (pre-rewrite) Boost.Graph documentation. The original
- partial body is preserved verbatim below.
---}}
-
-
-
-
-
-
diff --git a/doc/supplemental-ui/partials/nav-tree.hbs b/doc/supplemental-ui/partials/nav-tree.hbs
deleted file mode 100644
index 1602217fb..000000000
--- a/doc/supplemental-ui/partials/nav-tree.hbs
+++ /dev/null
@@ -1,89 +0,0 @@
-{{!--
- Overrides the cppalliance bundle's nav-tree partial.
-
- Fixes vs upstream:
- 1. Nests the recursive call inside the parent , so child s
- are true descendants of their parent item.
- 2. Adds `class="nav-item"` to each - , so the bundle's collapse rule
- (`.nav-item:not(.is-active) > .nav-list { display: none }`) applies.
- 3. Emits a `