Reordering of User Guide's Table of Contents#3402
Conversation
This mostly follows the scheme given [here](pypa#3400 (reply in thread)), with the following exceptions: - "Controlling files in the distribution" is kept not immediately after the "Package Discovery" page, but rather towards the end, because a lot of the material in that page overlaps with material given in the "Package Discovery" and "Data Files" pages. Therefore, it seems to me that this page should be read _after_ the other two pages have been read. - "Development Mode" is kept not towards the end but introduced close to the beginning, because readers might want to start using it early on in their projects. - "Building Extension Modules" is kept immediately after the "Entry Points" and "Data Files" pages, since it is the last major topic we would like to discuss. The two topics that follow ("Specifying your Project's Version" and "Controlling Files in the Distribution") are lighter topics. - Have retained the pages "Extending or Customizing Setuptools", "Configuring Setuptools using setup.cfg files" and "Configuring Setuptools using pyproject.toml files" for now.
|
Thank you very much @codeandfire for the reorganisation. Do you believe this logic makes more sense? When I did the suggestion I was just trying to find a sequence that would make logic sense when guiding the user through learning. But I did not double check with the actual pages 🤣 If you belive that is the way to go, I am happy to merge! |
|
Well @abravalheri, the way I think about this reorganization is the sequence a person starting a new Python package would follow. Package Discovery and Dependencies Management would probably be the first in this sequence, since these two are essential to package any Python project. Next they should know about development mode / editable installs so that they can get started with development. The next three topics namely Entry Points, Data Files and Extension Modules are involved topics that may or may not be relevant to their specific project. Finally there are two minor topics namely Versioning and Controlling Files in the Distribution which cover some finer details of the packaging process. I did not strictly follow your suggestion :) but I feel this is a reasonable way of ordering the pages. |
|
Thanks @codeandfire. I think you put more thought on this than I did, so I am very happy with that! |
Summary of changes
Reorganized the User Guide's Table of Contents
This mostly follows the scheme given here, with the following exceptions:
read.
Have also removed the quotes around the heading of the page on Development Mode, it seems unnecessary.
Pull Request Checklist
changelog.d/.(See documentation for details)