Update calls to the `core.publish_*()` convenience functions.
commit7043c09fafe48d62679d90ce56548946218040e9
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 18 Jun 2024 08:00:10 +0000 (18 08:00 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 18 Jun 2024 08:00:10 +0000 (18 08:00 +0000)
tree68b675ce4a366962264bf794cad19bb2b60079c9
parent4f2e8592286bf299c2bb2af53691000280792f97
Update calls to the `core.publish_*()` convenience functions.

Don't call the internal auxilliary function `publish_programmatically()`
from the "example.py" usage example.

Use "reader", "parser", "writer" instad of
"reader_name", "parser_name", "writer_name".

Simplifies code and avoids `PendingDeprecationsWarning`s.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9771 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
64 files changed:
docutils/docutils/__main__.py
docutils/docutils/examples.py
docutils/test/functional/tests/compact_lists.py
docutils/test/functional/tests/dangerous.py
docutils/test/functional/tests/field_name_limit.py
docutils/test/functional/tests/footnotes_html5.py
docutils/test/functional/tests/latex_babel.py
docutils/test/functional/tests/latex_cornercases.py
docutils/test/functional/tests/latex_cyrillic.py
docutils/test/functional/tests/latex_docinfo.py
docutils/test/functional/tests/latex_leavevmode.py
docutils/test/functional/tests/latex_literal_block.py
docutils/test/functional/tests/latex_literal_block_fancyvrb.py
docutils/test/functional/tests/latex_literal_block_listings.py
docutils/test/functional/tests/latex_literal_block_verbatim.py
docutils/test/functional/tests/latex_literal_block_verbatimtab.py
docutils/test/functional/tests/latex_memoir.py
docutils/test/functional/tests/math_output_html.py
docutils/test/functional/tests/math_output_latex.py
docutils/test/functional/tests/math_output_mathjax.py
docutils/test/functional/tests/math_output_mathml.py
docutils/test/functional/tests/misc_rst_html4css1.py
docutils/test/functional/tests/misc_rst_html5.py
docutils/test/functional/tests/pep_html.py
docutils/test/functional/tests/standalone_rst_docutils_xml.py
docutils/test/functional/tests/standalone_rst_html4css1.py
docutils/test/functional/tests/standalone_rst_html5.py
docutils/test/functional/tests/standalone_rst_html5_tuftig.py
docutils/test/functional/tests/standalone_rst_latex.py
docutils/test/functional/tests/standalone_rst_manpage.py
docutils/test/functional/tests/standalone_rst_pseudoxml.py
docutils/test/functional/tests/standalone_rst_s5_html_1.py
docutils/test/functional/tests/standalone_rst_s5_html_2.py
docutils/test/functional/tests/standalone_rst_xetex.py
docutils/test/functional/tests/standalone_xml_xml.py
docutils/test/functional/tests/xetex_cyrillic.py
docutils/test/test_dependencies.py
docutils/test/test_parsers/test_get_parser_class.py
docutils/test/test_traversals.py
docutils/test/test_utils/test_math/test_tex2mathml_extern.py
docutils/test/test_writers/test_docutils_xml.py
docutils/test/test_writers/test_html4css1_misc.py
docutils/test/test_writers/test_html4css1_parts.py
docutils/test/test_writers/test_html4css1_template.py
docutils/test/test_writers/test_html5_polyglot_misc.py
docutils/test/test_writers/test_html5_polyglot_parts.py
docutils/test/test_writers/test_html5_template.py
docutils/test/test_writers/test_latex2e.py
docutils/test/test_writers/test_latex2e_misc.py
docutils/test/test_writers/test_manpage.py
docutils/test/test_writers/test_null.py
docutils/test/test_writers/test_odt.py
docutils/test/test_writers/test_pseudoxml.py
docutils/test/test_writers/test_s5.py
docutils/tools/buildhtml.py
docutils/tools/dev/profile_docutils.py
docutils/tools/rst2html.py
docutils/tools/rst2html4.py
docutils/tools/rst2html5.py
docutils/tools/rst2latex.py
docutils/tools/rst2s5.py
docutils/tools/rst2xetex.py
docutils/tools/rst2xml.py
docutils/tools/rstpep2html.py