mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '3.x'
This commit is contained in:
@@ -212,6 +212,15 @@ The following directives are provided for module and class contents:
|
||||
Describes an exception class. The signature can, but need not include
|
||||
parentheses with constructor arguments.
|
||||
|
||||
.. rubric:: options
|
||||
|
||||
.. rst:directive:option:: final
|
||||
:type: no value
|
||||
|
||||
Indicate the class is a final class.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
.. rst:directive:: .. py:class:: name
|
||||
.. py:class:: name(parameters)
|
||||
|
||||
@@ -235,6 +244,15 @@ The following directives are provided for module and class contents:
|
||||
|
||||
The first way is the preferred one.
|
||||
|
||||
.. rubric:: options
|
||||
|
||||
.. rst:directive:option:: final
|
||||
:type: no value
|
||||
|
||||
Indicate the class is a final class.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
.. rst:directive:: .. py:attribute:: name
|
||||
|
||||
Describes an object data attribute. The description should include
|
||||
@@ -283,6 +301,13 @@ The following directives are provided for module and class contents:
|
||||
|
||||
.. versionadded:: 2.1
|
||||
|
||||
.. rst:directive:option:: final
|
||||
:type: no value
|
||||
|
||||
Indicate the class is a final method.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
.. rst:directive:option:: property
|
||||
:type: no value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user