From 28d8086f1a72c10d20ddc4f0c08c52811dda01bd Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 5 Oct 2019 22:14:00 +0200 Subject: [PATCH] Once again fight RTD to install the package --- .readthedocs.yml | 8 -------- documentation/source/conf.py | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) 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