From 3dd685b9b4c00dfd37c9e8332b4224cddb253898 Mon Sep 17 00:00:00 2001 From: ades Date: Tue, 16 Nov 2021 00:02:51 +0100 Subject: [PATCH] Deprecate docs/requirements.txt --- .readthedocs.yml | 18 ++++++++++-------- docs/requirements.txt | 4 ---- setup.cfg | 7 ++++++- 3 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 docs/requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml index 47d1b0c1..3929f5f7 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,8 +1,10 @@ -build: - image: latest - -python: - version: 3.8 - setup_py_install: true - install: - - requirements: docs/requirements.txt +build: + image: latest + +python: + version: 3.8 + install: + - method: pip + path: . + extra_requirements: + - docs diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 0dddbb45..00000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -Sphinx==2.2.0 -sphinx-rtd-theme==0.4.3 -sphinxcontrib-napoleon==0.7 -doc8 diff --git a/setup.cfg b/setup.cfg index f05a9206..daf4b53c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,7 +40,7 @@ include = moderngl_window.* [options.extras_require] -pdf = ReportLab>=1.2; RXP +pdf = ReportLab>=1.2 PySide2 = PySide2<6 pyqt5 = PyQt5 glfw = glfw @@ -58,3 +58,8 @@ tests = pywavefront trimesh scipy +docs = + Sphinx + sphinx-rtd-theme + sphinxcontrib-napoleon + doc8