Skip to content

Commit

Permalink
Fix build in readthedocs
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <[email protected]>
  • Loading branch information
abompard committed Jun 13, 2024
1 parent ed2b2a6 commit 082ad3c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
2 changes: 2 additions & 0 deletions {{ cookiecutter.slug }}/.readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ python:
install:
- method: pip
path: .
extra_requirements:
- docs
21 changes: 12 additions & 9 deletions {{ cookiecutter.slug }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,18 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.9"
pydantic-settings = "^2.0.2"
{% if cookiecutter.with_sqlalchemy %}
{% if cookiecutter.with_sqlalchemy -%}
sqlalchemy-helpers = ">=0.12.1"
{% endif %}
{% if cookiecutter.with_cli %}
{%- endif %}
{% if cookiecutter.with_cli -%}
click = "^8.1.3"
{% endif %}
{% if cookiecutter.with_i18n %}
{%- endif %}
{% if cookiecutter.with_i18n -%}
Babel = "^2.10.0"
{% endif %}
{%- endif %}
sphinx = {version = ">=4.0", optional = true}
myst-parser = {version = ">=0.16", optional = true}
sphinxcontrib-napoleon = {version = "*", optional = true}

[tool.poetry.group.dev.dependencies]
pytest = ">=7.0.0"
Expand All @@ -55,11 +58,11 @@ black = ">=23.10.0"
ruff = ">=0.1.1"
coverage = {extras = ["toml"], version = ">=7.0.0"}
diff-cover = ">=8.0.0"
sphinx = ">=4.0"
myst-parser = ">=0.16"
liccheck = ">=0.6"
pre-commit = ">=2.13"
sphinxcontrib-napoleon = "*"

[tool.poetry.extras]
docs = ["sphinx", "myst-parser", "sphinxcontrib-napoleon"]

{% if cookiecutter.with_cli -%}
[tool.poetry.scripts]
Expand Down

0 comments on commit 082ad3c

Please sign in to comment.