Skip to content

Commit

Permalink
Attempting to get clickable cross-references to within-module depende…
Browse files Browse the repository at this point in the history
…ncies
  • Loading branch information
asgersvenning committed Jun 7, 2024
1 parent a3de4b9 commit 741b6ac
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
]
napoleon_google_docstring = True
napoleon_numpy_docstring = False
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
'torch': ('https://pytorch.org/docs/stable/', None),
}

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
Expand All @@ -43,6 +39,12 @@
html_static_path = ['_static']
html_baseurl = '_build/html/'

intersphinx_mapping = {
'pyremotedata': ("https://asgersvenning.github.io/pyremotedata/" + html_baseurl, None),
'python': ('https://docs.python.org/3', None),
'torch': ('https://pytorch.org/docs/stable/', None),
}

### Custom code to remove custom Sphinx comments from docstrings

import re
Expand Down

0 comments on commit 741b6ac

Please sign in to comment.