-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leave trailing line break in reST directives (#385)
* Add to `pdoc.test.Docformats.test_reST_include` to catch issue. * Add a single line-break at the end of `.. include::`ed files - except for when in a code block. * Minor change comment * Revert last 2 commits. * Don't consume trailing newline from reST directives. * [] itself a disjunctive list of characters
- Loading branch information
Showing
4 changed files
with
28 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
| Name | Value | | ||
| ----- | ----- | | ||
| Hello | World | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,8 @@ | |
.. include:: foo/../_include_me.py | ||
:start-after: = | ||
:end-before: 4 | ||
.. include:: table.md | ||
Remaining. | ||
""" |