Skip to content

Stabilize Doxygen page anchor IDs across build paths - #1400

Merged
frankslin merged 1 commit into
BYVoid:masterfrom
frankslin:fix-doxygen
Jul 5, 2026
Merged

frankslin merged 1 commit into
BYVoid:masterfrom
frankslin:fix-doxygen

Conversation

@frankslin

Copy link
Copy Markdown
Collaborator

Set STRIP_FROM_PATH/STRIP_FROM_INC_PATH to the source root so Markdown page anchor IDs (e.g. README) no longer embed the absolute build path, making the generated documentation reproducible regardless of where the source tree is built.

Fixes #649

Set STRIP_FROM_PATH/STRIP_FROM_INC_PATH to the source root so Markdown
page anchor IDs (e.g. README) no longer embed the absolute build path,
making the generated documentation reproducible regardless of where the
source tree is built.
@frankslin

Copy link
Copy Markdown
Collaborator Author

Confirmed: the generated HTML no longer contains an anchor ID derived from the absolute path of the file.

<div class="textblock"><p><a class="anchor" id="md__r_e_a_d_m_e"></a></p>

cc @atzlinux

@frankslin frankslin closed this Jul 5, 2026
@frankslin frankslin reopened this Jul 5, 2026
@frankslin
frankslin merged commit 8782903 into BYVoid:master Jul 5, 2026
65 of 66 checks passed
@frankslin
frankslin deleted the fix-doxygen branch July 5, 2026 07:08
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.

通过 doxygen 生成的 index.html 网页文件,有个 class="anchor" id= 记录编译时的当前路径

1 participant