Skip to content

Commit d1ba1ba

Browse files
committed
make documentation
1 parent 98cfb45 commit d1ba1ba

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
# -- General configuration ---------------------------------------------------
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
1616

17+
# paths from conf.py
18+
sys.path.insert(0, os.path.abspath('../'))
19+
sys.path.insert(0, os.path.abspath('.'))
20+
1721
extensions = [ 'sphinx.ext.autodoc', # To generate autodocs
1822
'sphinx.ext.mathjax', # autodoc with maths
1923
'sphinx.ext.napoleon' # For auto-doc configuration
@@ -28,9 +32,9 @@
2832
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
2933

3034

31-
3235
# -- Options for HTML output -------------------------------------------------
3336
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
3437

35-
html_theme = 'alabaster'
38+
html_theme = 'sphinx_rtd_theme'
39+
#html_theme = 'alabaster'
3640
html_static_path = ['_static']

readthedocs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ sphinx:
3030
# Optional but recommended, declare the Python requirements required
3131
# to build your documentation
3232
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
33-
# python:
34-
# install:
35-
# - requirements: docs/requirements.txt
33+
python:
34+
install:
35+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)