diff options
| author | Jakob Lykke Andersen <Jakob@caput.dk> | 2021-03-20 16:25:09 +0100 |
|---|---|---|
| committer | Jakob Lykke Andersen <Jakob@caput.dk> | 2021-04-12 19:05:58 +0200 |
| commit | d131ec7acbc2026c0cc05c58fa39f3d845f3e6ba (patch) | |
| tree | 247ab71fb8a0edc7d163b57fa5baa161d5410483 /sphinx/addnodes.py | |
| parent | 3c9a74cb0b9e5ca90adfb1ee55b2262717fae223 (diff) | |
| download | sphinx-git-d131ec7acbc2026c0cc05c58fa39f3d845f3e6ba.tar.gz | |
Decl styling, move desc dynamic classes to domain base class
Diffstat (limited to 'sphinx/addnodes.py')
| -rw-r--r-- | sphinx/addnodes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py index f818e496d..ac41dd951 100644 --- a/sphinx/addnodes.py +++ b/sphinx/addnodes.py @@ -134,6 +134,9 @@ class desc(nodes.Admonition, nodes.Element): - The name of the object type in the domain, e.g., ``function``. """ + # TODO: can we introduce a constructor + # that forces the specification of the domain and objtyp? + class desc_signature(nodes.Part, nodes.Inline, nodes.TextElement): """Node for a single object signature. |
