build(docs): update dependencies, fix makefile

This commit is contained in:
Enno Hermann 2024-12-11 23:26:21 +01:00
parent f329072df2
commit 236e4901d8
3 changed files with 9 additions and 9 deletions

View File

@ -59,9 +59,6 @@ lint: ## run linters.
system-deps: ## install linux system deps system-deps: ## install linux system deps
sudo apt-get install -y libsndfile1-dev sudo apt-get install -y libsndfile1-dev
build-docs: ## build the docs
cd docs && make clean && make build
install: ## install 🐸 TTS install: ## install 🐸 TTS
uv sync --all-extras uv sync --all-extras
@ -70,4 +67,4 @@ install_dev: ## install 🐸 TTS for development.
uv run pre-commit install uv run pre-commit install
docs: ## build the docs docs: ## build the docs
$(MAKE) -C docs clean && $(MAKE) -C docs html uv run --group docs $(MAKE) -C docs clean && uv run --group docs $(MAKE) -C docs html

View File

@ -52,6 +52,7 @@ extensions = [
"sphinx_inline_tabs", "sphinx_inline_tabs",
] ]
suppress_warnings = ["autosectionlabel.*"]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"] templates_path = ["_templates"]
@ -67,6 +68,8 @@ myst_enable_extensions = [
"linkify", "linkify",
] ]
myst_heading_anchors = 4
# 'sphinxcontrib.katex', # 'sphinxcontrib.katex',
# 'sphinx.ext.autosectionlabel', # 'sphinx.ext.autosectionlabel',

View File

@ -143,12 +143,12 @@ dev = [
] ]
# Dependencies for building the documentation # Dependencies for building the documentation
docs = [ docs = [
"furo>=2023.5.20", "furo>=2024.8.6",
"myst-parser==2.0.0", "myst-parser==3.0.1",
"sphinx==7.2.5", "sphinx==7.4.7",
"sphinx_inline_tabs>=2023.4.21", "sphinx_inline_tabs>=2023.4.21",
"sphinx_copybutton>=0.1", "sphinx_copybutton>=0.5.2",
"linkify-it-py>=2.0.0", "linkify-it-py>=2.0.3",
] ]
[project.urls] [project.urls]