From 47aa316c36307ec891e41d34c1d4db91cca7b433 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 11 Feb 2024 23:33:50 +0200 Subject: [PATCH] different variant --- .readthedocs.yaml | 10 ++++++++-- docs/requirements.txt | 1 - pyproject.toml | 3 +++ 3 files changed, 11 insertions(+), 3 deletions(-) delete mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a1942ca..a9bfb87 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,5 +9,11 @@ sphinx: configuration: docs/conf.py python: install: - - requirements: docs/requirements.txt - \ No newline at end of file + - method: pip + path: . + extra_requirements: + - webpush + - blurhash + - test + - docs + \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index fbb128e..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -sphinx-rtd-theme diff --git a/pyproject.toml b/pyproject.toml index 4d40950..bf3e1a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,9 @@ test_old = [ 'requests-mock', 'pytz', ] +docs = [ + 'sphinx-rtd-theme', +] [project.urls] Repository="https://github.com/halcy/Mastodon.py"