Skip to content

Type 'bool' with x-ref is not correctly rendered #506

Closed Answered by pradyunsg
mscheltienne asked this question in Potential Issue
Discussion options

You must be logged in to vote

Any idea why bool got rendered differently?

That's likely something to do with how Sphinx resolved to bool reference. What exactly? No idea.

Using python -m sphinx.ext.intersphinx https://docs.python.org/3/objects.inv, I can see that this resolved within std:label:

        bltin-boolean-values                     Boolean Values                          : library/stdtypes.html#bltin-boolean-values

Why? No idea. There's a bool that links to the right page as well, with the right type of reference:

        bool                                     library/functions.html#bool

Why did it not link to that? no idea. Your best bet is to reach out to the authors of Sphinx (or the Sphinx extensi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mscheltienne
Comment options

Answer selected by pradyunsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants