-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test support for Sphinx's version changes directives
https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-versionadded https://github.com/sphinx-doc/sphinx/blob/5a6b2b16b6b588cdd4dab1b43b7873153da10baa/sphinx/domains/changeset.py
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class="phpdocumentor-versionchange versionadded"> | ||
<p class="versionmodified added">New in version 2.0</p> | ||
<article> | ||
<p>Some feature was introduced.</p> | ||
</article> | ||
</div> | ||
<div class="phpdocumentor-versionchange versionchanged"> | ||
<p class="versionmodified changed">Changed in version 2.2</p> | ||
<article> | ||
<p>Some feature changed, prior to 2.2 it behaved differently.</p> | ||
</article> | ||
</div> | ||
<div class="phpdocumentor-versionchange deprecated"> | ||
<p class="versionmodified deprecated">Deprecated since version 2.4</p> | ||
<article> | ||
<p>Don't use this feature, it'll be removed in 3.0.</p> | ||
</article> | ||
</div> |
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,11 @@ | ||
.. versionadded:: 2.0 | ||
|
||
Some feature was introduced. | ||
|
||
.. versionchanged:: 2.2 | ||
|
||
Some feature changed, prior to 2.2 it behaved differently. | ||
|
||
.. deprecated:: 2.4 | ||
|
||
Don't use this feature, it'll be removed in 3.0. |