Python 未检测到常数值

Python constant values not detected

我正在尝试使用 sphinx 交叉引用和 intersphinx 来记录我的代码。我可以很容易地建立到其他文档的超链接,但 Python 应该包含在核心中,并且未检测到其常量值(TrueFalseNone)。

我导入了 interspinx,我的映射中有这个

intersphinx_mapping = {
    "python": ("https://docs.python.org/3.6", None),
    "discord": ("https://discordpy.readthedocs.io/en/rewrite/", None),
}

我可以通过这样做来引用 discord

:class:`discord.Guild

我也可以参考 Python 文档,就像那样

:py:class:`str`

但是,如果我尝试引用 TrueFalse,它不起作用。我正在做这个

:py:const:`True`

但是文本不是超链接...

其中任何一个都会呈现 link。

:py:obj:`True`

:any:`True`