Sphinx c++ documentation : having working links in code-blocks
问题 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