forked from sphinx-doc/sphinx
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sphinx-doc#9568: autosummary: summarise overlined sectioned headi…
…ngs correctly Add an extra step in the autosummary summariser algorithm to get a valid text form of section headings. This fixed issues when the first element of a summarised document was a section heading with overlines, such as ======= Heading ======= Previously, the first line would be taken verbatim, which caused parse errors in the rest of the document.
- Loading branch information
1 parent
8fd4373
commit 9d7fa75
Showing
3 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters