Skip to content

Fix sphinx build errors - #8303

Merged
dschult merged 2 commits into
networkx:mainfrom
rossbar:fix-sphinx-errors-09-25
Oct 1, 2025
Merged

dschult merged 2 commits into
networkx:mainfrom
rossbar:fix-sphinx-errors-09-25

Conversation

@rossbar

@rossbar rossbar commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

A couple new sphinx errors from a detailed look at the build logs.

The first is related to the whole mess of how rst handles headers. It didn't like ~~~~ as that hadn't been used yet (and therefore was assigned h4) while the preceding header was an h1. There are basically two options - force this to an h1 (which I opted for in 8d28fe9), or change this to an h3 (which maps to ^^^^^) then modify the Example heading below to use ~~~~~.

The second is related to missing references after the betweenness centrality docstring updates in #8256 .

@Peiffap Peiffap left a comment

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.

LGTM!

Fwiw, I also noticed and fixed the missing references in #8264. Happy to have them go in with this one though!

@dschult dschult left a comment

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.

This looks pretty straightforward --
Thanks @rossbar

@dschult
dschult merged commit d968ba1 into networkx:main Oct 1, 2025
@dschult dschult added this to the 3.6 milestone Oct 1, 2025
ryantqiu pushed a commit to snorkel-marlin-repos/networkx_c4633697 that referenced this pull request Oct 1, 2025
Original PR #8303 by rossbar
Original: networkx/networkx#8303
ryantqiu added a commit to snorkel-marlin-repos/networkx_c4633697 that referenced this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants