Specifying targets for intersphinx links to numpy, scipy, and matplotlib

后端 未结 4 816
谎友^
谎友^ 2021-02-02 05:03

Following the documentation for setting up Sphinx documentation links between packages, I have added

intersphinx_mapping = {\'python\': (\'http://docs.python.or         


        
4条回答
  •  自闭症患者
    2021-02-02 05:42

    In case this is still an issue.. you need to leave out the slash at the end of the URL:

    intersphinx_mapping = {'python': ('http://docs.python.org/2', None),
                           'numpy': ('http://docs.scipy.org/doc/numpy', None),
                           'scipy': ('http://docs.scipy.org/doc/scipy/reference', None),
                           'matplotlib': ('http://matplotlib.sourceforge.net', None)}
    

提交回复
热议问题