Skip to content

doc: remove files left over from pre-Antora doc builds - #88

Merged
jll63 merged 1 commit into
boostorg:developfrom
jll63:fix/remove-doc-cruft
Aug 21, 2026
Merged

doc: remove files left over from pre-Antora doc builds#88
jll63 merged 1 commit into
boostorg:developfrom
jll63:fix/remove-doc-cruft

Conversation

@jll63

@jll63 jll63 commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

The doc directory still carried the hand-written reference pages and the Asciidoctor assets from the toolchains that preceded Antora and MrDocs. Antora reads only doc/antora.yml and doc/modules, so none of it was reachable from the build.

Removed

  • 29 top-level *.adoc reference pages, superseded by the MrDocs-generated reference and the pages under doc/modules/ROOT/pages.
  • docinfo.html and the zajo-{light,dark}.css it pulls in, copied from Boost.LEAF — the meta description still advertised "Lightweight Error Augmentation Framework" — plus rouge-github.css. Antora supplies its own styling and does not read docinfo files.
  • gentags.sh and doc/tagfiles. The antora-cpp-tagfiles extension loads tagfiles named in ext.cpp-tagfiles.files, which antora.yml does not set, plus the cppreference tagfile it now bundles itself. gentags.sh wrote to a file name that was not even present in tagfiles.
  • openmethod-theme.yml, an asciidoctor-pdf theme with no PDF build left, and the unreferenced skin.png and open.png.

Also removed two orphan pages under doc/modules/ROOT/pages. These were in the nav of no page, but Antora publishes pages regardless, so both did render:

  • error_processing.adoc — empty file, empty article body
  • virtual_parameter.adoc — a stub titled "Macros" whose body showed unconverted Doxygen @ref markup as literal text

Kept

library-detail.adoc, which is not in the Antora nav but is the Boost website's library page (Boost.JSON has one at the same path), and doc/modules/ROOT/images.

Verification

doc/build_antora.sh was run on this branch before and after the deletions and the two site trees compared with diff -rq. Both builds exit 0 with the same six pre-existing warnings. The only differences are the two orphan pages:

Only in html-before/openmethod: error_processing.html
Only in html-before/openmethod: virtual_parameter.html
Files html-before/search-index.js and html/search-index.js differ
Files html-before/sitemap.xml and html/sitemap.xml differ

Every other output file is byte-identical. The sitemap loses exactly those two <loc> entries; the search index goes from 374 to 372 titles. So the 29 .adoc files and the ten assets had no effect at all on the rendered site.

🤖 Generated with Claude Code

@cppalliance-bot

cppalliance-bot commented Aug 16, 2026

Copy link
Copy Markdown

An automated preview of the documentation is available at https://88.openmethod.prtest3.cppalliance.org/libs/openmethod/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-08-19 23:35:46 UTC

The doc directory still carried the hand-written reference pages and the
Asciidoctor assets from the toolchains that preceded Antora and MrDocs.
Antora reads only doc/antora.yml and doc/modules, so none of it was
reachable from the build; a full build before and after these deletions
produces byte-identical output except as noted below.

Removed:

- 29 top-level *.adoc reference pages, superseded by the MrDocs-generated
  reference and the pages under doc/modules/ROOT/pages.

- docinfo.html and the zajo-{light,dark}.css it pulls in, copied from
  Boost.LEAF (the meta description still advertised "Lightweight Error
  Augmentation Framework"), plus rouge-github.css. Antora supplies its own
  styling and does not read docinfo files.

- gentags.sh and doc/tagfiles. The antora-cpp-tagfiles extension loads
  tagfiles named in ext.cpp-tagfiles.files, which antora.yml does not set,
  plus the cppreference tagfile it now bundles itself; gentags.sh wrote to
  a file name that was not even present in tagfiles.

- openmethod-theme.yml, an asciidoctor-pdf theme with no PDF build left,
  and the unreferenced skin.png and open.png.

Also removed two orphan pages under doc/modules/ROOT/pages. These were in
the nav of no page but Antora publishes pages regardless, so both did
render: error_processing.adoc was empty, and virtual_parameter.adoc was a
stub titled "Macros" whose body showed unconverted Doxygen @ref markup as
literal text. Dropping them removes two URLs from the sitemap and two
entries from the search index.

Kept library-detail.adoc, which is not in the Antora nav but is the Boost
website's library page, and doc/modules/ROOT/images.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@jll63
jll63 force-pushed the fix/remove-doc-cruft branch from 9f07304 to ee34c19 Compare August 19, 2026 23:29
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.31%. Comparing base (a4b84b0) to head (ee34c19).
⚠️ Report is 10 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #88   +/-   ##
========================================
  Coverage    94.31%   94.31%           
========================================
  Files           88       88           
  Lines         3325     3325           
  Branches      1579     1579           
========================================
  Hits          3136     3136           
  Misses         158      158           
  Partials        31       31           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44d0d61...ee34c19. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jll63
jll63 merged commit ee34c19 into boostorg:develop Aug 21, 2026
54 checks passed
@jll63
jll63 deleted the fix/remove-doc-cruft branch August 22, 2026 17:52
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.

2 participants