diff --git a/docs/requirements.txt b/docs/requirements.txt index a1622d4f..6ca2a647 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,10 +1,11 @@ -sphinx==4.3 +sphinx>=5.0 ipykernel ipywidgets IProgress autodocsumm sphinxcontrib.bibtex -sphinx-book-theme +pydata-sphinx-theme>=0.13.3 +sphinx-book-theme>=1.0.1 sphinx_design sphinx_copybutton myst_nb \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 31b381f1..2529c17f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -20,7 +20,7 @@ # -- Project information ----------------------------------------------------- project = 'udkm1Dsim' -copyright = '2022, Daniel Schick' +copyright = '2024, Daniel Schick' author = 'Daniel Schick' # The short X.Y version @@ -33,7 +33,7 @@ # If your documentation needs a minimal Sphinx version, state it here. # -needs_sphinx = '4.3' +needs_sphinx = '5.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom @@ -49,6 +49,7 @@ 'sphinx.ext.viewcode', 'sphinx_copybutton', 'sphinx_design', + 'sphinx-book-theme', ] # Add any paths that contain templates here, relative to this directory. @@ -71,7 +72,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = 'en' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -124,6 +125,8 @@ 'navigation_depth': 5, 'collapse_navigation': False, 'logo_only': True, + 'repository_url': 'https://github.com/dschick/udkm1Dsim', + 'use_repository_button': True, } html_logo = '_static/logo.png'