build: use group not extra for docs dependencies

This commit is contained in:
Enno Hermann 2024-11-06 10:06:20 +01:00
parent 45b8b5b3c3
commit ef8158d281
2 changed files with 10 additions and 12 deletions

View File

@ -147,9 +147,7 @@ The following extras allow the installation of optional dependencies:
| Name | Description |
|------|-------------|
| `all` | All optional dependencies, except `dev` and `docs` |
| `dev` | Development dependencies |
| `docs` | Dependencies for building the documentation |
| `all` | All optional dependencies |
| `notebooks` | Dependencies only used in notebooks |
| `server` | Dependencies to run the TTS server |
| `bn` | Bangla G2P |

View File

@ -77,15 +77,6 @@ dependencies = [
]
[project.optional-dependencies]
# Dependencies for building the documentation
docs = [
"furo>=2023.5.20",
"myst-parser==2.0.0",
"sphinx==7.2.5",
"sphinx_inline_tabs>=2023.4.21",
"sphinx_copybutton>=0.1",
"linkify-it-py>=2.0.0",
]
# Only used in notebooks
notebooks = [
"bokeh==1.4.0",
@ -136,6 +127,15 @@ dev = [
"pre-commit>=3",
"ruff==0.7.0",
]
# Dependencies for building the documentation
docs = [
"furo>=2023.5.20",
"myst-parser==2.0.0",
"sphinx==7.2.5",
"sphinx_inline_tabs>=2023.4.21",
"sphinx_copybutton>=0.1",
"linkify-it-py>=2.0.0",
]
[project.urls]
Homepage = "https://github.com/idiap/coqui-ai-TTS"