Skip to content

Restructure table of contents, section indices, and landing page - #1409

Open
willingc wants to merge 3 commits into
python:mainfrom
willingc:index-simple
Open

willingc wants to merge 3 commits into
python:mainfrom
willingc:index-simple

Conversation

@willingc

@willingc willingc commented Nov 19, 2023 •

Copy link
Copy Markdown
Contributor

This PR applies Diataxis structure consistently to the guide's contents. It simplifies the landing page and the main contents sidebar.

CURRENT PR
Screenshot 2023-11-18 at 3 40 42 PM Screenshot 2023-11-18 at 3 40 26 PM

This PR adds section pages for Overview and References:

Screenshot 2023-11-18 at 3 45 16 PM Screenshot 2023-11-18 at 3 46 37 PM

Finally the content in the landing page has been simplified and aligned to a Diataxis structure.


📚 Documentation preview 📚: https://python-packaging-user-guide--1409.org.readthedocs.build/en/1409/

@willingc
willingc requested a review from pradyunsg November 19, 2023 00:02
@jeanas

jeanas commented Nov 21, 2023

Copy link
Copy Markdown
Contributor

I like the simplification of the sidebar.

Would it not be better to move reST files around instead of using ../, even if we need to add redirects? I was a bit confused; I did not think it was even possible in Sphinx to refer to documents outside of a directory from a .. toctree:: directive in a file inside that directory.

@jeanas

jeanas commented Nov 21, 2023

Copy link
Copy Markdown
Contributor

Also, I'm not sure "Reference" is the best place for the "News" page. Perhaps make an "About" folder for "News" and "Contributing"?

@willingc

Copy link
Copy Markdown
Contributor Author

Also, I'm not sure "Reference" is the best place for the "News" page. Perhaps make an "About" folder for "News" and "Contributing"?

Since "News" is a historical page that we likely won't continue, I tossed it under Reference.

@jeanas

jeanas commented Nov 21, 2023 via email •

Copy link
Copy Markdown
Contributor

@willingc

Copy link
Copy Markdown
Contributor Author

ping @pradyunsg

@jeanas jeanas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try to move this forward? I'm approving the PR, we can move documents and add redirects later, when we've solved #1408.

Comment thread source/contribute.rst
.. |PyPUG| replace:: Python Packaging User Guide

************************
Contribute to this guide

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be changed? We could update just the ToC entry text instead.

Comment thread source/tutorials/index.rst Resolved
Comment thread source/overview/index.rst Resolved
willingc and others added 2 commits March 3, 2024 15:17
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Comment thread source/contribute.rst
Comment on lines +3 to +5
************
Contributing
************

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @webknjaz on that.

Suggested change
************
Contributing
************
************************
Contribute to this guide
************************

Comment thread source/index.rst
glossary
support
references/index
contribute

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
contribute
Contributing <contribute>

@rgommers rgommers added type: enhancement A self-contained enhancement or new feature component: overview labels Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: overview type: enhancement A self-contained enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants