Skip to content

Improve sidebar presentation by tweaking titles and adding "section" pages for guides/ - #1368

Merged
pradyunsg merged 3 commits into
python:mainfrom
pradyunsg:page-titles-and-hierarchy
Nov 8, 2023
Merged

pradyunsg merged 3 commits into
python:mainfrom
pradyunsg:page-titles-and-hierarchy

Conversation

@pradyunsg

Copy link
Copy Markdown
Member

This is largely aimed at making the sidebar less overwhelming when navigating to specific pages under guides, by grouping things via document hierarchy rather than multiple toctree entries in the same section.

(not needing this kind of stuff is a thing I want to support in Furo, but Sphinx doesn't expose that information in any way: sphinx-doc/sphinx#10697)

This is the phrase used in the landing page for referencing this page.
The page title now matches the provided name at this reference.
This makes their presentation in the sidebar easier to navigate.
@pradyunsg pradyunsg changed the title Change titles and add a "section" pages for the guides/ Improve sidebar presentation by tweaking titles and adding "section" pages for the guides/ Nov 8, 2023
@pradyunsg pradyunsg changed the title Improve sidebar presentation by tweaking titles and adding "section" pages for the guides/ Improve sidebar presentation by tweaking titles and adding "section" pages for guides/ Nov 8, 2023
@pradyunsg

Copy link
Copy Markdown
Member Author

Before / After (sorry for the bad alt text)

Screenshot 2023-11-08 at 18 44 46Screenshot 2023-11-08 at 18 45 01

Screenshot 2023-11-08 at 18 45 07Screenshot 2023-11-08 at 18 45 14

@pradyunsg
pradyunsg enabled auto-merge November 8, 2023 18:49
@pradyunsg

Copy link
Copy Markdown
Member Author

This, of course needs a review + approval. If this looks good to people, I'll file a follow up improving the specification section in a similar manner. :)

@sinoroc

sinoroc commented Nov 8, 2023

Copy link
Copy Markdown
Contributor

@pradyunsg

Copy link
Copy Markdown
Member Author

#1369 filed, so that @sinoroc will no longer need to post direct links like that again. Hopefully you don't mind me automating this. :)

@jeanas

jeanas commented Nov 8, 2023

Copy link
Copy Markdown
Contributor

I like it!

@pradyunsg
pradyunsg added this pull request to the merge queue Nov 8, 2023

@chrysle chrysle 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.

Looks great to me!

Merged via the queue into python:main with commit 5780e97 Nov 8, 2023
@pradyunsg
pradyunsg deleted the page-titles-and-hierarchy branch November 8, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants