From d8c125bcebcb8c6ec2011345308c39aa3db412c5 Mon Sep 17 00:00:00 2001 From: pastelmind Date: Fri, 13 Mar 2020 11:38:51 +0900 Subject: [PATCH 1/2] Organize index of guides into 3 categories Split the toctree of guides into three broad categories: - Installing Packages - Includes guides for installing and managing dependencies. - Building and Publishing Projects - Includes guides for project configuration, distribution - Miscellaneous - Guides that do not clearly fit into any of the above This commit primarily affects the Guides index page; it does not create nested lists for each category in the sidebar. --- source/guides/index.rst | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/source/guides/index.rst b/source/guides/index.rst index 9b4f89fb60..6c9b710acb 100644 --- a/source/guides/index.rst +++ b/source/guides/index.rst @@ -7,13 +7,18 @@ introduction to packaging, see :doc:`/tutorials/index`. .. toctree:: :maxdepth: 1 + :caption: Installing Packages: - tool-recommendations installing-using-pip-and-virtual-environments installing-stand-alone-command-line-tools installing-using-linux-tools installing-scientific-packages multi-version-installs + +.. toctree:: + :maxdepth: 1 + :caption: Building and Publishing Projects: + distributing-packages-using-setuptools using-manifest-in single-sourcing-package-version @@ -23,10 +28,16 @@ introduction to packaging, see :doc:`/tutorials/index`. supporting-windows-using-appveyor packaging-namespace-packages creating-and-discovering-plugins - analyzing-pypi-package-downloads - index-mirrors-and-caches - hosting-your-own-index migrating-to-pypi-org using-testpypi making-a-pypi-friendly-readme publishing-package-distribution-releases-using-github-actions-ci-cd-workflows + +.. toctree:: + :maxdepth: 1 + :caption: Miscellaneous: + + tool-recommendations + analyzing-pypi-package-downloads + index-mirrors-and-caches + hosting-your-own-index From 83c2b20f55cb76e9d26c93b2fce070928860ae67 Mon Sep 17 00:00:00 2001 From: pastelmind Date: Sat, 12 Dec 2020 01:25:03 +0900 Subject: [PATCH 2/2] Move 2 "Misc" items under "Installing Packages" --- source/guides/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/guides/index.rst b/source/guides/index.rst index 6c9b710acb..bd977ff049 100644 --- a/source/guides/index.rst +++ b/source/guides/index.rst @@ -14,6 +14,8 @@ introduction to packaging, see :doc:`/tutorials/index`. installing-using-linux-tools installing-scientific-packages multi-version-installs + index-mirrors-and-caches + hosting-your-own-index .. toctree:: :maxdepth: 1 @@ -39,5 +41,3 @@ introduction to packaging, see :doc:`/tutorials/index`. tool-recommendations analyzing-pypi-package-downloads - index-mirrors-and-caches - hosting-your-own-index