Skip to content

Commit

Permalink
Update cylc/sphinx_ext/cylc_lang/autodocumenters.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim authored Aug 23, 2024
1 parent f12d0c4 commit 3498b31
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions cylc/sphinx_ext/cylc_lang/autodocumenters.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,17 +250,6 @@ def doc_spec(spec):
return ret


class Doc(ViewList):
"""Convenience wrapper for ViewList to allow us to use it to
collect lines of RST, with options to underline."""
def append(self, text, underline=None):
super().append(text, '', 1)
if underline:
super().append(underline * len(text), '', 1)
super().append('', '', 1)


class CylcAutoDirective(Directive):
"""Auto-documenter for Parsec configuration schemas.
This implementation translates a Parsec ``SPEC`` into an RST document then
Expand Down

0 comments on commit 3498b31

Please sign in to comment.