climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [3/4] climate git commit: CIMATE-917 Bocumentation build error with Python3
Date Wed, 17 Jan 2018 02:08:37 GMT
CIMATE-917 Bocumentation build error with Python3


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/13c6dd6a
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/13c6dd6a
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/13c6dd6a

Branch: refs/heads/master
Commit: 13c6dd6aed9b7cff73cdfa985fe8a561a4759eab
Parents: 64c2a55
Author: Michael Anderson <michaelanderson@Michaels-iMac.local>
Authored: Sun Jan 7 19:37:20 2018 -0500
Committer: Michael Anderson <michaelanderson@Michaels-iMac.local>
Committed: Sun Jan 7 19:37:20 2018 -0500

----------------------------------------------------------------------
 docs/source/conf.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/13c6dd6a/docs/source/conf.py
----------------------------------------------------------------------
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 5e101e9..3afb88b 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -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


Mime
View raw message