From d7ab64c31912923ef287b80c3249b04588a121a5 Mon Sep 17 00:00:00 2001 From: Benoit Bovy Date: Tue, 27 Feb 2018 12:06:14 +0100 Subject: [PATCH 1/2] add main sections to toc --- doc/index.rst | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/doc/index.rst b/doc/index.rst index e9df085169a..2c2031860f3 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -1,4 +1,3 @@ - .. image:: _static/dataset-diagram-logo.png :width: 300 px :align: center @@ -32,14 +31,44 @@ describing scientific data in widespread use in the Earth sciences: Documentation ------------- +**Getting Started** + +* :doc:`whats-new` +* :doc:`why-xarray` +* :doc:`faq` +* :doc:`examples` +* :doc:`installing` + .. toctree:: :maxdepth: 1 + :hidden: + :caption: Getting Started whats-new why-xarray faq examples installing + +**User Guide** + +* :doc:`data-structures` +* :doc:`indexing` +* :doc:`computation` +* :doc:`groupby` +* :doc:`reshaping` +* :doc:`combining` +* :doc:`time-series` +* :doc:`pandas` +* :doc:`io` +* :doc:`dask` +* :doc:`plotting` + +.. toctree:: + :maxdepth: 1 + :hidden: + :caption: User Guide + data-structures indexing computation @@ -51,6 +80,18 @@ Documentation io dask plotting + +**Help & reference** + +* :doc:`api` +* :doc:`internals` +* :doc:`contributing` + +.. toctree:: + :maxdepth: 1 + :hidden: + :caption: Help & reference + api internals contributing From 0fe80d06242b7a7392c9c96598dd9c557ca667ad Mon Sep 17 00:00:00 2001 From: Benoit Bovy Date: Tue, 27 Feb 2018 19:25:28 +0100 Subject: [PATCH 2/2] move whats new to "help and references" section --- doc/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index 2c2031860f3..f4f036b8e58 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -33,7 +33,6 @@ Documentation **Getting Started** -* :doc:`whats-new` * :doc:`why-xarray` * :doc:`faq` * :doc:`examples` @@ -44,7 +43,6 @@ Documentation :hidden: :caption: Getting Started - whats-new why-xarray faq examples @@ -83,6 +81,7 @@ Documentation **Help & reference** +* :doc:`whats-new` * :doc:`api` * :doc:`internals` * :doc:`contributing` @@ -92,6 +91,7 @@ Documentation :hidden: :caption: Help & reference + whats-new api internals contributing