Skip to content

Commit

Permalink
Enable inter-documentation links to be clickable (#406) (#407)
Browse files Browse the repository at this point in the history
* Enable inter-documentation links to be clickable

* Add docplex and networkx

(cherry picked from commit 4e36afb)

Co-authored-by: Manoel Marques <Manoel.Marques@ibm.com>
  • Loading branch information
mergify[bot] and manoelmarques committed Aug 11, 2022
1 parent 0d8e533 commit 139c3f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
"reno.sphinxext",
"sphinx.ext.doctest",
"nbsphinx",
"sphinx.ext.intersphinx",
]
html_static_path = ["_static"]
templates_path = ["_templates"]
Expand Down Expand Up @@ -212,6 +213,14 @@
"titles_only": False,
}

intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"numpy": ("https://numpy.org/doc/stable", None),
"scipy": ("https://docs.scipy.org/doc/scipy", None),
"networkx": ("https://networkx.org/documentation/stable", None),
"docplex.mp": ("https://ibmdecisionoptimization.github.io/docplex-doc/mp", None),
"qiskit": ("https://qiskit.org/documentation/", None),
}
# -- Extension configuration -------------------------------------------------


Expand Down

0 comments on commit 139c3f1

Please sign in to comment.