mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Demodocs: move version info into python module
This commit is contained in:
parent
df71e5b460
commit
84f914eac7
@ -331,13 +331,6 @@ Data
|
|||||||
|
|
||||||
Some data link :data:`Data_item_1`.
|
Some data link :data:`Data_item_1`.
|
||||||
|
|
||||||
.. versionadded:: 1.0
|
|
||||||
This was added in 1.0
|
|
||||||
.. versionchanged:: 2.0
|
|
||||||
This was changed in 2.0
|
|
||||||
.. deprecated:: 3.0
|
|
||||||
This is deprecated since 3.0
|
|
||||||
|
|
||||||
Download links
|
Download links
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
class Foo:
|
class Foo:
|
||||||
|
|
||||||
r"""Docstring for class Foo.
|
"""Docstring for class Foo.
|
||||||
|
|
||||||
This text tests for the formatting of docstrings generated from output
|
This text tests for the formatting of docstrings generated from output
|
||||||
``sphinx.ext.autodoc``. Which contain reST, but sphinx nests it in the
|
``sphinx.ext.autodoc``. Which contain reST, but sphinx nests it in the
|
||||||
@ -103,5 +103,11 @@ class Foo:
|
|||||||
|
|
||||||
:raises ValueError: When ``a`` is not an integer.
|
:raises ValueError: When ``a`` is not an integer.
|
||||||
|
|
||||||
|
.. versionadded:: 1.0
|
||||||
|
This was added in 1.0
|
||||||
|
.. versionchanged:: 2.0
|
||||||
|
This was changed in 2.0
|
||||||
|
.. deprecated:: 3.0
|
||||||
|
This is deprecated since 3.0
|
||||||
"""
|
"""
|
||||||
return sum(kwargs.values()) / len(kwargs), a + b
|
return sum(kwargs.values()) / len(kwargs), a + b
|
||||||
|
Loading…
Reference in New Issue
Block a user