fix: docs deps not needed for production (#9)

This commit is contained in:
J. Nick Koston 2022-09-09 10:46:57 -05:00 committed by GitHub
parent 917e85b366
commit 01f8ce77b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 12 deletions

35
poetry.lock generated
View File

@ -33,7 +33,7 @@ pytz = ">=2015.7"
[[package]]
name = "certifi"
version = "2022.6.15"
version = "2022.6.15.1"
description = "Python package for providing Mozilla's CA Bundle."
category = "main"
optional = false
@ -140,7 +140,7 @@ name = "markdown-it-py"
version = "2.1.0"
description = "Python port of markdown-it. Markdown parsing, done right!"
category = "main"
optional = true
optional = false
python-versions = ">=3.7"
[package.dependencies]
@ -170,7 +170,7 @@ name = "mdit-py-plugins"
version = "0.3.0"
description = "Collection of plugins for markdown-it-py"
category = "main"
optional = true
optional = false
python-versions = "~=3.6"
[package.dependencies]
@ -186,7 +186,7 @@ name = "mdurl"
version = "0.1.2"
description = "Markdown URL utilities"
category = "main"
optional = true
optional = false
python-versions = ">=3.7"
[[package]]
@ -194,7 +194,7 @@ name = "myst-parser"
version = "0.18.0"
description = "An extended commonmark compliant parser, with bridges to docutils & sphinx."
category = "main"
optional = true
optional = false
python-versions = ">=3.7"
[package.dependencies]
@ -332,7 +332,7 @@ name = "pyyaml"
version = "6.0"
description = "YAML parser and emitter for Python"
category = "main"
optional = true
optional = false
python-versions = ">=3.6"
[[package]]
@ -387,6 +387,7 @@ sphinxcontrib-htmlhelp = ">=2.0.0"
sphinxcontrib-jsmath = "*"
sphinxcontrib-qthelp = "*"
sphinxcontrib-serializinghtml = ">=1.1.5"
sphinxcontrib-websupport = {version = "*", optional = true, markers = "extra == \"docs\""}
[package.extras]
docs = ["sphinxcontrib-websupport"]
@ -398,7 +399,7 @@ name = "sphinx-rtd-theme"
version = "1.0.0"
description = "Read the Docs theme for Sphinx"
category = "main"
optional = true
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
[package.dependencies]
@ -498,6 +499,21 @@ python-versions = ">=3.5"
test = ["pytest"]
lint = ["docutils-stubs", "mypy", "flake8"]
[[package]]
name = "sphinxcontrib-websupport"
version = "1.2.4"
description = "Sphinx API for Web Apps"
category = "main"
optional = false
python-versions = ">=3.5"
[package.dependencies]
sphinxcontrib-serializinghtml = "*"
[package.extras]
lint = ["flake8"]
test = ["pytest", "sqlalchemy", "whoosh", "sphinx"]
[[package]]
name = "tomli"
version = "2.0.1"
@ -540,12 +556,12 @@ docs = ["sphinx", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "jaraco.tideli
testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.3)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)"]
[extras]
docs = ["myst-parser", "Sphinx", "sphinx-rtd-theme"]
docs = ["myst-parser", "Sphinx", "sphinx-rtd-theme", "sphinxcontrib-asyncio", "sphinxcontrib-fulltoc"]
[metadata]
lock-version = "1.1"
python-versions = "^3.7"
content-hash = "f9a6aeaf025bd741406592d8673893f1a249d4d604e76f6c83cfcf295c0b304f"
content-hash = "1adc0d81bd9554d11b8ea46d27085c44a9ca985358da6243f019dcf5645b5d04"
[metadata.files]
alabaster = []
@ -588,6 +604,7 @@ sphinxcontrib-htmlhelp = []
sphinxcontrib-jsmath = []
sphinxcontrib-qthelp = []
sphinxcontrib-serializinghtml = []
sphinxcontrib-websupport = []
tomli = []
typing-extensions = []
urllib3 = []

View File

@ -26,17 +26,19 @@ packages = [
python = "^3.7"
# Documentation Dependencies
Sphinx = {version = "^5.0", optional = true}
sphinx-rtd-theme = {version = "^1.0", optional = true}
myst-parser = {version = "^0.18", optional = true}
sphinxcontrib-asyncio = {version = "^0.3.0", extras = ["docs"]}
sphinxcontrib-fulltoc = {version = "^1.2.0", extras = ["docs"]}
Sphinx = {version = "^5.1.1", extras = ["docs"]}
myst-parser = {version = "^0.18.0", extras = ["docs"]}
sphinx-rtd-theme = {version = "^1.0.0", extras = ["docs"]}
[tool.poetry.extras]
docs = [
"myst-parser",
"sphinx",
"sphinx-rtd-theme",
"sphinxcontrib-asyncio",
"sphinxcontrib-fulltoc"
]
[tool.poetry.dev-dependencies]