diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 419adaa..f589101 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -29,7 +29,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest sphinx sphinx-rtd-theme + pip install flake8 pytest pip install -r requirements.txt pip install build - name: Lint with flake8 diff --git a/docs/conf.py b/docs/conf.py index 5b99d4e..85c387b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,7 +30,7 @@ # 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.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.autodoc'] +extensions = ['sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.autodoc', 'sphinx_rtd_theme'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/requirements.txt b/requirements.txt index 75baef3..f6aa974 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ PyYAML six tzdata sphinx -sphinx-rtd-theme +sphinx_rtd_theme -e . \ No newline at end of file diff --git a/requirements_dev.txt b/requirements_dev.txt index 0aeac65..2ebffcc 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -6,7 +6,7 @@ PyYAML six tzdata sphinx -sphinx-rtd-theme +sphinx_rtd_theme # dev requirements - pytest diff --git a/setup.cfg b/setup.cfg index 572d22d..09fbd69 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,7 +18,7 @@ install_requires = six tzdata sphinx - sphinx-rtd-theme + sphinx_rtd_theme python_requires = >=3.8 [options.extras_require]