8000 [doc] Fix dis markup by andresdelfino · Pull Request #23524 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@andresdelfino
Copy link
Contributor

No description provided.

@gpshead gpshead merged commit fa840cc into python:master Nov 28, 2020
@miss-islington
Copy link
Contributor

Thanks @andresdelfino for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@gpshead
Copy link
Member
gpshead commented Nov 28, 2020

thanks!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 28, 2020
(cherry picked from commit fa840cc)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
@bedevere-bot
Copy link

GH-23545 is a backport of this pull request to the 3.9 branch.

miss-islington added a commit that referenced this pull request Nov 28, 2020
(cherry picked from commit fa840cc)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
@andresdelfino andresdelfino deleted the dis_markup branch November 28, 2020 22:27
@rhettinger
Copy link
Contributor

Does this have any visual effect for the reader?

@serhiy-storchaka
Copy link
Member

Good catch! And it is common error. Perhaps we can add a check in Doc/tools/rstlint.py which checks that the text following a directive does not have excessive indentation.

@mdickinson
Copy link
Member

which checks that the text following a directive does not have excessive indentation

I think the issue wasn't excessive indentation, but instead inconsistent indentation within the block for the directive. The text was indented four spaces while the .. versionadded directive that was also part of the same block was indented three spaces. Indenting the .. versionadded directive one extra space would also have fixed the issue.

@andresdelfino
Copy link
Contributor Author

Does this have any visual effect for the reader?

Yes.

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

0