Unify arguments for component name and instance in core.py.
commit4f2e8592286bf299c2bb2af53691000280792f97
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 18 Jun 2024 07:44:50 +0000 (18 07:44 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 18 Jun 2024 07:44:50 +0000 (18 07:44 +0000)
tree448771307092f908699f365c2e6b846c064cfa7e
parent6cf5e8381e6c165fecc78cdf75edfca75b969b8f
Unify arguments for component name and instance in core.py.

Allow a string value (component name or alias) in the
"reader", "parser", and "writer" arguments of `Publisher.__init__()`
and the `publish_*()` convenience functions.

Warn about the pending removal of the "reader_name",
"parser_name", and "writer_name" function arguments.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9770 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/HISTORY.txt
docutils/RELEASE-NOTES.txt
docutils/docutils/core.py
docutils/test/test_publisher.py