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

Broken links in GitBook SUMMARY.md when chunk="to-content" #168

Open
infotexture opened this issue May 19, 2023 · 1 comment
Open

Broken links in GitBook SUMMARY.md when chunk="to-content" #168

infotexture opened this issue May 19, 2023 · 1 comment

Comments

@infotexture
Copy link
Collaborator

When generating GitBook output with --format=markdown_gitbook, the ToC contains broken links for topics that are chunked to content, like in the DITA-OT docs glossary submap.

See https://infotexture.github.io/ot-mkdocs-demo/reference/glossary/ for sample output.

For the corresponding summary file output, see https://github.com/infotexture/ot-mkdocs-demo/blob/master/docs/SUMMARY.md?plain=1#L209-L221.

The problem seems to be that the markdown_gitbook output creates extensionless filenames on disk with the ID attribute as part of the filename, like glossary.md#gloss-argument and others.

@infotexture
Copy link
Collaborator Author

See also #167.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant