Skip to content

Commit

Permalink
Use intersphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
salu133445 committed Apr 10, 2018
1 parent f84d102 commit 5710121
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# pypianoroll documentation build configuration file, created by
Expand All @@ -19,10 +18,10 @@

import os
import sys
sys.path.insert(0, os.path.abspath('../../'))

import pypianoroll

sys.path.insert(0, os.path.abspath('../../'))

# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand All @@ -35,7 +34,7 @@
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
# 'sphinx.ext.intersphinx',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.napoleon'
Expand Down Expand Up @@ -179,9 +178,9 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
# 'matplotlib': ('http://matplotlib.org', None),
# 'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
# 'numpy': ('http://docs.scipy.org/doc/numpy/', None)
'matplotlib': ('http://matplotlib.org', None),
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
'numpy': ('http://docs.scipy.org/doc/numpy/', None)
}

autoclass_content = 'both'
Expand Down

0 comments on commit 5710121

Please sign in to comment.