Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link could not be jumpped to anchor while type named with _t #286

Open
jemyzhang opened this issue Aug 26, 2022 · 0 comments
Open

link could not be jumpped to anchor while type named with _t #286

jemyzhang opened this issue Aug 26, 2022 · 0 comments
Labels
help wanted Extra attention is needed Type: Bug Bug or Bug fixes Type: Markdown

Comments

@jemyzhang
Copy link

Summary

link could not be jumpped to anchor while type named with _t.
The link generated as -t, but in-page anchor generated as xxxxt.

  • HonKit version: 3.7.5

Step to reproduce

convert doxygen to honkit with doxybook2

doxygen Doxyfile
cd honkit
mkdir output
cp README.md output
./doxybook2 -i ../xml -o output -c config.json --summary-input SUMMARY.md.tmpl --summary-output output/SUMMARY.md
10070  npx honkit build --log=debug

Expected results

LINK: <a href="namespaceXXX_1_1A.html#enum-capabilities-t">capabilities_t</a>
ANCHOR: <h3 id="enum-capabilities-t">enum capabilities_t</h3>

Actual results

LINK: <a href="namespaceXXX_1_1A.html#enum-capabilities-t">capabilities_t</a>
ANCHOR: <h3 id="enum-capabilitiest">enum capabilities_t</h3>
debug: readme found at README.md 
debug: summary file found at SUMMARY.md 
debug: cleanup folder "/home/jemyzhang/workspace/github/test/honkit/output/_book" 
(node:657565) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
info: 5 plugins are installed 
info: 5 explicitly listed 
info: plugin "highlight" is loaded
info: plugin "search" is loaded
info: plugin "lunr" is loaded
info: plugin "fontsettings" is loaded
info: plugin "theme-default" is loaded
info: found 7 pages 
info: found 0 asset files 
debug: calling hook "config" 
debug: calling hook "init" 
debug: copy assets from theme /home/jemyzhang/.npm/_npx/8ad405cc3f853826/node_modules/@honkit/honkit-plugin-theme-default/_assets/website 
debug: copy resources from plugin /home/jemyzhang/.npm/_npx/8ad405cc3f853826/node_modules/gitbook-plugin-fontsettings/assets 
debug: copy resources from plugin /home/jemyzhang/.npm/_npx/8ad405cc3f853826/node_modules/gitbook-plugin-lunr/assets 
debug: copy resources from plugin /home/jemyzhang/.npm/_npx/8ad405cc3f853826/node_modules/gitbook-plugin-search/assets 
debug: copy resources from plugin /home/jemyzhang/.npm/_npx/8ad405cc3f853826/node_modules/@honkit/honkit-plugin-highlight/css 
debug: calling hook "page:before" 
debug: calling hook "page:before" 
debug: calling hook "page:before" 
debug: calling hook "page:before" 
debug: calling hook "page:before" 
debug: calling hook "page:before" 
debug: calling hook "page:before" 
debug: calling hook "page" 
debug: calling hook "page" 
debug: calling hook "page" 
debug: calling hook "page" 
debug: calling hook "page" 
debug: calling hook "page" 
debug: calling hook "page" 
debug: index page README.md 
debug: index page Classes/README.md 
debug: index page Namespaces/README.md 
debug: index page Namespaces/namespaceXXX.md 
debug: index page Namespaces/namespaceXXX_1_1A.md 
debug: index page Files/README.md 
debug: index page Files/test_8h.md 
debug: calling hook "finish:before" 
debug: calling hook "finish" 
debug: write search index 
info: >> generation finished with success in 0.5s ! 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Type: Bug Bug or Bug fixes Type: Markdown
Projects
None yet
Development

No branches or pull requests

2 participants