Skip to content

Commit

Permalink
fix: docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
valentynbez committed Apr 29, 2024
1 parent 17d7087 commit c73ae69
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import re

import semantic_version
import sphinx_bootstrap_theme

import mDeepFRI

Expand Down Expand Up @@ -58,9 +59,20 @@ def setup(app):
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'myst_parser', 'sphinxawesome_theme', 'sphinx.ext.intersphinx',
'sphinx.ext.duration', 'sphinx.ext.doctest', 'sphinx.ext.autodoc',
'sphinxcontrib.bibtex'
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
# "sphinx.ext.imgconverter",
"sphinx.ext.napoleon",
"sphinx.ext.coverage",
"sphinx.ext.mathjax",
"sphinx.ext.todo",
"sphinx.ext.extlinks",
"sphinxcontrib.jquery",
"sphinx_bootstrap_theme",
"nbsphinx",
"recommonmark",
"IPython.sphinxext.ipython_console_highlighting",
]

bibtex_bibfiles = ['_static/references.bib']
Expand All @@ -80,6 +92,9 @@ def setup(app):
# https://bootswatch.com/
html_theme = "bootstrap"

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()

html_theme_options = {
# Bootswatch (http://bootswatch.com/) theme.
"bootswatch_theme":
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ ipython ~=7.19
pygments ~=2.4
nbsphinx ~=0.8
sphinxcontrib-jquery ~=4.1

# sphinx-bootstrap-theme ~=0.7 with patched admonition
https://github.com/althonos/sphinx-bootstrap-theme/archive/master.zip

0 comments on commit c73ae69

Please sign in to comment.