Skip to content

Commit

Permalink
change instances of http to https (#1803)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett authored May 22, 2024
1 parent b051bce commit 03342a9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@ def check_sphinx_version(expected_version):

# Configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'python': ('http://docs.python.org/3/', None),
'numpy': ('http://docs.scipy.org/doc/numpy/', None),
'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),
'matplotlib': ('http://matplotlib.org/', None),
'astropy': ('http://docs.astropy.org/en/stable/', None),
'python': ('https://docs.python.org/3/', None),
'numpy': ('https://docs.scipy.org/doc/numpy/', None),
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
'matplotlib': ('https://matplotlib.org/', None),
'astropy': ('https://docs.astropy.org/en/stable/', None),
'tweakwcs': ('https://tweakwcs.readthedocs.io/en/latest/', None),
'stsci.skypac': ('https://stsci-skypac.readthedocs.io/en/latest/', None),
'stwcs': ('https://stwcs.readthedocs.io/en/latest/', None),
}

if sys.version_info[0] == 2:
intersphinx_mapping['python'] = ('http://docs.python.org/2/', None)
intersphinx_mapping['python'] = ('https://docs.python.org/2/', None)
# intersphinx_mapping['pythonloc'] = (
# 'http://docs.python.org/',
# 'https://docs.python.org/',
# os.path.abspath(os.path.join(os.path.dirname(__file__),
# 'local/python2_local_links.inv')))

Expand Down

0 comments on commit 03342a9

Please sign in to comment.