Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26fcdef

Browse files
committed
DOC: more site re-org
The root of the index is users/index Most material is now under users/
1 parent a6e01b5 commit 26fcdef

16 files changed

+58
-63
lines changed

doc/_templates/mpl_nav_bar.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@
1010
<a class="reference internal nav-link" href="{{ pathto('tutorials/index') }}">Tutorials</a>
1111
</li>
1212
<li class="nav-item">
13-
<a class="reference internal nav-link" href="{{ pathto('api/index') }}">Reference</a>
13+
<a class="reference internal nav-link" href="{{ pathto('api/index') }}">API Reference</a>
1414
</li>
1515
<li class="nav-item">
16-
<a class="reference internal nav-link" href="{{ pathto('contents') }}">Usage guide</a>
16+
<a class="reference internal nav-link" href="{{ pathto('users/index') }}">Users guide</a>
1717
</li>
1818
<li class="nav-item">
19-
<a class="reference internal nav-link" href="{{ pathto('devel/index') }}">Develop</a>
20-
</li>
21-
<li class="nav-item">
22-
<a class="reference internal nav-link" href="{{ pathto('users/release_notes') }}">Release notes</a>
19+
<a class="reference internal nav-link" href="{{ pathto('devel/index') }}">Contributing</a>
2320
</li>
2421
</ul>

doc/api/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Reference
2-
=========
1+
API Reference
2+
=============
33

44
When using the library you will typically create
55
:doc:`Figure <figure_api>` and :doc:`Axes <axes_api>` objects and

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _check_dependencies():
206206
source_encoding = "utf-8"
207207

208208
# The master toctree document.
209-
master_doc = 'contents'
209+
master_doc = 'users/index'
210210

211211
# General substitutions.
212212
try:

doc/contents.rst

Lines changed: 0 additions & 25 deletions
This file was deleted.

doc/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Learning resources
5353
- :doc:`Quick-start guide <tutorials/introductory/usage>`
5454
- :doc:`Plot types <plot_types/index>`
5555
- `Introductory tutorials <../tutorials/index.html#introductory>`_
56-
- :doc:`External learning resources <resources/index>`
56+
- :doc:`External learning resources <users/resources/index>`
5757

5858
---
5959

@@ -67,7 +67,7 @@ Learning resources
6767
Understand how Matplotlib works
6868
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6969

70-
- The :ref:`users-guide-explain` in the :doc:`Usage guide <users/index>`
70+
- The :ref:`users-guide-explain` in the :doc:`Users guide <users/index>`
7171
- Many of the :ref:`Intermediate <tutorials-intermediate>` and
7272
:ref:`Advanced <tutorials-advanced>` tutorials
7373
have explanatory material
@@ -106,7 +106,7 @@ you can help!
106106
- or improve the :ref:`documentation and code <developers-guide-index>`
107107

108108

109-
Site map
110-
--------
109+
Users guide
110+
-----------
111111

112-
The :ref:`complete contents of the docs <complete_sitemap>`.
112+
The `contents of the docs <users/index.html>`_.

doc/users/backmatter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Project information
66
:maxdepth: 1
77

88
license.rst
9-
../citing.rst
9+
citing.rst
1010
credits.rst
1111
history.rst

doc/citing.rst renamed to doc/users/citing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
:orphan:
1+
.. redirect-from:: /citing
2+
23

34
Citing Matplotlib
45
=================

doc/faq/environment_variables_faq.rst renamed to doc/users/faq/environment_variables_faq.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. _environment-variables:
22

3+
.. redirect-from:: /faq/environment_variables_faq
4+
35
*********************
46
Environment variables
57
*********************

doc/faq/howto_faq.rst renamed to doc/users/faq/howto_faq.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. _howto-faq:
22

3+
.. redirect-from:: /faq/howto_faq
4+
35
******
46
How-to
57
******

doc/faq/index.rst renamed to doc/users/faq/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
.. _faq-index:
22

3-
######
4-
How-to
5-
######
3+
.. redirect-from:: /faq/index
4+
5+
##########################
6+
How-to and troubleshooting
7+
##########################
68

79
.. only:: html
810

doc/faq/installing_faq.rst renamed to doc/users/faq/installing_faq.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. _installing-faq:
22

3+
.. redirect-from:: /faq/installing_faq
4+
35
**************
46
Installing FAQ
57
**************

doc/faq/troubleshooting_faq.rst renamed to doc/users/faq/troubleshooting_faq.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. _troubleshooting-faq:
22

3+
.. redirect-from:: /faq/troubleshooting_faq
4+
35
***************
46
Troubleshooting
57
***************

doc/users/index.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
.. _users-guide-index:
22

3+
.. redirect-from:: /contents
4+
5+
36
###########
4-
Usage guide
7+
Users guide
58
###########
69

710
.. only:: html
@@ -15,10 +18,14 @@ Usage guide
1518
.. toctree::
1619
:maxdepth: 2
1720

21+
installing.rst
1822
../plot_types/index.rst
1923
../tutorials/index.rst
2024
../gallery/index.rst
2125
explain.rst
22-
../faq/index.rst
26+
faq/index.rst
2327
../api/index.rst
24-
../resources/index.rst
28+
resources/index.rst
29+
../devel/index.rst
30+
backmatter.rst
31+
release_notes.rst

doc/users/release_notes.rst

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ Version 3.4
2020
prev_whats_new/github_stats_3.4.1.rst
2121
prev_whats_new/github_stats_3.4.0.rst
2222

23+
Past versions
24+
=============
25+
2326
Version 3.3
24-
===========
27+
~~~~~~~~~~~
2528
.. toctree::
2629
:maxdepth: 1
2730

@@ -35,7 +38,7 @@ Version 3.3
3538
prev_whats_new/github_stats_3.3.0.rst
3639

3740
Version 3.2
38-
===========
41+
~~~~~~~~~~~
3942
.. toctree::
4043
:maxdepth: 1
4144

@@ -46,7 +49,7 @@ Version 3.2
4649
prev_whats_new/github_stats_3.2.0.rst
4750

4851
Version 3.1
49-
===========
52+
~~~~~~~~~~~
5053
.. toctree::
5154
:maxdepth: 1
5255

@@ -59,7 +62,7 @@ Version 3.1
5962
prev_whats_new/github_stats_3.1.0.rst
6063

6164
Version 3.0
62-
===========
65+
~~~~~~~~~~~
6366
.. toctree::
6467
:maxdepth: 1
6568

@@ -72,15 +75,15 @@ Version 3.0
7275
prev_whats_new/github_stats_3.0.0.rst
7376

7477
Version 2.2
75-
===========
78+
~~~~~~~~~~~
7679
.. toctree::
7780
:maxdepth: 1
7881

7982
prev_whats_new/whats_new_2.2.rst
8083
../api/prev_api_changes/api_changes_2.2.0.rst
8184

8285
Version 2.1
83-
===========
86+
~~~~~~~~~~~
8487
.. toctree::
8588
:maxdepth: 1
8689

@@ -90,7 +93,7 @@ Version 2.1
9093
../api/prev_api_changes/api_changes_2.1.0.rst
9194

9295
Version 2.0
93-
===========
96+
~~~~~~~~~~~
9497
.. toctree::
9598
:maxdepth: 1
9699

@@ -99,7 +102,7 @@ Version 2.0
99102
../api/prev_api_changes/api_changes_2.0.0.rst
100103

101104
Version 1.5
102-
===========
105+
~~~~~~~~~~~
103106
.. toctree::
104107
:maxdepth: 1
105108

@@ -109,23 +112,23 @@ Version 1.5
109112
../api/prev_api_changes/api_changes_1.5.0.rst
110113

111114
Version 1.4
112-
===========
115+
~~~~~~~~~~~
113116
.. toctree::
114117
:maxdepth: 1
115118

116119
prev_whats_new/whats_new_1.4.rst
117120
../api/prev_api_changes/api_changes_1.4.x.rst
118121

119122
Version 1.3
120-
===========
123+
~~~~~~~~~~~
121124
.. toctree::
122125
:maxdepth: 1
123126

124127
prev_whats_new/whats_new_1.3.rst
125128
../api/prev_api_changes/api_changes_1.3.x.rst
126129

127130
Version 1.2
128-
===========
131+
~~~~~~~~~~~
129132
.. toctree::
130133
:maxdepth: 1
131134

@@ -134,22 +137,22 @@ Version 1.2
134137
../api/prev_api_changes/api_changes_1.2.x.rst
135138

136139
Version 1.1
137-
===========
140+
~~~~~~~~~~~
138141
.. toctree::
139142
:maxdepth: 1
140143

141144
prev_whats_new/whats_new_1.1.rst
142145
../api/prev_api_changes/api_changes_1.1.x.rst
143146

144147
Version 1.0
145-
===========
148+
~~~~~~~~~~~
146149
.. toctree::
147150
:maxdepth: 1
148151

149152
prev_whats_new/whats_new_1.0.rst
150153

151154
Version 0.x
152-
===========
155+
~~~~~~~~~~~
153156
.. toctree::
154157
:maxdepth: 1
155158

doc/resources/index.rst renamed to doc/users/resources/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. _resources-index:
22

3+
.. redirect-from:: /resources/index
4+
35
******************
46
External resources
57
******************

examples/README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ This page contains example plots. Click on any image to see the full image
1010
and source code.
1111

1212
For longer tutorials, see our `tutorials page <../tutorials/index.html>`_.
13-
You can also find `external resources <../resources/index.html>`_ and
14-
a `FAQ <../faq/index.html>`_ in our `user guide <../contents.html>`_.
13+
You can also find `external resources <../users/resources/index.html>`_ and
14+
a `FAQ <../users/faq/index.html>`_ in our `user guide <../users/index.html>`_.

0 commit comments

Comments
 (0)