Skip to content

Commit

Permalink
docs: fixed error in doc config
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPic committed Aug 12, 2024
1 parent cb6f64e commit 517c532
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@
'sphinx.ext.extlinks',
'sphinx.ext.napoleon', # numpy/google docstrings
'nbsphinx', # jupyter notebook
'recommonmark' # markdown
# 'recommonmark', # markdown old
'myst_parser', # markdown new
'sphinx.ext.duration',
'sphinx_codeautolink', # automatic links from code to documentation # https://sphinx-codeautolink.readthedocs.io/en/latest/index.html
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -108,7 +111,7 @@
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {'sidebarwidth': 350}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
2 changes: 2 additions & 0 deletions documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Welcome to Intensity Duration Frequency Analyse's documentation!
base_functions
examples/example_commandline
examples/example_python_api
examples/example_heavy_rainfall_index
examples/example_python_api_extended


Indices and tables
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
docs = ["sphinx", "nbsphinx", "recommonmark", "pydata_sphinx_theme", "ipython==8.5.0"]
docs = ["sphinx", "nbsphinx", "recommonmark", "myst-parser", "pydata_sphinx_theme", "ipython==8.5.0", 'sphinx-codeautolink']

[project.urls]
Documentation = "https://markuspic.github.io/intensity_duration_frequency_analysis/"
Expand Down

0 comments on commit 517c532

Please sign in to comment.