Skip to content

Commit 62a96ce

Browse files
committed
fix docs
1 parent 7610033 commit 62a96ce

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@
1212
# All configuration values have a default; values that are commented out
1313
# serve to show the default.
1414
from datetime import date
15+
import os
16+
import sys
17+
1518
from docutils.parsers.rst import directives
1619
from sphinx.directives.code import CodeBlock
1720

1821
directives.register_directive('no-code-block', CodeBlock)
1922

23+
sys.path.insert(0, os.path.abspath("."))
24+
sys.path.insert(0, os.path.abspath("../"))
25+
2026
# -- General configuration ------------------------------------------------
2127

2228
# Add any Sphinx extension module names here, as strings. They can be
@@ -26,7 +32,7 @@
2632
'sphinx.ext.autodoc',
2733
'sphinx.ext.viewcode',
2834
'sphinx.ext.mathjax',
29-
#'sphinx.ext.mathbase',
35+
# 'sphinx.ext.mathbase',
3036
]
3137

3238
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)