Add furo to docs group in pyproject.toml using uv

This commit is contained in:
Gurupratap Matharu
2026-08-25 20:14:43 +05:30
parent 37e2eeddd8
commit 80a1876e54
2 changed files with 14 additions and 14 deletions

View File

@@ -1,28 +1,26 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.11"
python: "3.14"
python:
install:
- method: uv
command: sync
groups:
- docs
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
fail_on_warning: true
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true
# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub
formats: all
# Optional but recommended, declare the Python requirements required
# to build your documentation

View File

@@ -79,6 +79,9 @@ all = [
]
[dependency-groups]
docs = [
"furo>=2025.12.19",
]
teams = [
"pinax-invitations>=8.0.0",
"pinax-teams>=3.0.0",
@@ -119,4 +122,3 @@ exclude = [".venv", "migrations", "docs", "src/helpdesk/static", "src/helpdesk/t
[project.scripts]
demodesk = "demodesk.manage:main"