Skip to content

Commit

Permalink
Replace docs extra by docs dependency group from PEP 735 (#5493)
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke authored Oct 31, 2024
1 parent 4c95392 commit 6b8d4dc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv sync --extra docs --no-dev --frozen
- uv sync --only-group docs --frozen
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html

# Build documentation in the docs/ directory with Sphinx
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ dependencies = [
"tox==4.21.2",
"tox-uv>=1.11.2",
]
optional-dependencies.docs = [
urls = { Repository = "https://github.com/cookiecutter/cookiecutter-django" }

[dependency-groups]
docs = [
"myst-parser>=4",
"sphinx>=8.0.2",
"sphinx-autobuild>=2024.10.3",
"sphinx-rtd-theme>=3",
]
urls = { Repository = "https://github.com/cookiecutter/cookiecutter-django" }

[tool.black]
line-length = 119
Expand Down
61 changes: 11 additions & 50 deletions uv.lock

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

0 comments on commit 6b8d4dc

Please sign in to comment.