Skip to content

Commit

Permalink
doc: mock packages not installed on readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieucan committed Dec 5, 2017
1 parent 280a1f5 commit 70620d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
'sphinx.ext.viewcode',
'sphinx.ext.githubpages']

# mock some packages not always available at build time
autodoc_mock_imports = ['pyspark', 'matplotlib']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down

0 comments on commit 70620d1

Please sign in to comment.