Skip to content

Commit 12ffb12

Browse files
committed
Add intersphinx
Add sphinx extension for allowing internals documentation to refer to main Tarantool documentation. Resolves #6
1 parent 1a04f06 commit 12ffb12

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
# ones.
4141
extensions = [
4242
'recommonmark',
43+
'sphinx.ext.intersphinx',
4344
]
4445

4546
# Add any paths that contain templates here, relative to this directory.
@@ -160,5 +161,13 @@
160161
'Miscellaneous'),
161162
]
162163

164+
# -- Mapping for Intersphinx -------------------------------------------------
165+
166+
intersphinx_mapping = {
167+
'community': (
168+
"https://www.tarantool.io/en/doc/latest",
169+
"community.inv"
170+
)
171+
}
163172

164173
# -- Extension configuration -------------------------------------------------

0 commit comments

Comments
 (0)