Skip to content

Commit 3187b34

Browse files
Add Intersphinx and test link
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 4502055 commit 3187b34

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@
2828
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2929
# ones.
3030
extensions = [
31+
'sphinx.ext.intersphinx'
3132
]
3233

34+
# Temporary Mapping, Once aboutcode.readthedocs.io doesn't have the Scancode docs, this can be changed to the same.
35+
intersphinx_mapping = {'aboutcode': ('https://sphinx-test-ayan.readthedocs.io/en/aboutcode/', None)}
36+
3337
# Add any paths that contain templates here, relative to this directory.
3438
templates_path = ['_templates']
3539

docs/source/doc_maintenance.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ examples::
8787

8888
The ScanCode Toolkit webhook with ReadTheDocs should rebuild the documentation. You can review your
8989
results online.
90+
91+
.. Test Intersphinx Link
92+
93+
For more details on Documentation Style Guides refer :ref:`aboutcode:doc_style_guide`.

0 commit comments

Comments
 (0)