From 3498b31a669ad3dff84d45a7652053635655689d Mon Sep 17 00:00:00 2001 From: Tim Pillinger <26465611+wxtim@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:58:45 +0100 Subject: [PATCH] Update cylc/sphinx_ext/cylc_lang/autodocumenters.py --- cylc/sphinx_ext/cylc_lang/autodocumenters.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cylc/sphinx_ext/cylc_lang/autodocumenters.py b/cylc/sphinx_ext/cylc_lang/autodocumenters.py index 26639cf..751b1ff 100644 --- a/cylc/sphinx_ext/cylc_lang/autodocumenters.py +++ b/cylc/sphinx_ext/cylc_lang/autodocumenters.py @@ -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