-
Notifications
You must be signed in to change notification settings - Fork 2k
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
heading with :manpage: role results in failed build #11673
Comments
I don't know who's the maintainer for the manpage so I don't know if there was anything new since 5.x. Can you test with the latest Sphinx version? Also, can you do it without third-party extensions? w |
The bug still persists. Because you have added the
Environment Information
Additional informationI pushed a new commit to the repository (https://github.com/dviererbe/sphinx-manpage-heading-bug) that contains the changes (removed dependencies) I tested with. Because I removed Here is also the full traceback which may be useful Traceback
|
Thank you for the feedback! actually I think the EPUB builder inherits most of the components from the HTML builder but I haven't checked it exactly (by "builder" labels, we also incorporate the writer phase) I actually put the HTML builder because manpage_links are only supported in HTML outputs technically (but since EPUB uses HTML files, it also impacts the latter). I won't be able to dwell more into the code since I am travelling, but I'll check it upon my return (mid October). |
Take your time, it's a low priority bug ;) |
After investigation, it appears that the reason is because of some weird documents that are created during the writing phase. More precisely,
|
So, after #11825, it appears that my PR is no more needed. I'll close the issue for now since the tests I implemented seem to pass, but feel free to re-open if your specific issue still occurs. |
Describe the bug
When using
:manpage:
in a heading inreStructuredText
, the manpage properties for the node does not get parsed.How to Reproduce
I created a repository with a minimal example: https://github.com/dviererbe/sphinx-manpage-heading-bug.
Just run
make install && make run
.Environment Information
Sphinx extensions
No response
Additional context
Attaching a debugger showed that the manpage node attributes were not parsed:
The text was updated successfully, but these errors were encountered: