1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
import os
srcdir = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'examples',
'default',
)
# srcdir with ``autosectionlabel_prefix_document = True`` config
prefixdocumentsrcdir = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'examples',
'prefixdocument',
)
# srcdir with ``Sphinx.add_object_type`` call
customobjectsrcdir = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'examples',
'custom-object',
)
# srcdir with ``:py:class:`` call
pythondomainsrcdir = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'examples',
'python-domain',
)
# srcdir with ``:cite:`` call
bibtexdomainsrcdir = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'examples',
'bibtex-domain',
)
# srcdir with intersphinx configured
intersphinxsrc = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'examples',
'intersphinx',
)
|