diff --git a/.readthedocs.yml b/.readthedocs.yml index bdd185b..b796095 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,6 +8,9 @@ sphinx: fail_on_warning: true python: - version: 3.7 - install: - - requirements: rtd.txt + version: 3.7 + install: + - method: pip + path: . + extra_requirements: + - docs diff --git a/documentation/source/conf.py b/documentation/source/conf.py index b468f64..362ac8f 100644 --- a/documentation/source/conf.py +++ b/documentation/source/conf.py @@ -6,4 +6,3 @@ master_doc = 'index' project = 'hypercore-crypto' templates_path = ['_templates'] extensions = ['sphinx.ext.autodoc', 'sphinx_autodoc_typehints'] -autodoc_mock_imports = ['pysodium'] # no libsodium in the RTD environment diff --git a/rtd.txt b/rtd.txt deleted file mode 100644 index 9870699..0000000 --- a/rtd.txt +++ /dev/null @@ -1 +0,0 @@ -sphinx-autodoc-typehints >= 1.6.0, < 2.0