summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-08-08 20:39:14 +0300
committermattip <matti.picus@gmail.com>2019-08-08 20:39:14 +0300
commitf88a87ab2133e23e1e3022144d0793aa65faad2b (patch)
tree051509ecf105a93ada888e3feb4e35c0ee309270
parent5ed0ebe7ab6cfc8a0be36d40e3876d1c02946240 (diff)
downloadnumpy-f88a87ab2133e23e1e3022144d0793aa65faad2b.tar.gz
DOC: add backlinks to numpy.org
-rw-r--r--doc/source/_templates/indexsidebar.html1
-rw-r--r--doc/source/conf.py5
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/_templates/indexsidebar.html b/doc/source/_templates/indexsidebar.html
index 51e7c4308..4707fc0e8 100644
--- a/doc/source/_templates/indexsidebar.html
+++ b/doc/source/_templates/indexsidebar.html
@@ -1,4 +1,5 @@
<h3>Resources</h3>
<ul>
+ <li><a href="https://numpy.org/">NumPy.org website</a></li>
<li><a href="https://scipy.org/">Scipy.org website</a></li>
</ul>
diff --git a/doc/source/conf.py b/doc/source/conf.py
index fa0c0e7e4..88e0b9d9c 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -121,7 +121,10 @@ else:
"edit_link": False,
"sidebar": "left",
"scipy_org_logo": False,
- "rootlinks": []
+ "rootlinks": [("https://numpy.org/", "NumPy.org"),
+ ("https://numpy.org/doc", "Docs"),
+ ("https://scipy.org/", "Scipy.org"),
+ ]
}
html_sidebars = {'index': ['indexsidebar.html', 'searchbox.html']}