|
23 | 23 |
|
24 | 24 | extensions = [ |
25 | 25 | "sphinx.ext.autodoc", # include docs from docstrings |
| 26 | + "sphinx.ext.intersphinx", # link to other projects' documentation such as neo4j driver or pyArrow |
26 | 27 | "enum_tools.autoenum", # specialised autoclass for enums |
27 | 28 | "sphinx.ext.napoleon", # Support for NumPy and Google style docstrings |
28 | 29 | "sphinxcontrib.autodoc_pydantic", # Support for Pydantic models |
@@ -60,6 +61,17 @@ def setup(app): # type: ignore |
60 | 61 | app.add_js_file("js/deprecated.js", loading_method="defer") |
61 | 62 |
|
62 | 63 |
|
| 64 | +intersphinx_mapping = { |
| 65 | + "python": ("https://docs.python.org/3", None), |
| 66 | + "neo4j": ("https://neo4j.com/docs/api/python-driver/current/", None), |
| 67 | + "dateutil": ("https://dateutil.readthedocs.io/en/stable/", None), |
| 68 | + "numpy": ("https://numpy.org/doc/stable/", None), |
| 69 | + "pandas": ("https://pandas.pydata.org/docs/", None), |
| 70 | + "pyarrow": ("https://arrow.apache.org/docs/", None), |
| 71 | + "networkx": ("https://networkx.org/documentation/stable/", None), |
| 72 | + "nx": ("https://networkx.org/documentation/stable/", None), |
| 73 | +} |
| 74 | + |
63 | 75 | rst_epilog = """ |
64 | 76 | .. |api-version| replace:: {versionnum} |
65 | 77 | """.format( |
|
0 commit comments