Skip to content

Commit 5ca87bb

Browse files
committed
chore: Try fix doc build
1 parent 6b2a053 commit 5ca87bb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,11 @@
134134
intersphinx_mapping['sphinx'] = ('https://www.sphinx-doc.org/en/master', None)
135135
intersphinx_mapping['data'] = ('https://sphinx.silverrainz.me/data', None)
136136

137+
ctxdir_usage_example_path = os.path.abspath('../tests/roots/test-ctxdir-usage')
138+
137139
def setup(app):
138140
app.add_object_type('event', 'event') # for intersphinx
139141

140-
sys.path.insert(0, os.path.abspath('../tests/roots/test-ctxdir-usage'))
142+
sys.path.insert(0, ctxdir_usage_example_path)
141143
from conf import setup as setup_ctxdir_usage_example
142144
setup_ctxdir_usage_example(app)

0 commit comments

Comments
 (0)