Skip to content

DOC: Rm redundant module from autosummary. - #7599

Merged
dschult merged 1 commit into
networkx:mainfrom
rossbar:sphinx-warning-autosummary-redundant-module
Aug 15, 2024
Merged

dschult merged 1 commit into
networkx:mainfrom
rossbar:sphinx-warning-autosummary-redundant-module

Conversation

@rossbar

@rossbar rossbar commented Aug 15, 2024

Copy link
Copy Markdown
Contributor

Autosummary started raising warnings in the sphinx 7.4.X series related to multiple specifications of the parent module in autosummary directives (xref sphinx-doc/sphinx#12589).

There were some such instances in the tutorial. In this case the networkx. was unnecessary because the .. currentmodule:: networkx was specified at the top of the tutorial.

These changes preserve correct linking and get rid of the sphinx warnings.

Autosummary started raising warnings in the sphinx 7.4.X
series related to multiple specifications of the parent module
in autosummary directives.

There were some such instances in the tutorial. In this case the
 was unnecessary because the
was specified at the top of the tutorial.

These changes preserve correct linking and get rid of the sphinx warnings.

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

Thanks!!

@dschult
dschult merged commit 6be6829 into networkx:main Aug 15, 2024
rossbar added a commit to Peiffap/networkx that referenced this pull request Sep 6, 2024
Autosummary started raising warnings in the sphinx 7.4.X
series related to multiple specifications of the parent module
in autosummary directives.

There were some such instances in the tutorial. In this case the
 was unnecessary because the
was specified at the top of the tutorial.

These changes preserve correct linking and get rid of the sphinx warnings.
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