Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #30255 -- Fixed admindocs errors when rendering docstrings without leading newlines. #12155

Merged
merged 1 commit into from Nov 29, 2019

Conversation

bmispelon
Copy link
Member

…g with no leading newline

ticket-30255

@felixxm felixxm self-assigned this Nov 29, 2019
@felixxm felixxm changed the title Fixed #30255 -- Fixed docutils error when rendering indented docstrin… Fixed #30255 -- Fixed admindocs error when rendering docstring without leading newlines. Nov 29, 2019
@felixxm felixxm changed the title Fixed #30255 -- Fixed admindocs error when rendering docstring without leading newlines. Fixed #30255 -- Fixed admindocs error when rendering docstrings without leading newlines. Nov 29, 2019
…out leading newlines.

Used inspect.cleandoc() which implements PEP-257 instead of an internal
hook.
@felixxm felixxm changed the title Fixed #30255 -- Fixed admindocs error when rendering docstrings without leading newlines. Fixed #30255 -- Fixed admindocs errors when rendering docstrings without leading newlines. Nov 29, 2019
@felixxm
Copy link
Member

felixxm commented Nov 29, 2019

@bmispelon Thanks 👍 I pushed minor edits.

@felixxm felixxm merged commit f47ba7e into django:master Nov 29, 2019
@bmispelon bmispelon deleted the ticket-30255 branch November 29, 2019 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants