From d13150383ca3bce4d4d0b3ce4facfc77a4a88b6b Mon Sep 17 00:00:00 2001 From: uuazed Date: Sun, 10 May 2026 22:42:31 +0200 Subject: [PATCH] fix docs --- .readthedocs.yaml | 4 ++-- docs/conf.py | 2 +- docs/requirements.txt | 7 ++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 24f15fe..37b8d21 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,9 +7,9 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.10" + python: "3.12" jobs: pre_build: - sphinx-apidoc --separate --no-toc --force -o docs/api/ numerapi diff --git a/docs/conf.py b/docs/conf.py index 435550f..cfdd147 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,7 +42,7 @@ "sphinx.ext.viewcode", "sphinx.ext.napoleon", 'sphinx.ext.doctest', - 'm2r' + 'sphinx_mdinclude', ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/requirements.txt b/docs/requirements.txt index 142a838..6d11b4a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,6 @@ -m2r +sphinx-mdinclude +python-dateutil +tqdm +pandas +click +pytz