From 5af8a05a841c02114e08d90455e9cd772a1980c3 Mon Sep 17 00:00:00 2001 From: Ralph Rassweiler Date: Mon, 3 Jun 2024 15:03:56 -0300 Subject: [PATCH] fix: sphinx version (#356) * fix: sphinx --- Makefile | 2 +- requirements.dev.txt | 6 +++--- setup.cfg | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ba0d0ead..3164f503 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ package: ## update Butterfree API docs update-docs: cd ./docs; rm -rf source/butterfree.* - cd ./docs; sphinx-apidoc -T -E -o source/ ../butterfree + cd ./docs; sphinx-apidoc -o source/ ../butterfree cd ./docs; make coverage .PHONY: docs diff --git a/requirements.dev.txt b/requirements.dev.txt index 89025669..bf4b4b2b 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -2,9 +2,9 @@ h3==3.7.7 jupyter==1.0.0 twine==3.1.1 mypy==1.10.0 -sphinx==3.5.4 -sphinxemoji==0.1.8 -sphinx-rtd-theme==0.5.2 +sphinx==6.2.1 +sphinxemoji==0.3.1 +sphinx-rtd-theme==1.3.0 recommonmark==0.7.1 pyarrow==16.1.0 setuptools==70.0.0 diff --git a/setup.cfg b/setup.cfg index 849d35cf..8206c6ae 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,3 +41,9 @@ disallow_any_generics = True disallow_untyped_defs = True check_untyped_defs = True disallow_untyped_calls = True + +[build_sphinx] +all-files = 1 +source-dir = docs/source +build-dir = docs/build +warning-is-error = 0