diff --git a/docs/conf.py b/docs/conf.py index ce7536defbd..37a6f84864b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,7 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # from pathlib import Path -import regex as re +import re import shutil import string diff --git a/docs/environment.yml b/docs/environment.yml deleted file mode 100644 index 4ab55efc87f..00000000000 --- a/docs/environment.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: black_docs -channels: - - conda-forge -dependencies: - - python>=3.6 - - Sphinx==1.7.2 - - pip: - - recommonmark==0.4.0 - - git+https://git@github.com/psf/black.git - - setuptools_scm==3.3.3 diff --git a/docs/requirements.txt b/docs/requirements.txt index a36fd8a675b..b0bb9102e6a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ recommonmark==0.4.0 Sphinx==1.7.2 +setuptools_scm==3.3.3 diff --git a/readthedocs.yml b/readthedocs.yml index f5e2a9a5ce2..d8a016a14fc 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,6 +1,5 @@ -name: black -type: sphinx -conda: - file: docs/environment.yml +version: 2 python: - version: 3 + version: 3.8 + install: + - requirements: docs/requirements.txt