Skip to content

Commit

Permalink
more doc module installing
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Aug 28, 2018
1 parent 733830f commit 5aa6bdc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
12 changes: 2 additions & 10 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,9 @@ def __getattr__(cls, name):

MOCK_MODULES = ['pygtk', 'gtk', 'gobject', 'nacl', 'NetworkManager',
'dbus', 'nacl.encoding', 'nacl.signing', 'dbus.service',
'requests_oauthlib',
'dateutil.parser', 'oauthlib', 'oauthlib.oauth2',
'oauthlib.oauth2.rfc6749', 'oauthlib.oauth2.rfc6749.errors',
'cryptography', 'cryptography.x509', 'cryptography.x509.oid',
'cryptography', 'cryptography.hazmat', 'cryptography.hazmat.backends']
#'repoze', 'repoze.lru',
# 'future', 'future.moves', 'future.moves.urllib',
# 'future.moves.urllib.parse',
#'gi', 'dateutil', 'gi.repository',
#'http', 'http.server',
# 'http.client']
'cryptography', 'cryptography.hazmat',
'cryptography.hazmat.backends']


sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
Expand Down
3 changes: 3 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ sphinx_rtd_theme
future
repoze.lru
six
oauthlib
dateutil
requests_oauthlib
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ build:
image: latest

python:
version: 2.7
version: 3.6

requirements_file: doc/requirements.txt

0 comments on commit 5aa6bdc

Please sign in to comment.