From f1ac5b8fe6be00cd47daca683ed599b0af33de2b Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 4 Aug 2019 19:05:33 +0200 Subject: [PATCH] [doc/fix] fix doc building --- doc/conf.py | 2 +- doc/requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 8d39b9e2..3eafc4ea 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -29,7 +29,7 @@ class Mock(MagicMock): def __getattr__(cls, name): return MagicMock() -MOCK_MODULES = ['ldap', 'ldap.modlist'] +MOCK_MODULES = ['ldap', 'ldap.modlist', 'ldap.sasl'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) diff --git a/doc/requirements.txt b/doc/requirements.txt index 20fd2eb0..142c12e7 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,5 @@ sphinx gnupg mock +pyyaml +toml