summaryrefslogtreecommitdiff
path: root/doc/source/index.rst
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2021-02-26 13:00:14 -0800
committerRoss Barnowski <rossbar@berkeley.edu>2021-02-26 13:00:14 -0800
commit678919107f29a1da946d2c2ca00d712b830a5753 (patch)
treed5bdb396be95cb8bcbef69389cf1177bfc3daaa7 /doc/source/index.rst
parenta14c41264855e44ebd6187d7541b5b8d59bb32cb (diff)
downloadnumpy-678919107f29a1da946d2c2ca00d712b830a5753.tar.gz
DOC: mv meta landing page to index.rst.
The current master_doc is really only used to specify the toctree to set up the navbar in the pydata-sphinx-theme. By renaming to index.rst the navbar config is preserved and the links back to the main page point to the original landing page rather than the contents page, which was mostly empty.
Diffstat (limited to 'doc/source/index.rst')
-rw-r--r--doc/source/index.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
new file mode 100644
index 000000000..21dec00fe
--- /dev/null
+++ b/doc/source/index.rst
@@ -0,0 +1,17 @@
+.. _numpy_docs_mainpage:
+
+###################
+NumPy Documentation
+###################
+
+.. toctree::
+ :maxdepth: 1
+ :hidden:
+
+ User Guide <user/index>
+ API reference <reference/index>
+ Development <dev/index>
+
+.. This is not really the index page, that is found in
+ _templates/indexcontent.html The toctree content here will be added to the
+ top of the template header