docs: add sphinx-rtd-theme as dependency

This commit is contained in:
George Rawlinson 2020-11-20 07:51:09 +13:00
parent ee759011b3
commit 186d9d761a
Signed by: grawlinson
GPG key ID: E0959FEA8B550539
3 changed files with 21 additions and 2 deletions

View file

@ -141,7 +141,7 @@ def docs(session: Session) -> None:
session.run("rm", "-rf", output_dir, external=True) session.run("rm", "-rf", output_dir, external=True)
nox_poetry.install(session, nox_poetry.WHEEL) nox_poetry.install(session, nox_poetry.WHEEL)
nox_poetry.install(session, "sphinx", "sphinx-autobuild") nox_poetry.install(session, "sphinx", "sphinx-autobuild", "sphinx-rtd-theme")
session.cd("docs") session.cd("docs")
sphinx_args = [ sphinx_args = [
"-b", "-b",

20
poetry.lock generated
View file

@ -798,6 +798,20 @@ test = ["pytest", "pytest-cov"]
livereload = "*" livereload = "*"
sphinx = "*" sphinx = "*"
[[package]]
name = "sphinx-rtd-theme"
version = "0.5.0"
description = "Read the Docs theme for Sphinx"
category = "dev"
optional = false
python-versions = "*"
[package.extras]
dev = ["transifex-client", "sphinxcontrib-httpdomain", "bump2version"]
[package.dependencies]
sphinx = "*"
[[package]] [[package]]
name = "sphinxcontrib-applehelp" name = "sphinxcontrib-applehelp"
version = "1.0.2" version = "1.0.2"
@ -972,7 +986,7 @@ testing = ["pytest (>=3.5,<3.7.3 || >3.7.3)", "pytest-checkdocs (>=1.2.3)", "pyt
[metadata] [metadata]
lock-version = "1.0" lock-version = "1.0"
python-versions = "^3.6.1" python-versions = "^3.6.1"
content-hash = "d42a9e4480b364cd2fcc929659360b991f7e69c575d6a5a1b73be71729b9c714" content-hash = "ab267246dee02c781accfe100d67fc3931792b537483bfa71d2aaa1f469353ad"
[metadata.files] [metadata.files]
alabaster = [ alabaster = [
@ -1365,6 +1379,10 @@ sphinx-autobuild = [
{file = "sphinx-autobuild-2020.9.1.tar.gz", hash = "sha256:4b184a7db893f2100bbd831991ae54ca89167a2b9ce68faea71eaa9e37716aed"}, {file = "sphinx-autobuild-2020.9.1.tar.gz", hash = "sha256:4b184a7db893f2100bbd831991ae54ca89167a2b9ce68faea71eaa9e37716aed"},
{file = "sphinx_autobuild-2020.9.1-py3-none-any.whl", hash = "sha256:df5c72cb8b8fc9b31279c4619780c4e95029be6de569ff60a8bb2e99d20f63dd"}, {file = "sphinx_autobuild-2020.9.1-py3-none-any.whl", hash = "sha256:df5c72cb8b8fc9b31279c4619780c4e95029be6de569ff60a8bb2e99d20f63dd"},
] ]
sphinx-rtd-theme = [
{file = "sphinx_rtd_theme-0.5.0-py2.py3-none-any.whl", hash = "sha256:373413d0f82425aaa28fb288009bf0d0964711d347763af2f1b65cafcb028c82"},
{file = "sphinx_rtd_theme-0.5.0.tar.gz", hash = "sha256:22c795ba2832a169ca301cd0a083f7a434e09c538c70beb42782c073651b707d"},
]
sphinxcontrib-applehelp = [ sphinxcontrib-applehelp = [
{file = "sphinxcontrib-applehelp-1.0.2.tar.gz", hash = "sha256:a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58"}, {file = "sphinxcontrib-applehelp-1.0.2.tar.gz", hash = "sha256:a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58"},
{file = "sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:806111e5e962be97c29ec4c1e7fe277bfd19e9652fb1a4392105b43e01af885a"}, {file = "sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:806111e5e962be97c29ec4c1e7fe277bfd19e9652fb1a4392105b43e01af885a"},

View file

@ -42,6 +42,7 @@ reorder-python-imports = "^2.3.5"
darglint = "^1.5.5" darglint = "^1.5.5"
sphinx = "^3.2.1" sphinx = "^3.2.1"
sphinx-autobuild = "^2020.9.1" sphinx-autobuild = "^2020.9.1"
sphinx-rtd-theme = "^0.5.0"
[tool.coverage.paths] [tool.coverage.paths]
source = ["src", "*/site-packages"] source = ["src", "*/site-packages"]