Skip to content

Commit 6dbe59f

Browse files
Add Intersphinx and test link
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 7229d3e commit 6dbe59f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@
3636
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3737
# ones.
3838
extensions = [
39+
'sphinx.ext.intersphinx'
3940
]
4041

42+
# Temporary Mapping, Once scancode-toolkit.readthedocs.io has the migrated docs, this can be changed to the same.
43+
intersphinx_mapping = {'scancode-toolkit': ('https://sphinx-test-ayan.readthedocs.io/en/scancode-toolkit/', None)}
44+
4145
# Add any paths that contain templates here, relative to this directory.
4246
templates_path = ['_templates']
4347

docs/source/doc_maintenance.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ examples::
102102
The AboutCode webhook with ReadTheDocs should rebuild the documentation. You can review your
103103
results online.
104104

105+
.. _doc_style_guide:
106+
105107
Documentation Style Guides
106108
--------------------------
107109

108110
The ``scancode-toolkit`` documentation is compliant to our doc style standards, enforced using
109-
``doc8``. For more details refer :ref:`contrib_doc_dev`.
111+
``doc8``. For more details refer :ref:`scancode-toolkit:contrib_doc_dev`.

0 commit comments

Comments
 (0)