From 606dc140658c3da35de868bbe0b400d94ef9097f Mon Sep 17 00:00:00 2001 From: sarah256 Date: Fri, 2 Nov 2018 15:58:23 -0400 Subject: [PATCH] Added mock import for koji in docs, because Readthedocs.io does not support it --- docs-requirements.txt | 11 +++++++++-- docs/conf.py | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs-requirements.txt b/docs-requirements.txt index b079bcd..9e6b992 100644 --- a/docs-requirements.txt +++ b/docs-requirements.txt @@ -1,4 +1,11 @@ --r requirements.txt -recommonmark +https://github.com/release-engineering/estuary-api/tarball/master#egg=estuary +fedmsg +fedmsg[commands] +fedmsg[consumers] +moksha.hub +PyOpenSSL +stomper +neomodel +requests sphinx sphinx_rtd_theme diff --git a/docs/conf.py b/docs/conf.py index 32f5aa6..87d487d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,6 +58,8 @@ 'sphinx.ext.githubpages', ] +autodoc_mock_imports = ['koji', 'requests_kerberosrecommonmark'] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']