From 0ccfe86175d83ea89b20ff00ef6f420423fde347 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 28 Oct 2022 02:23:58 -0500 Subject: [PATCH] Replace docs/requirements.txt with docs extra --- .readthedocs.yaml | 2 +- docs/requirements.txt | 6 ------ setup.py | 10 +++++++++- 3 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 96e8008..4abad60 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -2,8 +2,8 @@ version: 2 python: install: - - requirements: docs/requirements.txt - method: pip path: . extra_requirements: - async + - docs diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 83a7212..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -myst-parser==0.15.2 -readthedocs-sphinx-search==0.1.1 -sphinx==4.2.0 -sphinx-hoverxref==0.7b1 -sphinx-tabs==3.2.0 -sphinx_rtd_theme==1.0.0 diff --git a/setup.py b/setup.py index 422c873..d324957 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,15 @@ setup( extras_require={ "async": [ "aiohttp>=3.7.3,<4", - "async-lru>=1.0.3,<2" + "async-lru>=1.0.3,<2", + ], + "docs": [ + "myst-parser==0.15.2", + "readthedocs-sphinx-search==0.1.1", + "sphinx==4.2.0", + "sphinx-hoverxref==0.7b1", + "sphinx-tabs==3.2.0", + "sphinx_rtd_theme==1.0.0", ], "dev": [ "coverage>=4.4.2", -- 2.25.1