diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-02-05 14:12:41 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-02-05 14:12:41 +0000 |
| commit | f852680a63c35becfe3cd280afe95bd79d737562 (patch) | |
| tree | 8f3391e2292101d0016dbb53226f751f36fd42ae /docutils/__init__.py | |
| parent | 26fd495a47b06d2d738ce67f7fa452abb29f69af (diff) | |
| download | docutils-f852680a63c35becfe3cd280afe95bd79d737562.tar.gz | |
Small fixes, mostly documentation. Test more "list" settings.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8998 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/__init__.py')
| -rw-r--r-- | docutils/__init__.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docutils/__init__.py b/docutils/__init__.py index 2280a2855..358fc7d8b 100644 --- a/docutils/__init__.py +++ b/docutils/__init__.py @@ -139,6 +139,17 @@ class SettingsSpec: SettingsSpec subclass objects used by `docutils.frontend.OptionParser`. """ + # TODO: replace settings_specs with a new data structure + # Backwards compatiblity: + # Drop-in components: + # Sphinx supplies settings_spec in the current format in some places + # Myst parser provides a settings_spec tuple + # + # Sphinx reads a settings_spec in order to set a default value + # in writers/html.py:59 + # https://github.com/sphinx-doc/sphinx/blob/4.x/sphinx/writers/html.py + # This should be changed (before retiring the old format) + # to use `settings_default_overrides` instead. settings_spec = () """Runtime settings specification. Override in subclasses. |
