chiark / gitweb /
documentation/python: less responsibility on docstring-processing plugins.
authorVladimír Vondruš <mosra@centrum.cz>
Fri, 30 Aug 2019 12:59:21 +0000 (14:59 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Fri, 30 Aug 2019 16:29:56 +0000 (18:29 +0200)
commita380b6fc77130d60f796d7d51010dba4cf9cc046
tree59b1706f57339f3105ba47b5b8d0449691371c29
parent3df47622738eed1f3e6b880066865ceaa9caef4e
documentation/python: less responsibility on docstring-processing plugins.

Until now, the plugin was expected to fill both summary and content for
the symbol it's ccalled on. THat made plugin implementation harder than it
should be, causing a lot of code duplication and explosion of testing
effort.

Now the script simply sills in summary / content if it isn't there after
all processing and that's it. No asserts anymore.
documentation/python.py
plugins/m/sphinx.py