如何超链接 Sphinx 中 Python 模块的方法?
在使用 Sphinx 编写文档时,我知道我可以使用 Intersphinx:
:py:class:`logging.Logger`
但是如何直接链接到特定方法,例如 logging.Logger.warning()
?
While writing documentation using Sphinx, I know that I can link to a class by using Intersphinx:
:py:class:`logging.Logger`
But how do I link directly to a specific method, like logging.Logger.warning()
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需使用
Just use