Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
CIMATE-917 Bocumentation build error with Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Anderson authored and Michael Anderson committed Jan 8, 2018
1 parent 64c2a55 commit 13c6dd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
import sys
import os

autodoc_mock_imports = ["esgf"]
# esgf is not currently available for Python 3 and will throw an
# error when building the documents.
if sys.version_info[0] >= 3:
autodoc_mock_imports = ["esgf"]

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down

0 comments on commit 13c6dd6

Please sign in to comment.