Skip to content

Commit

Permalink
Merge pull request #1368 from pradyunsg/page-titles-and-hierarchy
Browse files Browse the repository at this point in the history
Improve sidebar presentation by tweaking titles and adding "section" pages for `guides/`
  • Loading branch information
pradyunsg committed Nov 8, 2023
2 parents 2ff089b + 7773243 commit 5780e97
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 38 deletions.
38 changes: 4 additions & 34 deletions source/guides/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 17 additions & 0 deletions source/guides/section-build-and-publish.rst
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions source/guides/section-hosting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
=======
Hosting
=======

.. toctree::
:titlesonly:

index-mirrors-and-caches
hosting-your-own-index
12 changes: 12 additions & 0 deletions source/guides/section-install.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <overview>` 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.
Expand Down
6 changes: 3 additions & 3 deletions source/overview.rst
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 5780e97

Please sign in to comment.