FIX: Add blank line at end of table of contents block#1094
Merged
larsoner merged 1 commit intosphinx-gallery:masterfrom Mar 9, 2023
Merged
FIX: Add blank line at end of table of contents block#1094larsoner merged 1 commit intosphinx-gallery:masterfrom
larsoner merged 1 commit intosphinx-gallery:masterfrom
Conversation
Without this, it can come up against a next text block, e.g. subsection title, which will cause indentation error.
Contributor
|
Argh yes this seems like a regression and a reasonable fix. I'll merge and backport to a |
Contributor
|
0.12.1 cut with this fix: https://pypi.org/project/sphinx-gallery/0.12.1/ |
clrpackages
referenced
this pull request
in clearlinux-pkgs/pypi-sphinx_gallery
Mar 11, 2023
… to version 0.12.1 v0.12.1 ------- **Fixed bugs:** - BUG: Fix bug with show_api_usage `#1095 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1095>`__ (`larsoner <https://github.com/larsoner>`__) - FIX: Add blank line at end of table of contents block `#1094 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1094>`__ (`sdhiscocks <https://github.com/sdhiscocks>`__) v0.12.0 ------- Support for Sphinx < 4 dropped in this release. Requirement is Sphinx >= 4. **Implemented enhancements:** - ENH: allow rst files to pass through `#1071 <https://github.com/sphinx-gallery/sphinx-gallery/pull/1071>`__ (`jklymak <https://github.com/jklymak>`__) (NEWS truncated at 15 lines)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Without this, it can come up against a next text block, e.g. subsection title, which will cause indentation error.
Example below of issue raising
...\auto_tutorials\index.rst:204:Explicit markup ends without a blank line; unexpected unindent.Before:
After (applying this PR):