diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-09-14 23:39:47 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-09-14 23:59:47 +0900 |
commit | ed227d7d3c1e9d386b58bacfd7d379fff380db4a (patch) | |
tree | 88518d3194e885d9fd5f494ffbbe6a534b360fbc /doc/development/tutorials/examples/autodoc_intenum.py | |
parent | ba2439a105e5a68a44dd3f839e86332889cce451 (diff) | |
download | sphinx-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