Skip to content

Commit

Permalink
docs: only use sphinxcontrib-doxylink on Python 3
Browse files Browse the repository at this point in the history
refs #4553

Change-Id: I54fead17b17a835046af73ef6b5e0b169b30654e
  • Loading branch information
eric135 committed Mar 25, 2018
1 parent 92e4d5c commit c6500a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Expand Up @@ -44,7 +44,8 @@ def addExtensionIfExists(extension):
sys.stderr.write("To install, use \n"
" sudo pip install %s\n" % extension.replace('.', '-'))

addExtensionIfExists('sphinxcontrib.doxylink')
if sys.version_info[0] >= 3:
addExtensionIfExists('sphinxcontrib.doxylink')

# sphinxcontrib.googleanalytics is currently not working with the latest version of Sphinx
# if os.getenv('GOOGLE_ANALYTICS', None):
Expand Down

0 comments on commit c6500a9

Please sign in to comment.