Skip to content

Commit

Permalink
downgrade sphinx version
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgayoso committed Feb 13, 2022
1 parent 5cd507e commit 3b74bea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

# If your documentation needs a minimal Sphinx version, state it here.
#
needs_sphinx = "4.3" # Nicer param docs

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
Expand Down Expand Up @@ -217,9 +216,9 @@
}


def setup(app):
# https://github.com/pradyunsg/furo/issues/49
app.config.pygments_style = "default"
app.config.pygments_dark_style = "native"
app.add_stylesheet("css/override.css")
app.add_stylesheet("css/sphinx_gallery.css")
# def setup(app):
# # https://github.com/pradyunsg/furo/issues/49
# app.config.pygments_style = "default"
# app.config.pygments_dark_style = "native"
# app.add_stylesheet("css/override.css")
# app.add_stylesheet("css/sphinx_gallery.css")
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ scanpydoc = {version = ">=0.5", optional = true}
scikit-learn = ">=0.21.2"
scikit-misc = {version = ">=0.1.3", optional = true}
setuptools = "<=59.5.0"
sphinx = {version = ">=4.1", optional = true}
sphinx = {version = ">=3.0,<4.0", optional = true}
sphinx-autodoc-typehints = {version = "*", optional = true}
sphinx-gallery = {version = ">0.6", optional = true}
sphinx-panels = {version = "*", optional = true}
Expand Down

0 comments on commit 3b74bea

Please sign in to comment.