From d90ae924dffefb74175869a9b343b266fda0f5ec Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Wed, 8 Nov 2023 09:30:53 +0000 Subject: [PATCH 1/3] Retitle overview.rst for a shorter sidebar entry This is the phrase used in the landing page for referencing this page. --- source/overview.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/overview.rst b/source/overview.rst index 0bd4393db3..3627e8122c 100644 --- a/source/overview.rst +++ b/source/overview.rst @@ -1,6 +1,6 @@ -=================================== -An Overview of Packaging for Python -=================================== +============================ +Overview of Python Packaging +============================ .. Editors, see notes at the bottom of the document for maintenance info. From bbd1cd2c699c68ae2dfe36ab66ff39ba33721551 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Wed, 8 Nov 2023 09:32:02 +0000 Subject: [PATCH 2/3] Simplify the reference to `overview` from `index` The page title now matches the provided name at this reference. --- source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.rst b/source/index.rst index c00ed0ad8e..32f85b2064 100644 --- a/source/index.rst +++ b/source/index.rst @@ -41,7 +41,7 @@ Overview and Flow continuous improvement are key to success. The overview and flow sections provide a starting point for understanding the Python packaging ecosystem. -The :doc:`Overview of Python Packaging ` explains Python packaging +The :doc:`overview` explains Python packaging and its use when preparing and distributing projects. This section helps you build understanding about selecting the tools and processes that are most suitable for your use case. From 7773243af520043c01d8eba3cb6a2dd912276276 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Wed, 8 Nov 2023 18:39:13 +0000 Subject: [PATCH 3/3] Add a document heirarchy for presenting guides This makes their presentation in the sidebar easier to navigate. --- source/guides/index.rst | 38 +++------------------ source/guides/section-build-and-publish.rst | 17 +++++++++ source/guides/section-hosting.rst | 9 +++++ source/guides/section-install.rst | 12 +++++++ 4 files changed, 42 insertions(+), 34 deletions(-) create mode 100644 source/guides/section-build-and-publish.rst create mode 100644 source/guides/section-hosting.rst create mode 100644 source/guides/section-install.rst diff --git a/source/guides/index.rst b/source/guides/index.rst index 2f6f1a2175..b87d0b1a8e 100644 --- a/source/guides/index.rst +++ b/source/guides/index.rst @@ -6,40 +6,10 @@ already familiar with the basics of Python packaging. If you're looking for an introduction to packaging, see :doc:`/tutorials/index`. .. toctree:: - :maxdepth: 1 - :caption: Installing Packages: - - installing-using-pip-and-virtual-environments - installing-using-virtualenv - installing-stand-alone-command-line-tools - installing-using-linux-tools - installing-scientific-packages - -.. toctree:: - :maxdepth: 1 - :caption: Building and Publishing Projects: - - distributing-packages-using-setuptools - using-manifest-in - single-sourcing-package-version - dropping-older-python-versions - packaging-binary-extensions - packaging-namespace-packages - creating-and-discovering-plugins - using-testpypi - making-a-pypi-friendly-readme - publishing-package-distribution-releases-using-github-actions-ci-cd-workflows - -.. toctree:: - :maxdepth: 1 - :caption: Hosting - - index-mirrors-and-caches - hosting-your-own-index - -.. toctree:: - :maxdepth: 1 - :caption: Miscellaneous: + :titlesonly: + section-install + section-build-and-publish + section-hosting tool-recommendations analyzing-pypi-package-downloads diff --git a/source/guides/section-build-and-publish.rst b/source/guides/section-build-and-publish.rst new file mode 100644 index 0000000000..9bb5f08fea --- /dev/null +++ b/source/guides/section-build-and-publish.rst @@ -0,0 +1,17 @@ +======================= +Building and Publishing +======================= + +.. toctree:: + :titlesonly: + + distributing-packages-using-setuptools + using-manifest-in + single-sourcing-package-version + dropping-older-python-versions + packaging-binary-extensions + packaging-namespace-packages + creating-and-discovering-plugins + using-testpypi + making-a-pypi-friendly-readme + publishing-package-distribution-releases-using-github-actions-ci-cd-workflows diff --git a/source/guides/section-hosting.rst b/source/guides/section-hosting.rst new file mode 100644 index 0000000000..f8f708c184 --- /dev/null +++ b/source/guides/section-hosting.rst @@ -0,0 +1,9 @@ +======= +Hosting +======= + +.. toctree:: + :titlesonly: + + index-mirrors-and-caches + hosting-your-own-index diff --git a/source/guides/section-install.rst b/source/guides/section-install.rst new file mode 100644 index 0000000000..515092b4d4 --- /dev/null +++ b/source/guides/section-install.rst @@ -0,0 +1,12 @@ +============ +Installation +============ + +.. toctree:: + :titlesonly: + + installing-using-pip-and-virtual-environments + installing-using-virtualenv + installing-stand-alone-command-line-tools + installing-using-linux-tools + installing-scientific-packages