Replace docs/requirements.txt with docs extra
authorHarmon <Harmon758@gmail.com>
Fri, 28 Oct 2022 07:23:58 +0000 (02:23 -0500)
committerHarmon <Harmon758@gmail.com>
Fri, 28 Oct 2022 07:23:58 +0000 (02:23 -0500)
.readthedocs.yaml
docs/requirements.txt [deleted file]
setup.py

index 96e80081652069df1b0ab03c46e59456d62bf85f..4abad6082a0156460a782cc315be6f41cdc286a0 100644 (file)
@@ -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 (file)
index 83a7212..0000000
+++ /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
index 422c87377e538e69dde2813d5fc1d50efc75ac11..d32495723d1ad7b2c8831d6cd78629254fa28b07 100644 (file)
--- 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",