summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/autodoc_intenum.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-09-14 23:39:47 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-09-14 23:59:47 +0900
commited227d7d3c1e9d386b58bacfd7d379fff380db4a (patch)
tree88518d3194e885d9fd5f494ffbbe6a534b360fbc /doc/development/tutorials/examples/autodoc_intenum.py
parentba2439a105e5a68a44dd3f839e86332889cce451 (diff)
downloadsphinx-git-ed227d7d3c1e9d386b58bacfd7d379fff380db4a.tar.gz
Fix #9630: autodoc: Failed to build xrefs if primary_domain is not 'py'
Autodoc generates reST code that uses raw `:obj:` and `:class:` xrefs to refer the classes and types. But they're fragile because they assume the primary_domain=='py'. This adds `:py:` prefix to these xrefs to make them robust.
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
0 files changed, 0 insertions, 0 deletions