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

Skip to content

Commit 8090719

Browse files
committed
Re-arrange installation doc layout
This ensures that the ToC as generated in the PDF makes sense, and doesn't appear in the wrong order. Also fixes the redirect to come from the right place.
1 parent 2b4fe6e commit 8090719

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

INSTALL.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
############
2-
Installation
3-
############
4-
51
==============================
62
Installing an official release
73
==============================
@@ -74,18 +70,21 @@ you can install Matplotlib via your package manager, e.g.:
7470
* Red Hat: ``sudo yum install python3-matplotlib``
7571
* Arch: ``sudo pacman -S python-matplotlib``
7672

77-
======================
78-
Installing from source
79-
======================
80-
See :ref:`install_from_source`.
81-
8273
==========================
8374
Installing for development
8475
==========================
8576
See :ref:`installing_for_devs`.
8677

87-
==============
88-
Installing FAQ
89-
==============
78+
.. only:: html
79+
80+
======================
81+
Installing from source
82+
======================
83+
84+
See :ref:`install_from_source`.
85+
86+
==============
87+
Installing FAQ
88+
==============
9089

91-
See :ref:`installing-faq`.
90+
See :ref:`installing-faq`.

doc/users/installing/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.. redirect-from:: /installing
2-
1+
############
2+
Installation
3+
############
34

45
.. toctree::
56
:hidden:
67

7-
installing_source.rst
8+
install
9+
installing_source
810
faq
9-
10-
.. include:: ../../../INSTALL.rst

doc/users/installing/install.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.. redirect-from:: /users/installing
2+
3+
.. include:: ../../../INSTALL.rst

0 commit comments

Comments
 (0)