diff --git a/.readthedocs.yml b/.readthedocs.yml index b796095..f1d8270 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,11 +6,3 @@ build: sphinx: configuration: documentation/source/conf.py fail_on_warning: true - -python: - version: 3.7 - install: - - method: pip - path: . - extra_requirements: - - docs diff --git a/documentation/source/conf.py b/documentation/source/conf.py index 362ac8f..b468f64 100644 --- a/documentation/source/conf.py +++ b/documentation/source/conf.py @@ -6,3 +6,4 @@ 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