mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9461 from tk0miya/9445_class_property
Close #9445: Support class properties
This commit is contained in:
@@ -329,6 +329,13 @@ The following directives are provided for module and class contents:
|
||||
|
||||
Indicate the property is abstract.
|
||||
|
||||
.. rst:directive:option:: classmethod
|
||||
:type: no value
|
||||
|
||||
Indicate the property is a classmethod.
|
||||
|
||||
.. versionaddedd: 4.2
|
||||
|
||||
.. rst:directive:option:: type: type of the property
|
||||
:type: text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user