Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all sphinx warnings #1796

Merged
merged 7 commits into from
Feb 7, 2024
Merged

Fix all sphinx warnings #1796

merged 7 commits into from
Feb 7, 2024

Conversation

Yoshanuikabundi
Copy link
Collaborator

@Yoshanuikabundi Yoshanuikabundi commented Dec 20, 2023

This PR fixes all existing Sphinx warnings, in part by updating to Sphinx 6. It also sets RTD to fail a docs build on a warning. I'm hoping this will stop a recurring issue where incorrect ReStructuredText gets into releases without anyone noticing (because ReST is impossible to write correctly without a detailed dialogue between the parser and whitespace)

One thing this needed is to convert the remaining RST in the changelog to MarkDown. This uncovered a bunch of broken links and also renders better as there no longer needs to be a distinction between old releases and new releases.

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

Merging #1796 (3b92f35) into main (0375d5f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Copy link
Member

@mattwthompson mattwthompson left a comment

Choose a reason for hiding this comment

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

I read or skimmed ever file in the changeset, making an effort to sample some links and actually look at rendered webpages along the way. I found only one thing that stands out as needing fixing - no need for a re-review!

The end of the release history page looks funky:
image

Comment on lines 414 to 416
+-----------------------+------------+-----------+-------------+------------+-----------+-------------+
| Python 3.12 and newer | Pending official releases and upstream support |
+-----------------------+------------+-----------+-------------+------------+-----------+-------------+
Copy link
Member

Choose a reason for hiding this comment

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

You are welcome to update this table so that 3.12 looks like 3.11 and this line applies to 3.13+, but that's not needed to get this merged

@j-wags j-wags merged commit 5ffcb58 into main Feb 7, 2024
18 checks passed
@j-wags j-wags deleted the fix-all-sphinx-warnings branch February 7, 2024 17:52
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.

3 participants