Skip to content

Commit

Permalink
Merge pull request #484 from strictdoc-project/bump-version
Browse files Browse the repository at this point in the history
docs: switch back to guzzle_sphinx_theme for better support by Read the Docs
  • Loading branch information
stanislaw authored Sep 5, 2021
2 parents 49884c4 + 02ac5bf commit 5e2def6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 24 deletions.
5 changes: 3 additions & 2 deletions docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_version():
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx_rtd_theme"]
extensions = ["guzzle_sphinx_theme"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -277,7 +277,8 @@ def get_version():
# a list of builtin themes.
#

html_theme = "sphinx_rtd_theme"
html_theme = "guzzle_sphinx_theme"
html_theme_path = guzzle_sphinx_theme.html_theme_path()

# 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
35 changes: 15 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ black = "20.8b1"
pylint = "2.6.0"
flake8 = "^3.9.2"
sphinx = '^3.2.1'
sphinx_rtd_theme = "^0.5.2"
guzzle_sphinx_theme = "^0.7.11"
html5lib = '1.1'
pytidylib = '0.3.2'
lxml = '^4.6.2'
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ docutils==0.16; (python_version >= "2.7" and python_full_version < "3.0.0") or (
et-xmlfile==1.1.0; python_version >= "3.6"
filecheck==0.0.18; python_version >= "3.5" and python_version < "4.0"
flake8==3.9.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
guzzle-sphinx-theme==0.7.11
html5lib==1.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
idna==3.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.5"
imagesize==1.2.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
Expand Down Expand Up @@ -49,7 +50,6 @@ requests==2.26.0; python_version >= "3.5" and python_full_version < "3.0.0" or p
six==1.16.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
snowballstemmer==2.1.0; python_version >= "3.5"
soupsieve==2.2.1; python_version >= "3.6"
sphinx-rtd-theme==0.5.2
sphinx==3.5.4; python_version >= "3.5"
sphinxcontrib-applehelp==1.0.2; python_version >= "3.5"
sphinxcontrib-devhelp==1.0.2; python_version >= "3.5"
Expand Down

0 comments on commit 5e2def6

Please sign in to comment.