Sphinx c++ documentation : having working links in code-blocks

最后都变了- 提交于 2020-02-28 06:05:11

问题


I have written a Sphinx documentation for a C++ API. The class and function reference works fine, with clickable links.

However, if I write a code block with .. code-block:: cpp, nothing is recognized as documented class and functions, and they are not clickable.

Is code-block not interconnected at all with Sphinx C++ Domain? Is there any workaround?

Thanks!

来源:https://stackoverflow.com/questions/52645716/sphinx-c-documentation-having-working-links-in-code-blocks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!