Skip to content

Commit

Permalink
Merge pull request #770 from niccokunzmann/interspinx
Browse files Browse the repository at this point in the history
Add intersphinx
  • Loading branch information
niccokunzmann authored Jan 17, 2025
2 parents e1fbc3c + 7f6b6fe commit 2801ec7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Breaking changes:

New features:

- ...
- Python types in documentation now link to their documentation pages using ``intersphinx``.

Bug fixes:

Expand Down
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'sphinx_copybutton'
'sphinx_copybutton',
'sphinx.ext.intersphinx',
]
source_suffix = '.rst'
master_doc = 'index'
Expand All @@ -41,3 +42,7 @@
('index', 'icalendar', 'icalendar Documentation',
['Plone Foundation'], 1)
]

intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
}

0 comments on commit 2801ec7

Please sign in to comment.