From c72c910371230e904d92cee0513cf686b896d2dd Mon Sep 17 00:00:00 2001
From: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Date: Wed, 5 Jan 2022 16:40:46 +0000
Subject: [PATCH 1/2] Rename all .txt files to .rst
---
docutils/{BUGS.txt => BUGS.rst} | 0
docutils/{COPYING.txt => COPYING.rst} | 0
docutils/{FAQ.txt => FAQ.rst} | 0
docutils/{HISTORY.txt => HISTORY.rst} | 0
docutils/{README.txt => README.rst} | 0
docutils/{RELEASE-NOTES.txt => RELEASE-NOTES.rst} | 0
docutils/{THANKS.txt => THANKS.rst} | 0
docutils/docs/api/{cmdline-tool.txt => cmdline-tool.rst} | 0
docutils/docs/api/{publisher.txt => publisher.rst} | 0
docutils/docs/api/{runtime-settings.txt => runtime-settings.rst} | 0
docutils/docs/dev/{distributing.txt => distributing.rst} | 0
docutils/docs/dev/{enthought-plan.txt => enthought-plan.rst} | 0
docutils/docs/dev/{enthought-rfp.txt => enthought-rfp.rst} | 0
docutils/docs/dev/{hacking.txt => hacking.rst} | 0
docutils/docs/dev/{policies.txt => policies.rst} | 0
docutils/docs/dev/{pysource.txt => pysource.rst} | 0
docutils/docs/dev/{release.txt => release.rst} | 0
docutils/docs/dev/{repository.txt => repository.rst} | 0
docutils/docs/dev/rst/{alternatives.txt => alternatives.rst} | 0
docutils/docs/dev/rst/{problems.txt => problems.rst} | 0
docutils/docs/dev/{semantics.txt => semantics.rst} | 0
docutils/docs/dev/{testing.txt => testing.rst} | 0
docutils/docs/dev/{todo.txt => todo.rst} | 0
docutils/docs/dev/{website.txt => website.rst} | 0
.../docs/howto/{html-stylesheets.txt => html-stylesheets.rst} | 0
docutils/docs/howto/{i18n.txt => i18n.rst} | 0
docutils/docs/howto/{rst-directives.txt => rst-directives.rst} | 0
docutils/docs/howto/{rst-roles.txt => rst-roles.rst} | 0
docutils/docs/howto/{security.txt => security.rst} | 0
docutils/docs/{index.txt => index.rst} | 0
docutils/docs/peps/{pep-0256.txt => pep-0256.rst} | 0
docutils/docs/peps/{pep-0257.txt => pep-0257.rst} | 0
docutils/docs/peps/{pep-0258.txt => pep-0258.rst} | 0
docutils/docs/peps/{pep-0287.txt => pep-0287.rst} | 0
docutils/docs/ref/{doctree.txt => doctree.rst} | 0
docutils/docs/ref/rst/{definitions.txt => definitions.rst} | 0
docutils/docs/ref/rst/{directives.txt => directives.rst} | 0
docutils/docs/ref/rst/{introduction.txt => introduction.rst} | 0
docutils/docs/ref/rst/{mathematics.txt => mathematics.rst} | 0
.../docs/ref/rst/{restructuredtext.txt => restructuredtext.rst} | 0
docutils/docs/ref/rst/{roles.txt => roles.rst} | 0
docutils/docs/ref/{transforms.txt => transforms.rst} | 0
docutils/docs/user/{config.txt => config.rst} | 0
docutils/docs/user/{emacs.txt => emacs.rst} | 0
docutils/docs/user/{html.txt => html.rst} | 0
docutils/docs/user/{latex.txt => latex.rst} | 0
docutils/docs/user/{links.txt => links.rst} | 0
docutils/docs/user/{mailing-lists.txt => mailing-lists.rst} | 0
docutils/docs/user/{manpage.txt => manpage.rst} | 0
docutils/docs/user/{odt.txt => odt.rst} | 0
docutils/docs/user/rst/{cheatsheet.txt => cheatsheet.rst} | 0
docutils/docs/user/rst/{demo.txt => demo.rst} | 0
docutils/docs/user/rst/{quickstart.txt => quickstart.rst} | 0
docutils/docs/user/{slide-shows.txt => slide-shows.rst} | 0
docutils/docs/user/{smartquotes.txt => smartquotes.rst} | 0
docutils/docs/user/{tools.txt => tools.rst} | 0
.../docutils/writers/s5_html/themes/{README.txt => README.rst} | 0
docutils/test/data/{config_1.txt => config_1.rst} | 0
docutils/test/data/{config_2.txt => config_2.rst} | 0
.../data/{config_error_handler.txt => config_error_handler.rst} | 0
docutils/test/data/{config_list.txt => config_list.rst} | 0
docutils/test/data/{config_list_2.txt => config_list_2.rst} | 0
docutils/test/data/{config_old.txt => config_old.rst} | 0
docutils/test/data/{csv_data.txt => csv_data.rst} | 0
docutils/test/data/{csv_dep.txt => csv_dep.rst} | 0
docutils/test/data/{dependencies.txt => dependencies.rst} | 0
docutils/test/data/{full-template.txt => full-template.rst} | 0
docutils/test/data/{include.txt => include.rst} | 0
docutils/test/data/{latin1.txt => latin1.rst} | 0
docutils/test/data/{raw.txt => raw.rst} | 0
docutils/test/data/{stylesheet.txt => stylesheet.rst} | 0
docutils/test/functional/{README.txt => README.rst} | 0
...{standalone_rst_pseudoxml.txt => standalone_rst_pseudoxml.rst} | 0
.../functional/input/{compact_lists.txt => compact_lists.rst} | 0
docutils/test/functional/input/{cyrillic.txt => cyrillic.rst} | 0
docutils/test/functional/input/{dangerous.txt => dangerous.rst} | 0
.../input/data/{classes_latex.txt => classes_latex.rst} | 0
.../{comprehensive-math-test.txt => comprehensive-math-test.rst} | 0
.../functional/input/data/{custom_roles.txt => custom_roles.rst} | 0
.../input/data/{custom_roles_latex.txt => custom_roles_latex.rst} | 0
.../functional/input/data/{embed_images.txt => embed_images.rst} | 0
docutils/test/functional/input/data/{errors.txt => errors.rst} | 0
.../input/data/{header_footer.txt => header_footer.rst} | 0
.../input/data/{html5-features.txt => html5-features.rst} | 0
.../data/{html5-text-level-tags.txt => html5-text-level-tags.rst} | 0
.../functional/input/data/{hyperlinking.txt => hyperlinking.rst} | 0
.../input/data/{latex-problematic.txt => latex-problematic.rst} | 0
.../input/data/{latex_encoding.txt => latex_encoding.rst} | 0
.../test/functional/input/data/{list_table.txt => list_table.rst} | 0
docutils/test/functional/input/data/{math.txt => math.rst} | 0
.../input/data/{nonalphanumeric.txt => nonalphanumeric.rst} | 0
.../functional/input/data/{option_lists.txt => option_lists.rst} | 0
.../input/data/{section_titles.txt => section_titles.rst} | 0
.../test/functional/input/data/{standard.txt => standard.rst} | 0
.../test/functional/input/data/{svg_images.txt => svg_images.rst} | 0
.../test/functional/input/data/{swf_images.txt => swf_images.rst} | 0
.../input/data/{table_colspan.txt => table_colspan.rst} | 0
.../input/data/{table_complex.txt => table_complex.rst} | 0
.../input/data/{table_rowspan.txt => table_rowspan.rst} | 0
.../functional/input/data/{tables_latex.txt => tables_latex.rst} | 0
docutils/test/functional/input/data/{unicode.txt => unicode.rst} | 0
docutils/test/functional/input/data/{urls.txt => urls.rst} | 0
docutils/test/functional/input/data/{video.txt => video.rst} | 0
docutils/test/functional/input/{field_list.txt => field_list.rst} | 0
docutils/test/functional/input/{footnotes.txt => footnotes.rst} | 0
.../test/functional/input/{latex_babel.txt => latex_babel.rst} | 0
.../input/{latex_cornercases.txt => latex_cornercases.rst} | 0
.../functional/input/{latex_docinfo.txt => latex_docinfo.rst} | 0
.../input/{latex_leavevmode.txt => latex_leavevmode.rst} | 0
.../input/{latex_literal_block.txt => latex_literal_block.rst} | 0
.../input/{misc_rst_html4css1.txt => misc_rst_html4css1.rst} | 0
.../functional/input/{misc_rst_html5.txt => misc_rst_html5.rst} | 0
docutils/test/functional/input/{odt_basic.txt => odt_basic.rst} | 0
.../functional/input/{odt_classifier.txt => odt_classifier.rst} | 0
.../test/functional/input/{odt_contents.txt => odt_contents.rst} | 0
.../input/{odt_custom_headfoot.txt => odt_custom_headfoot.rst} | 0
.../functional/input/{odt_footnotes.txt => odt_footnotes.rst} | 0
.../input/{odt_header_footer.txt => odt_header_footer.rst} | 0
.../input/{odt_literal_block.txt => odt_literal_block.rst} | 0
.../input/{odt_nested_class.txt => odt_nested_class.rst} | 0
.../test/functional/input/{odt_no_class.txt => odt_no_class.rst} | 0
docutils/test/functional/input/{odt_raw.txt => odt_raw.rst} | 0
.../test/functional/input/{odt_tables1.txt => odt_tables1.rst} | 0
.../input/{odt_unnested_class.txt => odt_unnested_class.rst} | 0
docutils/test/functional/input/{pep_html.txt => pep_html.rst} | 0
docutils/test/functional/input/{simple.txt => simple.rst} | 0
...alone_rst_docutils_xml.txt => standalone_rst_docutils_xml.rst} | 0
...{standalone_rst_html4css1.txt => standalone_rst_html4css1.rst} | 0
.../input/{standalone_rst_html5.txt => standalone_rst_html5.rst} | 0
.../input/{standalone_rst_latex.txt => standalone_rst_latex.rst} | 0
.../{standalone_rst_manpage.txt => standalone_rst_manpage.rst} | 0
...{standalone_rst_pseudoxml.txt => standalone_rst_pseudoxml.rst} | 0
.../{standalone_rst_s5_html.txt => standalone_rst_s5_html.rst} | 0
.../input/{standalone_rst_xetex.txt => standalone_rst_xetex.rst} | 0
docutils/test/functional/output/{README.txt => README.rst} | 0
.../test_rst/includes/{include14.txt => include14.rst} | 0
.../test_parsers/test_rst/includes/{include9.txt => include9.rst} | 0
.../test_rst/test_directives/{empty.txt => empty.rst} | 0
.../test_rst/test_directives/{include 11.txt => include 11.rst} | 0
.../test_rst/test_directives/{include1.txt => include1.rst} | 0
.../test_rst/test_directives/{include10.txt => include10.rst} | 0
.../test_rst/test_directives/{include12.txt => include12.rst} | 0
.../test_rst/test_directives/{include13.txt => include13.rst} | 0
.../test_rst/test_directives/{include2.txt => include2.rst} | 0
.../test_rst/test_directives/{include3.txt => include3.rst} | 0
.../test_rst/test_directives/{include8.txt => include8.rst} | 0
.../test_directives/{include_literal.txt => include_literal.rst} | 0
.../test_directives/includes/{include14.txt => include14.rst} | 0
.../test_directives/includes/{include15.txt => include15.rst} | 0
.../test_directives/includes/{include16.txt => include16.rst} | 0
.../test_directives/includes/{include4.txt => include4.rst} | 0
.../test_directives/includes/{include5.txt => include5.rst} | 0
.../test_directives/includes/more/{include6.txt => include6.rst} | 0
.../includes/sibling/{include7.txt => include7.rst} | 0
.../test_parsers/test_rst/test_directives/{raw1.txt => raw1.rst} | 0
docutils/tools/dev/{README.txt => README.rst} | 0
docutils/tools/editors/{README.txt => README.rst} | 0
docutils/tools/editors/emacs/{README.txt => README.rst} | 0
docutils/tools/editors/emacs/tests/{README.txt => README.rst} | 0
159 files changed, 0 insertions(+), 0 deletions(-)
rename docutils/{BUGS.txt => BUGS.rst} (100%)
rename docutils/{COPYING.txt => COPYING.rst} (100%)
rename docutils/{FAQ.txt => FAQ.rst} (100%)
rename docutils/{HISTORY.txt => HISTORY.rst} (100%)
rename docutils/{README.txt => README.rst} (100%)
rename docutils/{RELEASE-NOTES.txt => RELEASE-NOTES.rst} (100%)
rename docutils/{THANKS.txt => THANKS.rst} (100%)
rename docutils/docs/api/{cmdline-tool.txt => cmdline-tool.rst} (100%)
rename docutils/docs/api/{publisher.txt => publisher.rst} (100%)
rename docutils/docs/api/{runtime-settings.txt => runtime-settings.rst} (100%)
rename docutils/docs/dev/{distributing.txt => distributing.rst} (100%)
rename docutils/docs/dev/{enthought-plan.txt => enthought-plan.rst} (100%)
rename docutils/docs/dev/{enthought-rfp.txt => enthought-rfp.rst} (100%)
rename docutils/docs/dev/{hacking.txt => hacking.rst} (100%)
rename docutils/docs/dev/{policies.txt => policies.rst} (100%)
rename docutils/docs/dev/{pysource.txt => pysource.rst} (100%)
rename docutils/docs/dev/{release.txt => release.rst} (100%)
rename docutils/docs/dev/{repository.txt => repository.rst} (100%)
rename docutils/docs/dev/rst/{alternatives.txt => alternatives.rst} (100%)
rename docutils/docs/dev/rst/{problems.txt => problems.rst} (100%)
rename docutils/docs/dev/{semantics.txt => semantics.rst} (100%)
rename docutils/docs/dev/{testing.txt => testing.rst} (100%)
rename docutils/docs/dev/{todo.txt => todo.rst} (100%)
rename docutils/docs/dev/{website.txt => website.rst} (100%)
rename docutils/docs/howto/{html-stylesheets.txt => html-stylesheets.rst} (100%)
rename docutils/docs/howto/{i18n.txt => i18n.rst} (100%)
rename docutils/docs/howto/{rst-directives.txt => rst-directives.rst} (100%)
rename docutils/docs/howto/{rst-roles.txt => rst-roles.rst} (100%)
rename docutils/docs/howto/{security.txt => security.rst} (100%)
rename docutils/docs/{index.txt => index.rst} (100%)
rename docutils/docs/peps/{pep-0256.txt => pep-0256.rst} (100%)
rename docutils/docs/peps/{pep-0257.txt => pep-0257.rst} (100%)
rename docutils/docs/peps/{pep-0258.txt => pep-0258.rst} (100%)
rename docutils/docs/peps/{pep-0287.txt => pep-0287.rst} (100%)
rename docutils/docs/ref/{doctree.txt => doctree.rst} (100%)
rename docutils/docs/ref/rst/{definitions.txt => definitions.rst} (100%)
rename docutils/docs/ref/rst/{directives.txt => directives.rst} (100%)
rename docutils/docs/ref/rst/{introduction.txt => introduction.rst} (100%)
rename docutils/docs/ref/rst/{mathematics.txt => mathematics.rst} (100%)
rename docutils/docs/ref/rst/{restructuredtext.txt => restructuredtext.rst} (100%)
rename docutils/docs/ref/rst/{roles.txt => roles.rst} (100%)
rename docutils/docs/ref/{transforms.txt => transforms.rst} (100%)
rename docutils/docs/user/{config.txt => config.rst} (100%)
rename docutils/docs/user/{emacs.txt => emacs.rst} (100%)
rename docutils/docs/user/{html.txt => html.rst} (100%)
rename docutils/docs/user/{latex.txt => latex.rst} (100%)
rename docutils/docs/user/{links.txt => links.rst} (100%)
rename docutils/docs/user/{mailing-lists.txt => mailing-lists.rst} (100%)
rename docutils/docs/user/{manpage.txt => manpage.rst} (100%)
rename docutils/docs/user/{odt.txt => odt.rst} (100%)
rename docutils/docs/user/rst/{cheatsheet.txt => cheatsheet.rst} (100%)
rename docutils/docs/user/rst/{demo.txt => demo.rst} (100%)
rename docutils/docs/user/rst/{quickstart.txt => quickstart.rst} (100%)
rename docutils/docs/user/{slide-shows.txt => slide-shows.rst} (100%)
rename docutils/docs/user/{smartquotes.txt => smartquotes.rst} (100%)
rename docutils/docs/user/{tools.txt => tools.rst} (100%)
rename docutils/docutils/writers/s5_html/themes/{README.txt => README.rst} (100%)
rename docutils/test/data/{config_1.txt => config_1.rst} (100%)
rename docutils/test/data/{config_2.txt => config_2.rst} (100%)
rename docutils/test/data/{config_error_handler.txt => config_error_handler.rst} (100%)
rename docutils/test/data/{config_list.txt => config_list.rst} (100%)
rename docutils/test/data/{config_list_2.txt => config_list_2.rst} (100%)
rename docutils/test/data/{config_old.txt => config_old.rst} (100%)
rename docutils/test/data/{csv_data.txt => csv_data.rst} (100%)
rename docutils/test/data/{csv_dep.txt => csv_dep.rst} (100%)
rename docutils/test/data/{dependencies.txt => dependencies.rst} (100%)
rename docutils/test/data/{full-template.txt => full-template.rst} (100%)
rename docutils/test/data/{include.txt => include.rst} (100%)
rename docutils/test/data/{latin1.txt => latin1.rst} (100%)
rename docutils/test/data/{raw.txt => raw.rst} (100%)
rename docutils/test/data/{stylesheet.txt => stylesheet.rst} (100%)
rename docutils/test/functional/{README.txt => README.rst} (100%)
rename docutils/test/functional/expected/{standalone_rst_pseudoxml.txt => standalone_rst_pseudoxml.rst} (100%)
rename docutils/test/functional/input/{compact_lists.txt => compact_lists.rst} (100%)
rename docutils/test/functional/input/{cyrillic.txt => cyrillic.rst} (100%)
rename docutils/test/functional/input/{dangerous.txt => dangerous.rst} (100%)
rename docutils/test/functional/input/data/{classes_latex.txt => classes_latex.rst} (100%)
rename docutils/test/functional/input/data/{comprehensive-math-test.txt => comprehensive-math-test.rst} (100%)
rename docutils/test/functional/input/data/{custom_roles.txt => custom_roles.rst} (100%)
rename docutils/test/functional/input/data/{custom_roles_latex.txt => custom_roles_latex.rst} (100%)
rename docutils/test/functional/input/data/{embed_images.txt => embed_images.rst} (100%)
rename docutils/test/functional/input/data/{errors.txt => errors.rst} (100%)
rename docutils/test/functional/input/data/{header_footer.txt => header_footer.rst} (100%)
rename docutils/test/functional/input/data/{html5-features.txt => html5-features.rst} (100%)
rename docutils/test/functional/input/data/{html5-text-level-tags.txt => html5-text-level-tags.rst} (100%)
rename docutils/test/functional/input/data/{hyperlinking.txt => hyperlinking.rst} (100%)
rename docutils/test/functional/input/data/{latex-problematic.txt => latex-problematic.rst} (100%)
rename docutils/test/functional/input/data/{latex_encoding.txt => latex_encoding.rst} (100%)
rename docutils/test/functional/input/data/{list_table.txt => list_table.rst} (100%)
rename docutils/test/functional/input/data/{math.txt => math.rst} (100%)
rename docutils/test/functional/input/data/{nonalphanumeric.txt => nonalphanumeric.rst} (100%)
rename docutils/test/functional/input/data/{option_lists.txt => option_lists.rst} (100%)
rename docutils/test/functional/input/data/{section_titles.txt => section_titles.rst} (100%)
rename docutils/test/functional/input/data/{standard.txt => standard.rst} (100%)
rename docutils/test/functional/input/data/{svg_images.txt => svg_images.rst} (100%)
rename docutils/test/functional/input/data/{swf_images.txt => swf_images.rst} (100%)
rename docutils/test/functional/input/data/{table_colspan.txt => table_colspan.rst} (100%)
rename docutils/test/functional/input/data/{table_complex.txt => table_complex.rst} (100%)
rename docutils/test/functional/input/data/{table_rowspan.txt => table_rowspan.rst} (100%)
rename docutils/test/functional/input/data/{tables_latex.txt => tables_latex.rst} (100%)
rename docutils/test/functional/input/data/{unicode.txt => unicode.rst} (100%)
rename docutils/test/functional/input/data/{urls.txt => urls.rst} (100%)
rename docutils/test/functional/input/data/{video.txt => video.rst} (100%)
rename docutils/test/functional/input/{field_list.txt => field_list.rst} (100%)
rename docutils/test/functional/input/{footnotes.txt => footnotes.rst} (100%)
rename docutils/test/functional/input/{latex_babel.txt => latex_babel.rst} (100%)
rename docutils/test/functional/input/{latex_cornercases.txt => latex_cornercases.rst} (100%)
rename docutils/test/functional/input/{latex_docinfo.txt => latex_docinfo.rst} (100%)
rename docutils/test/functional/input/{latex_leavevmode.txt => latex_leavevmode.rst} (100%)
rename docutils/test/functional/input/{latex_literal_block.txt => latex_literal_block.rst} (100%)
rename docutils/test/functional/input/{misc_rst_html4css1.txt => misc_rst_html4css1.rst} (100%)
rename docutils/test/functional/input/{misc_rst_html5.txt => misc_rst_html5.rst} (100%)
rename docutils/test/functional/input/{odt_basic.txt => odt_basic.rst} (100%)
rename docutils/test/functional/input/{odt_classifier.txt => odt_classifier.rst} (100%)
rename docutils/test/functional/input/{odt_contents.txt => odt_contents.rst} (100%)
rename docutils/test/functional/input/{odt_custom_headfoot.txt => odt_custom_headfoot.rst} (100%)
rename docutils/test/functional/input/{odt_footnotes.txt => odt_footnotes.rst} (100%)
rename docutils/test/functional/input/{odt_header_footer.txt => odt_header_footer.rst} (100%)
rename docutils/test/functional/input/{odt_literal_block.txt => odt_literal_block.rst} (100%)
rename docutils/test/functional/input/{odt_nested_class.txt => odt_nested_class.rst} (100%)
rename docutils/test/functional/input/{odt_no_class.txt => odt_no_class.rst} (100%)
rename docutils/test/functional/input/{odt_raw.txt => odt_raw.rst} (100%)
rename docutils/test/functional/input/{odt_tables1.txt => odt_tables1.rst} (100%)
rename docutils/test/functional/input/{odt_unnested_class.txt => odt_unnested_class.rst} (100%)
rename docutils/test/functional/input/{pep_html.txt => pep_html.rst} (100%)
rename docutils/test/functional/input/{simple.txt => simple.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_docutils_xml.txt => standalone_rst_docutils_xml.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_html4css1.txt => standalone_rst_html4css1.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_html5.txt => standalone_rst_html5.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_latex.txt => standalone_rst_latex.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_manpage.txt => standalone_rst_manpage.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_pseudoxml.txt => standalone_rst_pseudoxml.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_s5_html.txt => standalone_rst_s5_html.rst} (100%)
rename docutils/test/functional/input/{standalone_rst_xetex.txt => standalone_rst_xetex.rst} (100%)
rename docutils/test/functional/output/{README.txt => README.rst} (100%)
rename docutils/test/test_parsers/test_rst/includes/{include14.txt => include14.rst} (100%)
rename docutils/test/test_parsers/test_rst/includes/{include9.txt => include9.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{empty.txt => empty.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include 11.txt => include 11.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include1.txt => include1.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include10.txt => include10.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include12.txt => include12.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include13.txt => include13.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include2.txt => include2.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include3.txt => include3.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include8.txt => include8.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{include_literal.txt => include_literal.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/includes/{include14.txt => include14.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/includes/{include15.txt => include15.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/includes/{include16.txt => include16.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/includes/{include4.txt => include4.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/includes/{include5.txt => include5.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/includes/more/{include6.txt => include6.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/includes/sibling/{include7.txt => include7.rst} (100%)
rename docutils/test/test_parsers/test_rst/test_directives/{raw1.txt => raw1.rst} (100%)
rename docutils/tools/dev/{README.txt => README.rst} (100%)
rename docutils/tools/editors/{README.txt => README.rst} (100%)
rename docutils/tools/editors/emacs/{README.txt => README.rst} (100%)
rename docutils/tools/editors/emacs/tests/{README.txt => README.rst} (100%)
diff --git a/docutils/BUGS.txt b/docutils/BUGS.rst
similarity index 100%
rename from docutils/BUGS.txt
rename to docutils/BUGS.rst
diff --git a/docutils/COPYING.txt b/docutils/COPYING.rst
similarity index 100%
rename from docutils/COPYING.txt
rename to docutils/COPYING.rst
diff --git a/docutils/FAQ.txt b/docutils/FAQ.rst
similarity index 100%
rename from docutils/FAQ.txt
rename to docutils/FAQ.rst
diff --git a/docutils/HISTORY.txt b/docutils/HISTORY.rst
similarity index 100%
rename from docutils/HISTORY.txt
rename to docutils/HISTORY.rst
diff --git a/docutils/README.txt b/docutils/README.rst
similarity index 100%
rename from docutils/README.txt
rename to docutils/README.rst
diff --git a/docutils/RELEASE-NOTES.txt b/docutils/RELEASE-NOTES.rst
similarity index 100%
rename from docutils/RELEASE-NOTES.txt
rename to docutils/RELEASE-NOTES.rst
diff --git a/docutils/THANKS.txt b/docutils/THANKS.rst
similarity index 100%
rename from docutils/THANKS.txt
rename to docutils/THANKS.rst
diff --git a/docutils/docs/api/cmdline-tool.txt b/docutils/docs/api/cmdline-tool.rst
similarity index 100%
rename from docutils/docs/api/cmdline-tool.txt
rename to docutils/docs/api/cmdline-tool.rst
diff --git a/docutils/docs/api/publisher.txt b/docutils/docs/api/publisher.rst
similarity index 100%
rename from docutils/docs/api/publisher.txt
rename to docutils/docs/api/publisher.rst
diff --git a/docutils/docs/api/runtime-settings.txt b/docutils/docs/api/runtime-settings.rst
similarity index 100%
rename from docutils/docs/api/runtime-settings.txt
rename to docutils/docs/api/runtime-settings.rst
diff --git a/docutils/docs/dev/distributing.txt b/docutils/docs/dev/distributing.rst
similarity index 100%
rename from docutils/docs/dev/distributing.txt
rename to docutils/docs/dev/distributing.rst
diff --git a/docutils/docs/dev/enthought-plan.txt b/docutils/docs/dev/enthought-plan.rst
similarity index 100%
rename from docutils/docs/dev/enthought-plan.txt
rename to docutils/docs/dev/enthought-plan.rst
diff --git a/docutils/docs/dev/enthought-rfp.txt b/docutils/docs/dev/enthought-rfp.rst
similarity index 100%
rename from docutils/docs/dev/enthought-rfp.txt
rename to docutils/docs/dev/enthought-rfp.rst
diff --git a/docutils/docs/dev/hacking.txt b/docutils/docs/dev/hacking.rst
similarity index 100%
rename from docutils/docs/dev/hacking.txt
rename to docutils/docs/dev/hacking.rst
diff --git a/docutils/docs/dev/policies.txt b/docutils/docs/dev/policies.rst
similarity index 100%
rename from docutils/docs/dev/policies.txt
rename to docutils/docs/dev/policies.rst
diff --git a/docutils/docs/dev/pysource.txt b/docutils/docs/dev/pysource.rst
similarity index 100%
rename from docutils/docs/dev/pysource.txt
rename to docutils/docs/dev/pysource.rst
diff --git a/docutils/docs/dev/release.txt b/docutils/docs/dev/release.rst
similarity index 100%
rename from docutils/docs/dev/release.txt
rename to docutils/docs/dev/release.rst
diff --git a/docutils/docs/dev/repository.txt b/docutils/docs/dev/repository.rst
similarity index 100%
rename from docutils/docs/dev/repository.txt
rename to docutils/docs/dev/repository.rst
diff --git a/docutils/docs/dev/rst/alternatives.txt b/docutils/docs/dev/rst/alternatives.rst
similarity index 100%
rename from docutils/docs/dev/rst/alternatives.txt
rename to docutils/docs/dev/rst/alternatives.rst
diff --git a/docutils/docs/dev/rst/problems.txt b/docutils/docs/dev/rst/problems.rst
similarity index 100%
rename from docutils/docs/dev/rst/problems.txt
rename to docutils/docs/dev/rst/problems.rst
diff --git a/docutils/docs/dev/semantics.txt b/docutils/docs/dev/semantics.rst
similarity index 100%
rename from docutils/docs/dev/semantics.txt
rename to docutils/docs/dev/semantics.rst
diff --git a/docutils/docs/dev/testing.txt b/docutils/docs/dev/testing.rst
similarity index 100%
rename from docutils/docs/dev/testing.txt
rename to docutils/docs/dev/testing.rst
diff --git a/docutils/docs/dev/todo.txt b/docutils/docs/dev/todo.rst
similarity index 100%
rename from docutils/docs/dev/todo.txt
rename to docutils/docs/dev/todo.rst
diff --git a/docutils/docs/dev/website.txt b/docutils/docs/dev/website.rst
similarity index 100%
rename from docutils/docs/dev/website.txt
rename to docutils/docs/dev/website.rst
diff --git a/docutils/docs/howto/html-stylesheets.txt b/docutils/docs/howto/html-stylesheets.rst
similarity index 100%
rename from docutils/docs/howto/html-stylesheets.txt
rename to docutils/docs/howto/html-stylesheets.rst
diff --git a/docutils/docs/howto/i18n.txt b/docutils/docs/howto/i18n.rst
similarity index 100%
rename from docutils/docs/howto/i18n.txt
rename to docutils/docs/howto/i18n.rst
diff --git a/docutils/docs/howto/rst-directives.txt b/docutils/docs/howto/rst-directives.rst
similarity index 100%
rename from docutils/docs/howto/rst-directives.txt
rename to docutils/docs/howto/rst-directives.rst
diff --git a/docutils/docs/howto/rst-roles.txt b/docutils/docs/howto/rst-roles.rst
similarity index 100%
rename from docutils/docs/howto/rst-roles.txt
rename to docutils/docs/howto/rst-roles.rst
diff --git a/docutils/docs/howto/security.txt b/docutils/docs/howto/security.rst
similarity index 100%
rename from docutils/docs/howto/security.txt
rename to docutils/docs/howto/security.rst
diff --git a/docutils/docs/index.txt b/docutils/docs/index.rst
similarity index 100%
rename from docutils/docs/index.txt
rename to docutils/docs/index.rst
diff --git a/docutils/docs/peps/pep-0256.txt b/docutils/docs/peps/pep-0256.rst
similarity index 100%
rename from docutils/docs/peps/pep-0256.txt
rename to docutils/docs/peps/pep-0256.rst
diff --git a/docutils/docs/peps/pep-0257.txt b/docutils/docs/peps/pep-0257.rst
similarity index 100%
rename from docutils/docs/peps/pep-0257.txt
rename to docutils/docs/peps/pep-0257.rst
diff --git a/docutils/docs/peps/pep-0258.txt b/docutils/docs/peps/pep-0258.rst
similarity index 100%
rename from docutils/docs/peps/pep-0258.txt
rename to docutils/docs/peps/pep-0258.rst
diff --git a/docutils/docs/peps/pep-0287.txt b/docutils/docs/peps/pep-0287.rst
similarity index 100%
rename from docutils/docs/peps/pep-0287.txt
rename to docutils/docs/peps/pep-0287.rst
diff --git a/docutils/docs/ref/doctree.txt b/docutils/docs/ref/doctree.rst
similarity index 100%
rename from docutils/docs/ref/doctree.txt
rename to docutils/docs/ref/doctree.rst
diff --git a/docutils/docs/ref/rst/definitions.txt b/docutils/docs/ref/rst/definitions.rst
similarity index 100%
rename from docutils/docs/ref/rst/definitions.txt
rename to docutils/docs/ref/rst/definitions.rst
diff --git a/docutils/docs/ref/rst/directives.txt b/docutils/docs/ref/rst/directives.rst
similarity index 100%
rename from docutils/docs/ref/rst/directives.txt
rename to docutils/docs/ref/rst/directives.rst
diff --git a/docutils/docs/ref/rst/introduction.txt b/docutils/docs/ref/rst/introduction.rst
similarity index 100%
rename from docutils/docs/ref/rst/introduction.txt
rename to docutils/docs/ref/rst/introduction.rst
diff --git a/docutils/docs/ref/rst/mathematics.txt b/docutils/docs/ref/rst/mathematics.rst
similarity index 100%
rename from docutils/docs/ref/rst/mathematics.txt
rename to docutils/docs/ref/rst/mathematics.rst
diff --git a/docutils/docs/ref/rst/restructuredtext.txt b/docutils/docs/ref/rst/restructuredtext.rst
similarity index 100%
rename from docutils/docs/ref/rst/restructuredtext.txt
rename to docutils/docs/ref/rst/restructuredtext.rst
diff --git a/docutils/docs/ref/rst/roles.txt b/docutils/docs/ref/rst/roles.rst
similarity index 100%
rename from docutils/docs/ref/rst/roles.txt
rename to docutils/docs/ref/rst/roles.rst
diff --git a/docutils/docs/ref/transforms.txt b/docutils/docs/ref/transforms.rst
similarity index 100%
rename from docutils/docs/ref/transforms.txt
rename to docutils/docs/ref/transforms.rst
diff --git a/docutils/docs/user/config.txt b/docutils/docs/user/config.rst
similarity index 100%
rename from docutils/docs/user/config.txt
rename to docutils/docs/user/config.rst
diff --git a/docutils/docs/user/emacs.txt b/docutils/docs/user/emacs.rst
similarity index 100%
rename from docutils/docs/user/emacs.txt
rename to docutils/docs/user/emacs.rst
diff --git a/docutils/docs/user/html.txt b/docutils/docs/user/html.rst
similarity index 100%
rename from docutils/docs/user/html.txt
rename to docutils/docs/user/html.rst
diff --git a/docutils/docs/user/latex.txt b/docutils/docs/user/latex.rst
similarity index 100%
rename from docutils/docs/user/latex.txt
rename to docutils/docs/user/latex.rst
diff --git a/docutils/docs/user/links.txt b/docutils/docs/user/links.rst
similarity index 100%
rename from docutils/docs/user/links.txt
rename to docutils/docs/user/links.rst
diff --git a/docutils/docs/user/mailing-lists.txt b/docutils/docs/user/mailing-lists.rst
similarity index 100%
rename from docutils/docs/user/mailing-lists.txt
rename to docutils/docs/user/mailing-lists.rst
diff --git a/docutils/docs/user/manpage.txt b/docutils/docs/user/manpage.rst
similarity index 100%
rename from docutils/docs/user/manpage.txt
rename to docutils/docs/user/manpage.rst
diff --git a/docutils/docs/user/odt.txt b/docutils/docs/user/odt.rst
similarity index 100%
rename from docutils/docs/user/odt.txt
rename to docutils/docs/user/odt.rst
diff --git a/docutils/docs/user/rst/cheatsheet.txt b/docutils/docs/user/rst/cheatsheet.rst
similarity index 100%
rename from docutils/docs/user/rst/cheatsheet.txt
rename to docutils/docs/user/rst/cheatsheet.rst
diff --git a/docutils/docs/user/rst/demo.txt b/docutils/docs/user/rst/demo.rst
similarity index 100%
rename from docutils/docs/user/rst/demo.txt
rename to docutils/docs/user/rst/demo.rst
diff --git a/docutils/docs/user/rst/quickstart.txt b/docutils/docs/user/rst/quickstart.rst
similarity index 100%
rename from docutils/docs/user/rst/quickstart.txt
rename to docutils/docs/user/rst/quickstart.rst
diff --git a/docutils/docs/user/slide-shows.txt b/docutils/docs/user/slide-shows.rst
similarity index 100%
rename from docutils/docs/user/slide-shows.txt
rename to docutils/docs/user/slide-shows.rst
diff --git a/docutils/docs/user/smartquotes.txt b/docutils/docs/user/smartquotes.rst
similarity index 100%
rename from docutils/docs/user/smartquotes.txt
rename to docutils/docs/user/smartquotes.rst
diff --git a/docutils/docs/user/tools.txt b/docutils/docs/user/tools.rst
similarity index 100%
rename from docutils/docs/user/tools.txt
rename to docutils/docs/user/tools.rst
diff --git a/docutils/docutils/writers/s5_html/themes/README.txt b/docutils/docutils/writers/s5_html/themes/README.rst
similarity index 100%
rename from docutils/docutils/writers/s5_html/themes/README.txt
rename to docutils/docutils/writers/s5_html/themes/README.rst
diff --git a/docutils/test/data/config_1.txt b/docutils/test/data/config_1.rst
similarity index 100%
rename from docutils/test/data/config_1.txt
rename to docutils/test/data/config_1.rst
diff --git a/docutils/test/data/config_2.txt b/docutils/test/data/config_2.rst
similarity index 100%
rename from docutils/test/data/config_2.txt
rename to docutils/test/data/config_2.rst
diff --git a/docutils/test/data/config_error_handler.txt b/docutils/test/data/config_error_handler.rst
similarity index 100%
rename from docutils/test/data/config_error_handler.txt
rename to docutils/test/data/config_error_handler.rst
diff --git a/docutils/test/data/config_list.txt b/docutils/test/data/config_list.rst
similarity index 100%
rename from docutils/test/data/config_list.txt
rename to docutils/test/data/config_list.rst
diff --git a/docutils/test/data/config_list_2.txt b/docutils/test/data/config_list_2.rst
similarity index 100%
rename from docutils/test/data/config_list_2.txt
rename to docutils/test/data/config_list_2.rst
diff --git a/docutils/test/data/config_old.txt b/docutils/test/data/config_old.rst
similarity index 100%
rename from docutils/test/data/config_old.txt
rename to docutils/test/data/config_old.rst
diff --git a/docutils/test/data/csv_data.txt b/docutils/test/data/csv_data.rst
similarity index 100%
rename from docutils/test/data/csv_data.txt
rename to docutils/test/data/csv_data.rst
diff --git a/docutils/test/data/csv_dep.txt b/docutils/test/data/csv_dep.rst
similarity index 100%
rename from docutils/test/data/csv_dep.txt
rename to docutils/test/data/csv_dep.rst
diff --git a/docutils/test/data/dependencies.txt b/docutils/test/data/dependencies.rst
similarity index 100%
rename from docutils/test/data/dependencies.txt
rename to docutils/test/data/dependencies.rst
diff --git a/docutils/test/data/full-template.txt b/docutils/test/data/full-template.rst
similarity index 100%
rename from docutils/test/data/full-template.txt
rename to docutils/test/data/full-template.rst
diff --git a/docutils/test/data/include.txt b/docutils/test/data/include.rst
similarity index 100%
rename from docutils/test/data/include.txt
rename to docutils/test/data/include.rst
diff --git a/docutils/test/data/latin1.txt b/docutils/test/data/latin1.rst
similarity index 100%
rename from docutils/test/data/latin1.txt
rename to docutils/test/data/latin1.rst
diff --git a/docutils/test/data/raw.txt b/docutils/test/data/raw.rst
similarity index 100%
rename from docutils/test/data/raw.txt
rename to docutils/test/data/raw.rst
diff --git a/docutils/test/data/stylesheet.txt b/docutils/test/data/stylesheet.rst
similarity index 100%
rename from docutils/test/data/stylesheet.txt
rename to docutils/test/data/stylesheet.rst
diff --git a/docutils/test/functional/README.txt b/docutils/test/functional/README.rst
similarity index 100%
rename from docutils/test/functional/README.txt
rename to docutils/test/functional/README.rst
diff --git a/docutils/test/functional/expected/standalone_rst_pseudoxml.txt b/docutils/test/functional/expected/standalone_rst_pseudoxml.rst
similarity index 100%
rename from docutils/test/functional/expected/standalone_rst_pseudoxml.txt
rename to docutils/test/functional/expected/standalone_rst_pseudoxml.rst
diff --git a/docutils/test/functional/input/compact_lists.txt b/docutils/test/functional/input/compact_lists.rst
similarity index 100%
rename from docutils/test/functional/input/compact_lists.txt
rename to docutils/test/functional/input/compact_lists.rst
diff --git a/docutils/test/functional/input/cyrillic.txt b/docutils/test/functional/input/cyrillic.rst
similarity index 100%
rename from docutils/test/functional/input/cyrillic.txt
rename to docutils/test/functional/input/cyrillic.rst
diff --git a/docutils/test/functional/input/dangerous.txt b/docutils/test/functional/input/dangerous.rst
similarity index 100%
rename from docutils/test/functional/input/dangerous.txt
rename to docutils/test/functional/input/dangerous.rst
diff --git a/docutils/test/functional/input/data/classes_latex.txt b/docutils/test/functional/input/data/classes_latex.rst
similarity index 100%
rename from docutils/test/functional/input/data/classes_latex.txt
rename to docutils/test/functional/input/data/classes_latex.rst
diff --git a/docutils/test/functional/input/data/comprehensive-math-test.txt b/docutils/test/functional/input/data/comprehensive-math-test.rst
similarity index 100%
rename from docutils/test/functional/input/data/comprehensive-math-test.txt
rename to docutils/test/functional/input/data/comprehensive-math-test.rst
diff --git a/docutils/test/functional/input/data/custom_roles.txt b/docutils/test/functional/input/data/custom_roles.rst
similarity index 100%
rename from docutils/test/functional/input/data/custom_roles.txt
rename to docutils/test/functional/input/data/custom_roles.rst
diff --git a/docutils/test/functional/input/data/custom_roles_latex.txt b/docutils/test/functional/input/data/custom_roles_latex.rst
similarity index 100%
rename from docutils/test/functional/input/data/custom_roles_latex.txt
rename to docutils/test/functional/input/data/custom_roles_latex.rst
diff --git a/docutils/test/functional/input/data/embed_images.txt b/docutils/test/functional/input/data/embed_images.rst
similarity index 100%
rename from docutils/test/functional/input/data/embed_images.txt
rename to docutils/test/functional/input/data/embed_images.rst
diff --git a/docutils/test/functional/input/data/errors.txt b/docutils/test/functional/input/data/errors.rst
similarity index 100%
rename from docutils/test/functional/input/data/errors.txt
rename to docutils/test/functional/input/data/errors.rst
diff --git a/docutils/test/functional/input/data/header_footer.txt b/docutils/test/functional/input/data/header_footer.rst
similarity index 100%
rename from docutils/test/functional/input/data/header_footer.txt
rename to docutils/test/functional/input/data/header_footer.rst
diff --git a/docutils/test/functional/input/data/html5-features.txt b/docutils/test/functional/input/data/html5-features.rst
similarity index 100%
rename from docutils/test/functional/input/data/html5-features.txt
rename to docutils/test/functional/input/data/html5-features.rst
diff --git a/docutils/test/functional/input/data/html5-text-level-tags.txt b/docutils/test/functional/input/data/html5-text-level-tags.rst
similarity index 100%
rename from docutils/test/functional/input/data/html5-text-level-tags.txt
rename to docutils/test/functional/input/data/html5-text-level-tags.rst
diff --git a/docutils/test/functional/input/data/hyperlinking.txt b/docutils/test/functional/input/data/hyperlinking.rst
similarity index 100%
rename from docutils/test/functional/input/data/hyperlinking.txt
rename to docutils/test/functional/input/data/hyperlinking.rst
diff --git a/docutils/test/functional/input/data/latex-problematic.txt b/docutils/test/functional/input/data/latex-problematic.rst
similarity index 100%
rename from docutils/test/functional/input/data/latex-problematic.txt
rename to docutils/test/functional/input/data/latex-problematic.rst
diff --git a/docutils/test/functional/input/data/latex_encoding.txt b/docutils/test/functional/input/data/latex_encoding.rst
similarity index 100%
rename from docutils/test/functional/input/data/latex_encoding.txt
rename to docutils/test/functional/input/data/latex_encoding.rst
diff --git a/docutils/test/functional/input/data/list_table.txt b/docutils/test/functional/input/data/list_table.rst
similarity index 100%
rename from docutils/test/functional/input/data/list_table.txt
rename to docutils/test/functional/input/data/list_table.rst
diff --git a/docutils/test/functional/input/data/math.txt b/docutils/test/functional/input/data/math.rst
similarity index 100%
rename from docutils/test/functional/input/data/math.txt
rename to docutils/test/functional/input/data/math.rst
diff --git a/docutils/test/functional/input/data/nonalphanumeric.txt b/docutils/test/functional/input/data/nonalphanumeric.rst
similarity index 100%
rename from docutils/test/functional/input/data/nonalphanumeric.txt
rename to docutils/test/functional/input/data/nonalphanumeric.rst
diff --git a/docutils/test/functional/input/data/option_lists.txt b/docutils/test/functional/input/data/option_lists.rst
similarity index 100%
rename from docutils/test/functional/input/data/option_lists.txt
rename to docutils/test/functional/input/data/option_lists.rst
diff --git a/docutils/test/functional/input/data/section_titles.txt b/docutils/test/functional/input/data/section_titles.rst
similarity index 100%
rename from docutils/test/functional/input/data/section_titles.txt
rename to docutils/test/functional/input/data/section_titles.rst
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.rst
similarity index 100%
rename from docutils/test/functional/input/data/standard.txt
rename to docutils/test/functional/input/data/standard.rst
diff --git a/docutils/test/functional/input/data/svg_images.txt b/docutils/test/functional/input/data/svg_images.rst
similarity index 100%
rename from docutils/test/functional/input/data/svg_images.txt
rename to docutils/test/functional/input/data/svg_images.rst
diff --git a/docutils/test/functional/input/data/swf_images.txt b/docutils/test/functional/input/data/swf_images.rst
similarity index 100%
rename from docutils/test/functional/input/data/swf_images.txt
rename to docutils/test/functional/input/data/swf_images.rst
diff --git a/docutils/test/functional/input/data/table_colspan.txt b/docutils/test/functional/input/data/table_colspan.rst
similarity index 100%
rename from docutils/test/functional/input/data/table_colspan.txt
rename to docutils/test/functional/input/data/table_colspan.rst
diff --git a/docutils/test/functional/input/data/table_complex.txt b/docutils/test/functional/input/data/table_complex.rst
similarity index 100%
rename from docutils/test/functional/input/data/table_complex.txt
rename to docutils/test/functional/input/data/table_complex.rst
diff --git a/docutils/test/functional/input/data/table_rowspan.txt b/docutils/test/functional/input/data/table_rowspan.rst
similarity index 100%
rename from docutils/test/functional/input/data/table_rowspan.txt
rename to docutils/test/functional/input/data/table_rowspan.rst
diff --git a/docutils/test/functional/input/data/tables_latex.txt b/docutils/test/functional/input/data/tables_latex.rst
similarity index 100%
rename from docutils/test/functional/input/data/tables_latex.txt
rename to docutils/test/functional/input/data/tables_latex.rst
diff --git a/docutils/test/functional/input/data/unicode.txt b/docutils/test/functional/input/data/unicode.rst
similarity index 100%
rename from docutils/test/functional/input/data/unicode.txt
rename to docutils/test/functional/input/data/unicode.rst
diff --git a/docutils/test/functional/input/data/urls.txt b/docutils/test/functional/input/data/urls.rst
similarity index 100%
rename from docutils/test/functional/input/data/urls.txt
rename to docutils/test/functional/input/data/urls.rst
diff --git a/docutils/test/functional/input/data/video.txt b/docutils/test/functional/input/data/video.rst
similarity index 100%
rename from docutils/test/functional/input/data/video.txt
rename to docutils/test/functional/input/data/video.rst
diff --git a/docutils/test/functional/input/field_list.txt b/docutils/test/functional/input/field_list.rst
similarity index 100%
rename from docutils/test/functional/input/field_list.txt
rename to docutils/test/functional/input/field_list.rst
diff --git a/docutils/test/functional/input/footnotes.txt b/docutils/test/functional/input/footnotes.rst
similarity index 100%
rename from docutils/test/functional/input/footnotes.txt
rename to docutils/test/functional/input/footnotes.rst
diff --git a/docutils/test/functional/input/latex_babel.txt b/docutils/test/functional/input/latex_babel.rst
similarity index 100%
rename from docutils/test/functional/input/latex_babel.txt
rename to docutils/test/functional/input/latex_babel.rst
diff --git a/docutils/test/functional/input/latex_cornercases.txt b/docutils/test/functional/input/latex_cornercases.rst
similarity index 100%
rename from docutils/test/functional/input/latex_cornercases.txt
rename to docutils/test/functional/input/latex_cornercases.rst
diff --git a/docutils/test/functional/input/latex_docinfo.txt b/docutils/test/functional/input/latex_docinfo.rst
similarity index 100%
rename from docutils/test/functional/input/latex_docinfo.txt
rename to docutils/test/functional/input/latex_docinfo.rst
diff --git a/docutils/test/functional/input/latex_leavevmode.txt b/docutils/test/functional/input/latex_leavevmode.rst
similarity index 100%
rename from docutils/test/functional/input/latex_leavevmode.txt
rename to docutils/test/functional/input/latex_leavevmode.rst
diff --git a/docutils/test/functional/input/latex_literal_block.txt b/docutils/test/functional/input/latex_literal_block.rst
similarity index 100%
rename from docutils/test/functional/input/latex_literal_block.txt
rename to docutils/test/functional/input/latex_literal_block.rst
diff --git a/docutils/test/functional/input/misc_rst_html4css1.txt b/docutils/test/functional/input/misc_rst_html4css1.rst
similarity index 100%
rename from docutils/test/functional/input/misc_rst_html4css1.txt
rename to docutils/test/functional/input/misc_rst_html4css1.rst
diff --git a/docutils/test/functional/input/misc_rst_html5.txt b/docutils/test/functional/input/misc_rst_html5.rst
similarity index 100%
rename from docutils/test/functional/input/misc_rst_html5.txt
rename to docutils/test/functional/input/misc_rst_html5.rst
diff --git a/docutils/test/functional/input/odt_basic.txt b/docutils/test/functional/input/odt_basic.rst
similarity index 100%
rename from docutils/test/functional/input/odt_basic.txt
rename to docutils/test/functional/input/odt_basic.rst
diff --git a/docutils/test/functional/input/odt_classifier.txt b/docutils/test/functional/input/odt_classifier.rst
similarity index 100%
rename from docutils/test/functional/input/odt_classifier.txt
rename to docutils/test/functional/input/odt_classifier.rst
diff --git a/docutils/test/functional/input/odt_contents.txt b/docutils/test/functional/input/odt_contents.rst
similarity index 100%
rename from docutils/test/functional/input/odt_contents.txt
rename to docutils/test/functional/input/odt_contents.rst
diff --git a/docutils/test/functional/input/odt_custom_headfoot.txt b/docutils/test/functional/input/odt_custom_headfoot.rst
similarity index 100%
rename from docutils/test/functional/input/odt_custom_headfoot.txt
rename to docutils/test/functional/input/odt_custom_headfoot.rst
diff --git a/docutils/test/functional/input/odt_footnotes.txt b/docutils/test/functional/input/odt_footnotes.rst
similarity index 100%
rename from docutils/test/functional/input/odt_footnotes.txt
rename to docutils/test/functional/input/odt_footnotes.rst
diff --git a/docutils/test/functional/input/odt_header_footer.txt b/docutils/test/functional/input/odt_header_footer.rst
similarity index 100%
rename from docutils/test/functional/input/odt_header_footer.txt
rename to docutils/test/functional/input/odt_header_footer.rst
diff --git a/docutils/test/functional/input/odt_literal_block.txt b/docutils/test/functional/input/odt_literal_block.rst
similarity index 100%
rename from docutils/test/functional/input/odt_literal_block.txt
rename to docutils/test/functional/input/odt_literal_block.rst
diff --git a/docutils/test/functional/input/odt_nested_class.txt b/docutils/test/functional/input/odt_nested_class.rst
similarity index 100%
rename from docutils/test/functional/input/odt_nested_class.txt
rename to docutils/test/functional/input/odt_nested_class.rst
diff --git a/docutils/test/functional/input/odt_no_class.txt b/docutils/test/functional/input/odt_no_class.rst
similarity index 100%
rename from docutils/test/functional/input/odt_no_class.txt
rename to docutils/test/functional/input/odt_no_class.rst
diff --git a/docutils/test/functional/input/odt_raw.txt b/docutils/test/functional/input/odt_raw.rst
similarity index 100%
rename from docutils/test/functional/input/odt_raw.txt
rename to docutils/test/functional/input/odt_raw.rst
diff --git a/docutils/test/functional/input/odt_tables1.txt b/docutils/test/functional/input/odt_tables1.rst
similarity index 100%
rename from docutils/test/functional/input/odt_tables1.txt
rename to docutils/test/functional/input/odt_tables1.rst
diff --git a/docutils/test/functional/input/odt_unnested_class.txt b/docutils/test/functional/input/odt_unnested_class.rst
similarity index 100%
rename from docutils/test/functional/input/odt_unnested_class.txt
rename to docutils/test/functional/input/odt_unnested_class.rst
diff --git a/docutils/test/functional/input/pep_html.txt b/docutils/test/functional/input/pep_html.rst
similarity index 100%
rename from docutils/test/functional/input/pep_html.txt
rename to docutils/test/functional/input/pep_html.rst
diff --git a/docutils/test/functional/input/simple.txt b/docutils/test/functional/input/simple.rst
similarity index 100%
rename from docutils/test/functional/input/simple.txt
rename to docutils/test/functional/input/simple.rst
diff --git a/docutils/test/functional/input/standalone_rst_docutils_xml.txt b/docutils/test/functional/input/standalone_rst_docutils_xml.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_docutils_xml.txt
rename to docutils/test/functional/input/standalone_rst_docutils_xml.rst
diff --git a/docutils/test/functional/input/standalone_rst_html4css1.txt b/docutils/test/functional/input/standalone_rst_html4css1.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_html4css1.txt
rename to docutils/test/functional/input/standalone_rst_html4css1.rst
diff --git a/docutils/test/functional/input/standalone_rst_html5.txt b/docutils/test/functional/input/standalone_rst_html5.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_html5.txt
rename to docutils/test/functional/input/standalone_rst_html5.rst
diff --git a/docutils/test/functional/input/standalone_rst_latex.txt b/docutils/test/functional/input/standalone_rst_latex.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_latex.txt
rename to docutils/test/functional/input/standalone_rst_latex.rst
diff --git a/docutils/test/functional/input/standalone_rst_manpage.txt b/docutils/test/functional/input/standalone_rst_manpage.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_manpage.txt
rename to docutils/test/functional/input/standalone_rst_manpage.rst
diff --git a/docutils/test/functional/input/standalone_rst_pseudoxml.txt b/docutils/test/functional/input/standalone_rst_pseudoxml.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_pseudoxml.txt
rename to docutils/test/functional/input/standalone_rst_pseudoxml.rst
diff --git a/docutils/test/functional/input/standalone_rst_s5_html.txt b/docutils/test/functional/input/standalone_rst_s5_html.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_s5_html.txt
rename to docutils/test/functional/input/standalone_rst_s5_html.rst
diff --git a/docutils/test/functional/input/standalone_rst_xetex.txt b/docutils/test/functional/input/standalone_rst_xetex.rst
similarity index 100%
rename from docutils/test/functional/input/standalone_rst_xetex.txt
rename to docutils/test/functional/input/standalone_rst_xetex.rst
diff --git a/docutils/test/functional/output/README.txt b/docutils/test/functional/output/README.rst
similarity index 100%
rename from docutils/test/functional/output/README.txt
rename to docutils/test/functional/output/README.rst
diff --git a/docutils/test/test_parsers/test_rst/includes/include14.txt b/docutils/test/test_parsers/test_rst/includes/include14.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/includes/include14.txt
rename to docutils/test/test_parsers/test_rst/includes/include14.rst
diff --git a/docutils/test/test_parsers/test_rst/includes/include9.txt b/docutils/test/test_parsers/test_rst/includes/include9.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/includes/include9.txt
rename to docutils/test/test_parsers/test_rst/includes/include9.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/empty.txt b/docutils/test/test_parsers/test_rst/test_directives/empty.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/empty.txt
rename to docutils/test/test_parsers/test_rst/test_directives/empty.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include 11.txt b/docutils/test/test_parsers/test_rst/test_directives/include 11.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include 11.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include 11.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include1.txt b/docutils/test/test_parsers/test_rst/test_directives/include1.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include1.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include1.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include10.txt b/docutils/test/test_parsers/test_rst/test_directives/include10.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include10.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include10.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include12.txt b/docutils/test/test_parsers/test_rst/test_directives/include12.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include12.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include12.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include13.txt b/docutils/test/test_parsers/test_rst/test_directives/include13.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include13.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include13.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include2.txt b/docutils/test/test_parsers/test_rst/test_directives/include2.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include2.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include2.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include3.txt b/docutils/test/test_parsers/test_rst/test_directives/include3.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include3.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include3.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include8.txt b/docutils/test/test_parsers/test_rst/test_directives/include8.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include8.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include8.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/include_literal.txt b/docutils/test/test_parsers/test_rst/test_directives/include_literal.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/include_literal.txt
rename to docutils/test/test_parsers/test_rst/test_directives/include_literal.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/includes/include14.txt b/docutils/test/test_parsers/test_rst/test_directives/includes/include14.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/includes/include14.txt
rename to docutils/test/test_parsers/test_rst/test_directives/includes/include14.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/includes/include15.txt b/docutils/test/test_parsers/test_rst/test_directives/includes/include15.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/includes/include15.txt
rename to docutils/test/test_parsers/test_rst/test_directives/includes/include15.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/includes/include16.txt b/docutils/test/test_parsers/test_rst/test_directives/includes/include16.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/includes/include16.txt
rename to docutils/test/test_parsers/test_rst/test_directives/includes/include16.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/includes/include4.txt b/docutils/test/test_parsers/test_rst/test_directives/includes/include4.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/includes/include4.txt
rename to docutils/test/test_parsers/test_rst/test_directives/includes/include4.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/includes/include5.txt b/docutils/test/test_parsers/test_rst/test_directives/includes/include5.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/includes/include5.txt
rename to docutils/test/test_parsers/test_rst/test_directives/includes/include5.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/includes/more/include6.txt b/docutils/test/test_parsers/test_rst/test_directives/includes/more/include6.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/includes/more/include6.txt
rename to docutils/test/test_parsers/test_rst/test_directives/includes/more/include6.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/includes/sibling/include7.txt b/docutils/test/test_parsers/test_rst/test_directives/includes/sibling/include7.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/includes/sibling/include7.txt
rename to docutils/test/test_parsers/test_rst/test_directives/includes/sibling/include7.rst
diff --git a/docutils/test/test_parsers/test_rst/test_directives/raw1.txt b/docutils/test/test_parsers/test_rst/test_directives/raw1.rst
similarity index 100%
rename from docutils/test/test_parsers/test_rst/test_directives/raw1.txt
rename to docutils/test/test_parsers/test_rst/test_directives/raw1.rst
diff --git a/docutils/tools/dev/README.txt b/docutils/tools/dev/README.rst
similarity index 100%
rename from docutils/tools/dev/README.txt
rename to docutils/tools/dev/README.rst
diff --git a/docutils/tools/editors/README.txt b/docutils/tools/editors/README.rst
similarity index 100%
rename from docutils/tools/editors/README.txt
rename to docutils/tools/editors/README.rst
diff --git a/docutils/tools/editors/emacs/README.txt b/docutils/tools/editors/emacs/README.rst
similarity index 100%
rename from docutils/tools/editors/emacs/README.txt
rename to docutils/tools/editors/emacs/README.rst
diff --git a/docutils/tools/editors/emacs/tests/README.txt b/docutils/tools/editors/emacs/tests/README.rst
similarity index 100%
rename from docutils/tools/editors/emacs/tests/README.txt
rename to docutils/tools/editors/emacs/tests/README.rst
From 34c39202f2d9866660a09abdbc4fe37ac98da928 Mon Sep 17 00:00:00 2001
From: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Date: Wed, 5 Jan 2022 16:46:00 +0000
Subject: [PATCH 2/2] Update references to .txt files
---
docutils/BUGS.rst | 2 +-
docutils/FAQ.rst | 14 +-
docutils/MANIFEST.in | 4 +-
docutils/README.rst | 34 ++--
docutils/RELEASE-NOTES.rst | 2 +-
docutils/docs/dev/distributing.rst | 10 +-
docutils/docs/dev/enthought-plan.rst | 4 +-
docutils/docs/dev/enthought-rfp.rst | 2 +-
docutils/docs/dev/hacking.rst | 18 +-
docutils/docs/dev/policies.rst | 8 +-
docutils/docs/dev/release.rst | 10 +-
docutils/docs/dev/repository.rst | 1 +
docutils/docs/dev/rst/alternatives.rst | 2 +-
docutils/docs/dev/testing.rst | 4 +-
docutils/docs/dev/todo.rst | 72 ++++----
docutils/docs/dev/website.rst | 12 +-
docutils/docs/howto/html-stylesheets.rst | 2 +-
docutils/docs/index.rst | 36 ++--
docutils/docs/ref/doctree.rst | 4 +-
docutils/docs/ref/rst/directives.rst | 4 +-
docutils/docs/ref/rst/restructuredtext.rst | 10 +-
docutils/docs/user/Makefile.docutils-update | 8 +-
docutils/docs/user/config.rst | 6 +-
docutils/docs/user/latex.rst | 10 +-
docutils/docs/user/odt.rst | 16 +-
docutils/docs/user/rst/cheatsheet.rst | 4 +-
docutils/docs/user/slide-shows.rst | 10 +-
docutils/docs/user/tools.rst | 28 +--
docutils/docutils/__init__.py | 4 +-
docutils/docutils/transforms/references.py | 2 +-
docutils/docutils/writers/latex2e/__init__.py | 2 +-
docutils/docutils/writers/odf_odt/__init__.py | 2 +-
docutils/setup.cfg | 2 +-
docutils/setup.py | 2 +-
docutils/test/data/csv_dep.rst | 2 +-
docutils/test/data/dependencies.rst | 8 +-
.../functional/expected/compact_lists.html | 2 +-
.../test/functional/expected/dangerous.html | 14 +-
.../functional/expected/field_name_limit.html | 2 +-
.../functional/expected/latex_cornercases.tex | 2 +-
.../test/functional/expected/latex_memoir.tex | 16 +-
.../expected/standalone_rst_docutils_xml.xml | 42 ++---
.../expected/standalone_rst_html4css1.html | 12 +-
.../expected/standalone_rst_html5.html | 12 +-
.../expected/standalone_rst_latex.tex | 16 +-
.../expected/standalone_rst_pseudoxml.rst | 42 ++---
.../expected/standalone_rst_xetex.tex | 16 +-
.../functional/input/data/classes_latex.rst | 2 +-
.../input/data/latex-problematic.rst | 2 +-
.../test/functional/input/data/standard.rst | 4 +-
.../functional/input/data/tables_latex.rst | 2 +-
docutils/test/functional/input/footnotes.rst | 2 +-
.../functional/input/latex_cornercases.rst | 16 +-
.../functional/input/misc_rst_html4css1.rst | 2 +-
.../test/functional/input/misc_rst_html5.rst | 6 +-
.../input/standalone_rst_docutils_xml.rst | 14 +-
.../input/standalone_rst_html4css1.rst | 20 +--
.../functional/input/standalone_rst_html5.rst | 20 +--
.../functional/input/standalone_rst_latex.rst | 20 +--
.../input/standalone_rst_pseudoxml.rst | 14 +-
.../functional/input/standalone_rst_xetex.rst | 4 +-
.../test/functional/tests/compact_lists.py | 2 +-
docutils/test/functional/tests/dangerous.py | 2 +-
.../test/functional/tests/field_name_limit.py | 2 +-
.../test/functional/tests/footnotes_html5.py | 2 +-
docutils/test/functional/tests/latex_babel.py | 2 +-
.../functional/tests/latex_cornercases.py | 2 +-
.../test/functional/tests/latex_cyrillic.py | 2 +-
.../test/functional/tests/latex_docinfo.py | 2 +-
.../test/functional/tests/latex_leavevmode.py | 2 +-
.../functional/tests/latex_literal_block.py | 2 +-
.../tests/latex_literal_block_fancyvrb.py | 2 +-
.../tests/latex_literal_block_listings.py | 2 +-
.../tests/latex_literal_block_verbatim.py | 2 +-
.../tests/latex_literal_block_verbatimtab.py | 2 +-
.../test/functional/tests/latex_memoir.py | 2 +-
.../test/functional/tests/math_output_html.py | 2 +-
.../functional/tests/math_output_latex.py | 2 +-
.../functional/tests/math_output_mathjax.py | 2 +-
.../functional/tests/math_output_mathml.py | 2 +-
.../functional/tests/misc_rst_html4css1.py | 2 +-
.../test/functional/tests/misc_rst_html5.py | 2 +-
docutils/test/functional/tests/pep_html.py | 2 +-
.../tests/standalone_rst_docutils_xml.py | 2 +-
.../tests/standalone_rst_html4css1.py | 2 +-
.../functional/tests/standalone_rst_html5.py | 2 +-
.../functional/tests/standalone_rst_latex.py | 2 +-
.../tests/standalone_rst_manpage.py | 2 +-
.../tests/standalone_rst_pseudoxml.py | 4 +-
.../tests/standalone_rst_s5_html_1.py | 2 +-
.../functional/tests/standalone_rst_xetex.py | 2 +-
.../test/functional/tests/xetex_cyrillic.py | 2 +-
docutils/test/test_command_line.py | 4 +-
docutils/test/test_dependencies.py | 14 +-
docutils/test/test_error_reporting.py | 2 +-
docutils/test/test_functional.py | 4 +-
docutils/test/test_io.py | 4 +-
.../test_rst/includes/include9.rst | 4 +-
.../test_rst/test_directives/include12.rst | 6 +-
.../test_rst/test_directives/include13.rst | 6 +-
.../test_rst/test_directives/include2.rst | 2 +-
.../test_rst/test_directives/include3.rst | 4 +-
.../test_rst/test_directives/include8.rst | 4 +-
.../test_directives/includes/include14.rst | 4 +-
.../test_directives/includes/include15.rst | 4 +-
.../test_directives/includes/include16.rst | 6 +-
.../test_directives/includes/include4.rst | 8 +-
.../test_directives/includes/include5.rst | 4 +-
.../includes/more/include6.rst | 4 +-
.../includes/sibling/include7.rst | 2 +-
.../test_rst/test_directives/test_include.py | 160 +++++++++---------
.../test_rst/test_directives/test_raw.py | 2 +-
.../test_rst/test_directives/test_tables.py | 2 +-
.../test_parsers/test_rst/test_source_line.py | 26 +--
.../test/test_parsers/test_rst/test_tables.py | 8 +-
docutils/test/test_publisher.py | 2 +-
docutils/test/test_settings.py | 12 +-
.../test/test_transforms/test_hyperlinks.py | 10 +-
docutils/test/test_utils.py | 16 +-
.../test_writers/test_html4css1_template.py | 2 +-
docutils/test/test_writers/test_odt.py | 34 ++--
docutils/tools/buildhtml.py | 10 +-
.../tools/dev/generate_punctuation_chars.py | 2 +-
docutils/tools/dev/profile_docutils.py | 2 +-
docutils/tools/dev/unicode2rstsubs.py | 6 +-
docutils/tools/test/test_buildhtml.py | 18 +-
sandbox/infrastructure/docutils-update.local | 12 +-
127 files changed, 569 insertions(+), 570 deletions(-)
diff --git a/docutils/BUGS.rst b/docutils/BUGS.rst
index dc50c72ca..d0a8f7d4a 100644
--- a/docutils/BUGS.rst
+++ b/docutils/BUGS.rst
@@ -238,7 +238,7 @@ Also see the `SourceForge Bug Tracker`_.
unrelated to the target names (i.e., "id"-prefix serial IDs).
* The "contents" ID of the local table of contents in
- ``test/functional/expected/standalone_rst_pseudoxml.txt`` is lost in
+ ``test/functional/expected/standalone_rst_pseudoxml.rst`` is lost in
the HTML output at
``test/functional/expected/standalone_rst_html4css1.html``.
diff --git a/docutils/FAQ.rst b/docutils/FAQ.rst
index a46bb1758..9e0ecc6db 100644
--- a/docutils/FAQ.rst
+++ b/docutils/FAQ.rst
@@ -170,7 +170,7 @@ and reinterpretation of the StructuredText_ and Setext_ lightweight
markup systems.
If you are reading this on the web, you can see for yourself. `The
-source for this FAQ `_ is written in reStructuredText; open
+source for this FAQ `_ is written in reStructuredText; open
it in another window and compare them side by side.
`A ReStructuredText Primer`_ and the `Quick reStructuredText`_ user
@@ -216,12 +216,10 @@ __ http://en.wikipedia.org/wiki/Representational_State_Transfer
What's the standard filename extension for a reStructuredText file?
-------------------------------------------------------------------
-It's ".txt". Some people would like to use ".rest" or ".rst" or
-".restx", but why bother? ReStructuredText source files are meant to
-be readable as plaintext, and most operating systems already associate
-".txt" with text files. Using a specialized filename extension would
-require that users alter their OS settings, which is something that
-many users will not be willing or able to do.
+".rst".
+
+ReStructuredText files should be readable as plaintext, if the filesystem
+makes no special associations.
Also see `What's the official MIME type for reStructuredText data?`_
@@ -851,7 +849,7 @@ classes in the HTML:
.. role:: rtl
.. _stylesheet: docs/user/config.html#stylesheet
-.. _class: docs/ref/rst/directives.txt#class
+.. _class: docs/ref/rst/directives.rst#class
LaTeX is quite hard to implement (it doesn't support the bidi
algorithm, so all direction changes - even numbers in RTL text - must
diff --git a/docutils/MANIFEST.in b/docutils/MANIFEST.in
index b29698fe6..99171a73b 100644
--- a/docutils/MANIFEST.in
+++ b/docutils/MANIFEST.in
@@ -1,4 +1,4 @@
-include *.txt
+include *.rst
include install.py
recursive-include docutils *
recursive-include docs *
@@ -7,5 +7,5 @@ recursive-include tools *
recursive-include test *
exclude test/alltests.out test/record.txt
prune test/functional/output
-include test/functional/output/README.txt
+include test/functional/output/README.rst
global-exclude *.pyc *~ __pycache__ .DS_Store
diff --git a/docutils/README.rst b/docutils/README.rst
index aeeb1551a..473b8be15 100644
--- a/docutils/README.rst
+++ b/docutils/README.rst
@@ -29,8 +29,8 @@ This is for those who want to get up & running quickly.
3. Use the `front-end scripts`_ to convert reStructuredText documents.
Try for example::
- rst2html.py FAQ.txt FAQ.html (Unix)
- python tools/rst2html.py FAQ.txt FAQ.html (Windows)
+ rst2html.py FAQ.rst FAQ.html (Unix)
+ python tools/rst2html.py FAQ.rst FAQ.html (Windows)
See Usage_ below for details.
@@ -242,21 +242,21 @@ Contributions are welcome!
Project Files & Directories
===========================
-* README.txt: You're reading it.
+* README.rst: You're reading it.
-* COPYING.txt: Public Domain Dedication and copyright details for
+* COPYING.rst: Public Domain Dedication and copyright details for
non-public-domain files (most are PD).
-* FAQ.txt: Frequently Asked Questions (with answers!).
+* FAQ.rst: Frequently Asked Questions (with answers!).
-* RELEASE-NOTES.txt: Summary of the major changes in recent releases.
+* RELEASE-NOTES.rst: Summary of the major changes in recent releases.
-* HISTORY.txt: A detailed change log, for the current and all previous
+* HISTORY.rst: A detailed change log, for the current and all previous
project releases.
-* BUGS.txt: Known bugs, and how to report a bug.
+* BUGS.rst: Known bugs, and how to report a bug.
-* THANKS.txt: List of contributors.
+* THANKS.rst: List of contributors.
* setup.py: Installation script. See "Installation" below.
@@ -266,26 +266,26 @@ Project Files & Directories
* docutils: The project source directory, installed as a Python
package.
-* docs: The project documentation directory. Read ``docs/index.txt``
+* docs: The project documentation directory. Read ``docs/index.rst``
for an overview.
* docs/user: The project user documentation directory. Contains the
following documents, among others:
- - docs/user/tools.txt: Docutils Front-End Tools
- - docs/user/latex.txt: Docutils LaTeX Writer
- - docs/user/rst/quickstart.txt: A ReStructuredText Primer
+ - docs/user/tools.rst: Docutils Front-End Tools
+ - docs/user/latex.rst: Docutils LaTeX Writer
+ - docs/user/rst/quickstart.rst: A ReStructuredText Primer
- docs/user/rst/quickref.html: Quick reStructuredText (HTML only)
* docs/ref: The project reference directory.
- ``docs/ref/rst/restructuredtext.txt`` is the reStructuredText
+ ``docs/ref/rst/restructuredtext.rst`` is the reStructuredText
reference.
* licenses: Directory containing copies of license files for
non-public-domain files.
* tools: Directory for Docutils front-end tools. See
- ``docs/user/tools.txt`` for documentation.
+ ``docs/user/tools.rst`` for documentation.
* test: Unit tests. Not required to use the software, but very useful
if you're planning to modify it. See `Running the Test Suite`_
@@ -316,14 +316,14 @@ Alternatively::
python tools\buildhtml.py --config=tools\docutils.conf (Windows)
Some files may generate system messages (warnings and errors). The
-``docs/user/rst/demo.txt`` file (under the archive directory) contains
+``docs/user/rst/demo.rst`` file (under the archive directory) contains
five intentional errors. (They test the error reporting mechanism!)
Running the Test Suite
======================
-The test suite is documented in `Docutils Testing`_ (docs/dev/testing.txt).
+The test suite is documented in `Docutils Testing`_ (docs/dev/testing.rst).
To run the entire test suite, open a shell and use the following
commands::
diff --git a/docutils/RELEASE-NOTES.rst b/docutils/RELEASE-NOTES.rst
index b744db0bb..7b934cead 100644
--- a/docutils/RELEASE-NOTES.rst
+++ b/docutils/RELEASE-NOTES.rst
@@ -815,7 +815,7 @@ Documentation:
* Added `Deploying Docutils Securely`__
- __ docs/howto/security.txt
+ __ docs/howto/security.rst
Internationalization:
diff --git a/docutils/docs/dev/distributing.rst b/docutils/docs/dev/distributing.rst
index 5d7a29c52..de96555c1 100644
--- a/docutils/docs/dev/distributing.rst
+++ b/docutils/docs/dev/distributing.rst
@@ -91,7 +91,7 @@ directory and run::
Then install the following files to ``/usr/share/doc/docutils/`` (or
wherever you install documentation):
-* All ``.html`` and ``.txt`` files in the base directory.
+* All ``.html`` and ``.rst`` files in the base directory.
* The ``docs/`` directory.
@@ -104,19 +104,19 @@ wherever you install documentation):
* ``html4css1.css`` in the base directory.
-Removing the ``.txt`` Files
+Removing the ``.rst`` Files
---------------------------
-If you are tight with disk space, you can remove all ``.txt`` files in
+If you are tight with disk space, you can remove all ``.rst`` files in
the tree except for:
* those in the ``licenses/`` directory because they have not been
processed to HTML and
-* ``user/rst/cheatsheet.txt`` and ``user/rst/demo.txt``, which should
+* ``user/rst/cheatsheet.rst`` and ``user/rst/demo.rst``, which should
be readable in source form.
-Before you remove the ``.txt`` files you should rerun ``buildhtml.py``
+Before you remove the ``.rst`` files you should rerun ``buildhtml.py``
with the ``--no-source-link`` switch to avoid broken references to the
source files.
diff --git a/docutils/docs/dev/enthought-plan.rst b/docutils/docs/dev/enthought-plan.rst
index 380161709..bc38a82a7 100644
--- a/docutils/docs/dev/enthought-plan.rst
+++ b/docutils/docs/dev/enthought-plan.rst
@@ -9,7 +9,7 @@
:Copyright: 2004 by `Enthought, Inc. `_
:License: `Enthought License`_ (BSD-style)
-.. _Enthought License: http://docutils.sf.net/licenses/enthought.txt
+.. _Enthought License: http://docutils.sf.net/licenses/enthought.rst
This document should be read in conjunction with the `Enthought API
Documentation Tool RFP`__ prepared by Janet Swisher.
@@ -116,7 +116,7 @@ follows::
:Copyright: This document has been placed in the public domain.
This is in conjunction with the "Public Domain Dedication" section of
-COPYING.txt__.
+COPYING.rst__.
__ http://docutils.sourceforge.net/COPYING.html
diff --git a/docutils/docs/dev/enthought-rfp.rst b/docutils/docs/dev/enthought-rfp.rst
index 986f5604f..05ca94df7 100644
--- a/docutils/docs/dev/enthought-rfp.rst
+++ b/docutils/docs/dev/enthought-rfp.rst
@@ -10,7 +10,7 @@
:Copyright: 2004 by Enthought, Inc.
:License: `Enthought License`_ (BSD Style)
-.. _Enthought License: http://docutils.sf.net/licenses/enthought.txt
+.. _Enthought License: http://docutils.sf.net/licenses/enthought.rst
The following is excerpted from the full RFP, and is published here
with permission from `Enthought, Inc.`_ See the `Plan for Enthought
diff --git a/docutils/docs/dev/hacking.rst b/docutils/docs/dev/hacking.rst
index e4b9558fc..ee41daeea 100644
--- a/docutils/docs/dev/hacking.rst
+++ b/docutils/docs/dev/hacking.rst
@@ -71,11 +71,11 @@ tree** representation. In this case we are using the
**reStructuredText parser** (``docutils/parsers/rst/__init__.py``).
To see what that node tree looks like, we call ``quicktest.py`` (which
can be found in the ``tools/`` directory of the Docutils distribution)
-with our example file (``test.txt``) as first parameter (Windows users
-might need to type ``python quicktest.py test.txt``)::
+with our example file (``test.rst``) as first parameter (Windows users
+might need to type ``python quicktest.py test.rst``)::
- $ quicktest.py test.txt
-
+ $ quicktest.py test.rst
+
My
@@ -89,7 +89,7 @@ might need to type ``python quicktest.py test.txt``)::
Let us now examine the node tree:
The top-level node is ``document``. It has a ``source`` attribute
-whose value is ``text.txt``. There are two children: A ``paragraph``
+whose value is ``text.rst``. There are two children: A ``paragraph``
node and a ``target`` node. The ``paragraph`` in turn has children: A
text node ("My "), an ``emphasis`` node, a text node (" language is "),
a ``reference`` node, and again a ``Text`` node (".").
@@ -126,8 +126,8 @@ has changed after applying the Transforms, we use the
.. parsed-literal::
- $ rst2pseudoxml.py test.txt
-
+ $ rst2pseudoxml.py test.rst
+
My
@@ -158,7 +158,7 @@ HTML writer in this case (``docutils/writers/html4css1.py``).
The writer receives the node tree and returns the output document.
For HTML output, we can test this using the ``rst2html.py`` tool::
- $ rst2html.py --link-stylesheet test.txt
+ $ rst2html.py --link-stylesheet test.rst
@@ -214,7 +214,7 @@ To retrieve the document tree, call::
Please see the docstring of publish_doctree for a list of parameters.
.. XXX Need to write a well-readable list of (commonly used) options
- of the publish_* functions. Probably in api/publisher.txt.
+ of the publish_* functions. Probably in api/publisher.rst.
``document`` is the root node of the document tree. You can now
change the document by accessing the ``document`` node and its
diff --git a/docutils/docs/dev/policies.rst b/docutils/docs/dev/policies.rst
index 2d2309749..5a9054647 100644
--- a/docutils/docs/dev/policies.rst
+++ b/docutils/docs/dev/policies.rst
@@ -285,7 +285,7 @@ also comply with the `backwards compatibility policy`_.
`Docutils Front-End Tools`_ should have a new section for any
front-end tool that is added. `Docutils Configuration Files`_
should be modified with any settings/options defined. For any
- non-trivial change, the HISTORY.txt_ file should be updated.
+ non-trivial change, the HISTORY.rst_ file should be updated.
* _`Tested` means that unit and/or functional tests, that catch all
bugs fixed and/or cover all new functionality, have been added to
@@ -324,7 +324,7 @@ mistake is easy to fix. That's what version control is for!
.. _Docutils Front-End Tools: ../user/tools.html
.. _Docutils Configuration Files: ../user/config.html
-.. _HISTORY.txt: ../../HISTORY.txt
+.. _HISTORY.rst: ../../HISTORY.rst
.. _`Version Numbering`:
@@ -606,7 +606,7 @@ structure is recommended::
sandbox/
project_name/ # For a collaborative project.
- README.txt # Describe the requirements, purpose/goals, usage,
+ README.rst # Describe the requirements, purpose/goals, usage,
# and list the maintainers.
docs/
...
@@ -615,7 +615,7 @@ structure is recommended::
component/ # The component is a package.
__init__.py # Contains the Reader/Writer class.
other1.py # Other modules and data files used
- data.txt # by this component.
+ data.rst # by this component.
...
test/ # Test suite.
...
diff --git a/docutils/docs/dev/release.rst b/docutils/docs/dev/release.rst
index 1a1ed4eb4..8f6f9c04a 100644
--- a/docutils/docs/dev/release.rst
+++ b/docutils/docs/dev/release.rst
@@ -17,11 +17,11 @@ Releasing (post 2020)
Consider **feature freeze** or/and **check-in freeze** .
-* Update RELEASE-NOTES.txt add section ``Release ``.
+* Update RELEASE-NOTES.rst add section ``Release ``.
- Consult HISTORY.txt for important changes.
+ Consult HISTORY.rst for important changes.
-* Change HISTORY.txt title ``Changes Since `` to ``Release ``.
+* Change HISTORY.rst title ``Changes Since `` to ``Release ``.
* Set new version with ``sandbox/infrastructure/set_version.sh ``
@@ -105,7 +105,7 @@ Releasing (post 2020)
rm -r docutils.egg-info
rsync -e ssh -r -t ./ web.sourceforge.net:/home/project-web/docutils/htdocs/0.##
-* Check web/index.txt for necessary corrections.
+* Check web/index.rst for necessary corrections.
* Run sandbox/infrastructure/docutils-update.local to update web-content.
* Release to sourceforge.
@@ -114,7 +114,7 @@ Releasing (post 2020)
* set_version 0.#.#+1b.dev
* test with py3
-* docutils/HISTORY.txt: add title "Changes Since 0.##"
+* docutils/HISTORY.rst: add title "Changes Since 0.##"
* run sandbox/infrastructure/docutils-update.local
diff --git a/docutils/docs/dev/repository.rst b/docutils/docs/dev/repository.rst
index 875f3cf54..1a3ecd04b 100644
--- a/docutils/docs/dev/repository.rst
+++ b/docutils/docs/dev/repository.rst
@@ -264,6 +264,7 @@ correct properties set::
[auto-props]
*.py = svn:eol-style=native;svn:keywords=Author Date Id Revision
*.txt = svn:eol-style=native;svn:keywords=Author Date Id Revision
+ *.rst = svn:eol-style=native;svn:keywords=Author Date Id Revision
*.html = svn:eol-style=native;svn:keywords=Author Date Id Revision
*.xml = svn:eol-style=native;svn:keywords=Author Date Id Revision
*.tex = svn:eol-style=native;svn:keywords=Author Date Id Revision
diff --git a/docutils/docs/dev/rst/alternatives.rst b/docutils/docs/dev/rst/alternatives.rst
index 949d03a9c..a4fd289c6 100644
--- a/docutils/docs/dev/rst/alternatives.rst
+++ b/docutils/docs/dev/rst/alternatives.rst
@@ -3129,7 +3129,7 @@ Add the following directives?
enabled with an explicit command-line option or config file setting.
Even then, an interactive prompt may be useful, such as:
- The file.txt document you are processing contains a "system"
+ The file.rst document you are processing contains a "system"
directive requesting that the ``sudo rm -rf /`` command be
executed. Allow it to execute? (y/N)
diff --git a/docutils/docs/dev/testing.rst b/docutils/docs/dev/testing.rst
index 1b4fbb2d6..5807118ed 100644
--- a/docutils/docs/dev/testing.rst
+++ b/docutils/docs/dev/testing.rst
@@ -184,7 +184,7 @@ Directory Structure
+ ``input/`` The input files.
- - ``some_test.txt``, for example.
+ - ``some_test.rst``, for example.
+ ``output/`` The actual output.
@@ -212,7 +212,7 @@ always Docutils' main test directory (``test/``).
For example, ``functional/tests/some_test.py`` could read like this::
# Source and destination file names.
- test_source = "some_test.txt"
+ test_source = "some_test.rst"
test_destination = "some_test.html"
# Keyword parameters passed to publish_file.
diff --git a/docutils/docs/dev/todo.rst b/docutils/docs/dev/todo.rst
index c5bd46a98..4004fbb36 100644
--- a/docutils/docs/dev/todo.rst
+++ b/docutils/docs/dev/todo.rst
@@ -319,16 +319,16 @@ Code cleanup and modernization:
First the ToC::
.. ToC-list::
- Introduction.txt
- Objects.txt
- Data.txt
- Control.txt
+ Introduction.rst
+ Objects.rst
+ Data.rst
+ Control.rst
Then a sample use::
- .. include:: ToC.txt
+ .. include:: ToC.rst
- As I said earlier in chapter :chapter:`Objects.txt`, the
+ As I said earlier in chapter :chapter:`Objects.rst`, the
reference count gets increased every time a binding is made.
Which produces::
@@ -347,14 +347,14 @@ Code cleanup and modernization:
files::
.. manifest::
- intro: Introduction.txt
- objects: Objects.txt
- data: Data.txt
- control: Control.txt
+ intro: Introduction.rst
+ objects: Objects.rst
+ data: Data.rst
+ control: Control.rst
Then the sample becomes::
- .. include:: manifest.txt
+ .. include:: manifest.rst
As I said earlier in chapter :chapter:`objects`, the
reference count gets increased every time a binding is made.
@@ -432,7 +432,7 @@ Code cleanup and modernization:
* Support "include" as embedded inline-compatible directive in substitution
definitions, e.g. ::
- .. |version| include:: version.txt
+ .. |version| include:: version.rst
This document describes version |version| of ...
@@ -454,13 +454,13 @@ Code cleanup and modernization:
+ Variable content taken from a file, e.g.
- version.txt::
+ version.rst::
.. |version| replace:: 3.1
optionally used as::
- .. include:: version.txt
+ .. include:: version.rst
:optional: .. |version| replace:: unknown
This document describes version |version| of ...
@@ -529,13 +529,13 @@ Code cleanup and modernization:
* Add file-specific settings support to config files, like::
- [file index.txt]
+ [file index.rst]
compact-lists: no
Is this even possible? Should the criterion be the name of the
input file or the output file? Alternative (more explicit) syntax::
- [source_file index.txt]
+ [source_file index.rst]
...
[dest_file index.html]
@@ -554,7 +554,7 @@ Code cleanup and modernization:
* tools/buildhtml.py: Extend the --prune option ("prune" config
setting) to accept file names (generic path) in addition to
- directories (e.g. --prune=docs/user/rst/cheatsheet.txt, which should
+ directories (e.g. --prune=docs/user/rst/cheatsheet.rst, which should
*not* be converted to HTML).
* Add support for _`plugins`.
@@ -563,7 +563,7 @@ Code cleanup and modernization:
/etc/docutils.conf are read as configuration_ files. Proposal: allow
~/.docutils to be a a configuration *directory*, along with
/etc/docutils/ and ./docutils.conf/. Within these directories,
- check for config.txt files. We can also have subdirectories here,
+ check for config.rst files. We can also have subdirectories here,
for plugins, S5 themes, components (readers/writers/parsers) etc.
Docutils will continue to support configuration files for backwards
@@ -685,9 +685,9 @@ User Docs
.
* Add document about what Docutils has previously been used for
- (web/use-cases.txt?).
+ (web/use-cases.rst?).
-* Improve index in docs/user/config.txt.
+* Improve index in docs/user/config.rst.
Developer Docs
@@ -704,7 +704,7 @@ Developer Docs
- docutils.parsers.rst.states: more complete documentation of parser
internals.
-* docs/ref/doctree.txt: DTD element structural relationships,
+* docs/ref/doctree.rst: DTD element structural relationships,
semantics, and attributes. In progress; element descriptions to be
completed.
@@ -724,7 +724,7 @@ Developer Docs
* Document the docutils.nodes APIs.
-* Complete the docs/api/publisher.txt docs.
+* Complete the docs/api/publisher.rst docs.
How-Tos
@@ -992,7 +992,7 @@ Misc
- Shell sessions::
- $ cat example1.txt
+ $ cat example1.rst
A block beginning with a "$ " prompt is interpreted as a shell
session interactive block. As with Doctest blocks, the
interactive block ends with the first blank line, and wouldn't
@@ -1000,7 +1000,7 @@ Misc
- Root shell sessions::
- # cat example2.txt
+ # cat example2.rst
A block beginning with a "# " prompt is interpreted as a root
shell session (the user is or has to be logged in as root)
interactive block. Again, the block ends with a blank line.
@@ -1229,7 +1229,7 @@ Questions
Should Docutils support adaptable file extensions in hyperlinks?
- In the rST source, sister documents are ".txt" files. If we're
+ In the rST source, sister documents are ".rst" files. If we're
generating HTML, then ".html" is appropriate; if PDF, then ".pdf";
etc.
@@ -1315,11 +1315,11 @@ Chris Liechti suggests a new ``:link:`` role in `more-universal
links?`__::
.. role:: link(rewrite)
- :transform: .txt|.html
+ :transform: .rst|.html
and then to use it::
- for more information see :link:`README.txt`
+ for more information see :link:`README.rst`
it would be useful if it supported an additional option
``:format: html`` so that separate rules for each format can be
@@ -1330,30 +1330,30 @@ __ https://sourceforge.net/p/docutils/mailman/message/6919484/
Idea from Jim Fulton: an external lookup table of targets:
- I would like to specify the extension (e.g. .txt) [in the
+ I would like to specify the extension (e.g. .rst) [in the
source, rather than ``filename.*``], but tell the converter to
change references to the files anticipating that the files will
be converted too.
For example::
- .. _Another Document: another.txt
+ .. _Another Document: another.rst
- rst2html.py --convert-links "another.txt bar.txt" foo.txt
+ rst2html.py --convert-links "another.rst bar.rst" foo.rst
That is, name the files for which extensions should be converted.
Note that I want to refer to original files in the original text
- (another.txt rather than another.*) because I want the
+ (another.rst rather than another.*) because I want the
unconverted text to stand on its own.
Note that in most cases, people will be able to use globs::
- rst2html.py --convert-link-extensions-for "`echo *.txt`" foo.txt
+ rst2html.py --convert-link-extensions-for "`echo *.rst`" foo.rst
It might be nice to be able to use multiple arguments, as in::
- rst2html.py --convert-link-extensions-for *.txt -- foo.txt
+ rst2html.py --convert-link-extensions-for *.rst -- foo.rst
> Handle documents only, or objects (images, etc.) also?
@@ -2464,7 +2464,7 @@ Bug fixes
2017-02-09 this is fixed for enumeration in 0.13.1
- for others, cf. sandbox/latex-variants/tests/rst-levels.txt
+ for others, cf. sandbox/latex-variants/tests/rst-levels.rst
* File names of included graphics (see also `grffile` package).
@@ -2654,7 +2654,7 @@ Tables
* Table heads and footer for longtable (firstpage lastpage ..)?
-* In tools.txt the option tables right column, there should be some more
+* In tools.rst the option tables right column, there should be some more
spacing between the description and the next paragraph "Default:".
* Paragraph separation in tables is hairy.
@@ -2678,7 +2678,7 @@ Image and figure directives
* compare the test case in:
- + `<../../test/functional/input/data/standard.txt>`__
+ + `<../../test/functional/input/data/standard.rst>`__
+ `<../../test/functional/expected/standalone_rst_html4css1.html>`__
+ `<../../test/functional/expected/standalone_rst_latex.tex>`__
diff --git a/docutils/docs/dev/website.rst b/docutils/docs/dev/website.rst
index 6851b30b8..f6ed7502e 100644
--- a/docutils/docs/dev/website.rst
+++ b/docutils/docs/dev/website.rst
@@ -11,7 +11,7 @@
The Docutils web site, , is
maintained by the ``docutils-update.local`` script, run by project
maintainers on their local machines. The script
-will process any .txt file which is newer than the corresponding .html
+will process any .rst file which is newer than the corresponding .html
file in the local copy of the project's web directory and upload the changes
to the web site at SourceForge.
@@ -20,7 +20,7 @@ to the web site at SourceForge.
The Docutils web site, , is
maintained automatically by the ``docutils-update`` script, run as an
hourly cron job on shell.berlios.de (by user "wiemann"). The script
- will process any .txt file which is newer than the corresponding .html
+ will process any .rst file which is newer than the corresponding .html
file in the project's web directory on shell.berlios.de
(``/home/groups/docutils/htdocs/aux/htdocs/``) and upload the changes
to the web site at SourceForge.
@@ -29,7 +29,7 @@ Please **do not** add any generated .html files to the Docutils
repository. They will be generated automatically after a one-time
setup (`described below`__).
-__ `Adding .txt Files`_
+__ `Adding .rst Files`_
The docutils-update.local__ script is located at
``sandbox/infrastructure/docutils-update.local``.
@@ -55,16 +55,16 @@ Setting Up
The procedure for that was on the docutils-devel list a while ago.
-Adding .txt Files
+Adding .rst Files
=================
User/Contributor
----------------
-When adding a new .txt file that should be converted to HTML:
+When adding a new .rst file that should be converted to HTML:
#. Edit sandbox/infrastructure/htmlfiles.lst, and add the .html file
- corresponding to the new .txt file (please keep the sorted order).
+ corresponding to the new .rst file (please keep the sorted order).
#. Commit the edited version to the SVN repository.
diff --git a/docutils/docs/howto/html-stylesheets.rst b/docutils/docs/howto/html-stylesheets.rst
index b03a81ee9..8276cf478 100644
--- a/docutils/docs/howto/html-stylesheets.rst
+++ b/docutils/docs/howto/html-stylesheets.rst
@@ -79,7 +79,7 @@ Docutils' HTML code in a separate stylesheet.
.. base for relative links is /docutils/docs/howto/
.. _Docutils-users: ../user/mailing-lists.html#docutils-users
-.. _configuration: ../user/config.txt
+.. _configuration: ../user/config.rst
.. _sandbox: ../../../sandbox
.. _stylesheet collection: ../../../sandbox/stylesheets/
diff --git a/docutils/docs/index.rst b/docutils/docs/index.rst
index e5744c66d..b5164963d 100644
--- a/docutils/docs/index.rst
+++ b/docutils/docs/index.rst
@@ -51,26 +51,26 @@ Project Fundamentals
These files are for all Docutils stakeholders. They are kept at the
top level of the Docutils project directory.
-:README.txt_: Project overview: quick-start, requirements,
+:README.rst_: Project overview: quick-start, requirements,
installation, and usage.
-:COPYING.txt_: Conditions for Docutils redistribution, with links to
+:COPYING.rst_: Conditions for Docutils redistribution, with links to
licenses.
-:FAQ.txt_: Docutils Frequently Asked Questions. If you have a
+:FAQ.rst_: Docutils Frequently Asked Questions. If you have a
question or issue, there's a good chance it's already
answered here.
-:BUGS.txt_: A list of known bugs, and how to report a bug.
-:RELEASE-NOTES.txt_: Summary of the major changes in recent releases.
-:HISTORY.txt_: Detailed change history log.
-:THANKS.txt_: Acknowledgements.
-
-.. _README.txt: ../README.html
-.. _BUGS.txt: ../BUGS.html
-.. _COPYING.txt: ../COPYING.html
+:BUGS.rst_: A list of known bugs, and how to report a bug.
+:RELEASE-NOTES.rst_: Summary of the major changes in recent releases.
+:HISTORY.rst_: Detailed change history log.
+:THANKS.rst_: Acknowledgements.
+
+.. _README.rst: ../README.html
+.. _BUGS.rst: ../BUGS.html
+.. _COPYING.rst: ../COPYING.html
.. _Docutils FAQ:
-.. _FAQ.txt: ../FAQ.html
-.. _RELEASE-NOTES.txt: ../RELEASE-NOTES.html
-.. _HISTORY.txt: ../HISTORY.html
-.. _THANKS.txt: ../THANKS.html
+.. _FAQ.rst: ../FAQ.html
+.. _RELEASE-NOTES.rst: ../RELEASE-NOTES.html
+.. _HISTORY.rst: ../HISTORY.html
+.. _THANKS.rst: ../THANKS.html
.. _user:
@@ -95,13 +95,13 @@ Writer-specific:
`reStructuredText `_:
* `A ReStructuredText Primer `__
- (see also the `text source `__)
+ (see also the `text source `__)
* `Quick reStructuredText `__ (user reference)
-* `reStructuredText Cheat Sheet `__ (text
+* `reStructuredText Cheat Sheet `__ (text
only; 1 page for syntax, 1 page directive & role reference)
* `reStructuredText Demonstration `_ (a
demonstration of most reStructuredText features; you can also have a
- look at the `text source `__)
+ look at the `text source `__)
Editor support:
diff --git a/docutils/docs/ref/doctree.rst b/docutils/docs/ref/doctree.rst
index 07a18aa61..6cbadead5 100644
--- a/docutils/docs/ref/doctree.rst
+++ b/docutils/docs/ref/doctree.rst
@@ -1633,7 +1633,7 @@ Complete pseudo-XML_ result after parsing and applying transforms::
Filename
- doctree.txt
+ doctree.rst
This document has been placed in the public domain.
@@ -5376,7 +5376,7 @@ The following restrictions are imposed by this model:
section.
.. The following is not the case with Docutils (since at least 2004)
- (cf. test/functional/input/data/standard.txt)
+ (cf. test/functional/input/data/standard.rst)
An additional restriction, which cannot be expressed in the language
of DTDs, is imposed by software:
diff --git a/docutils/docs/ref/rst/directives.rst b/docutils/docs/ref/rst/directives.rst
index bd997b947..1b7d4f836 100644
--- a/docutils/docs/ref/rst/directives.rst
+++ b/docutils/docs/ref/rst/directives.rst
@@ -1413,7 +1413,7 @@ point of the directive. For example::
This first example will be parsed at the document level, and can
thus contain any construct, including section headers.
- .. include:: inclusion.txt
+ .. include:: inclusion.rst
Back in the main document.
@@ -1421,7 +1421,7 @@ point of the directive. For example::
Therefore it may only contain body elements. It may not
contain section headers.
- .. include:: inclusion.txt
+ .. include:: inclusion.rst
If an included document fragment contains section structure, the title
adornments must match those of the master document.
diff --git a/docutils/docs/ref/rst/restructuredtext.rst b/docutils/docs/ref/rst/restructuredtext.rst
index 83aa3894b..06f5ec5e3 100644
--- a/docutils/docs/ref/rst/restructuredtext.rst
+++ b/docutils/docs/ref/rst/restructuredtext.rst
@@ -2570,7 +2570,7 @@ following terms are recognized as containing inline markup strings:
No escaping is required inside the following inline markup examples:
-- ``*2 * x *a **b *.txt*`` (breaks rule 2; renders as "*2 * x *a **b *.txt*")
+- ``*2 * x *a **b *.rst*`` (breaks rule 2; renders as "*2 * x *a **b *.rst*")
- ``*2*x a**b O(N**2) e**(x*y) f(x)*f(y) a*(1+2)*``
(breaks rule 7; renders as "*2*x a**b O(N**2) e**(x*y) f(x)*f(y) a*(1+2)*")
@@ -2580,13 +2580,13 @@ especially if they represent code snippets. It's a judgment call.
The following terms *do* require either literal-quoting or escaping to avoid
misinterpretation::
- *4, class_, *args, **kwargs, `TeX-quoted', *ML, *.txt
+ *4, class_, *args, **kwargs, `TeX-quoted', *ML, *.rst
In most use cases, `inline literals`_ or `literal blocks`_ are the best
choice (by default, this also selects a monospaced font). Alternatively, the
inline markup characters can be escaped::
- \*4, class\_, \*args, \**kwargs, \`TeX-quoted', \*ML, \*.txt
+ \*4, class\_, \*args, \**kwargs, \`TeX-quoted', \*ML, \*.rst
For languages that don't use whitespace between words (e.g. Japanese or
@@ -2860,9 +2860,9 @@ If a target URI that is not recognized as `standalone hyperlink`_ happens
to end with an underscore, this needs to be backslash-escaped to avoid
being parsed as hyperlink reference. For example ::
- Use the `source `__.
+ Use the `source `__.
-creates an anonymous reference to the file ``parrots.txt_``.
+creates an anonymous reference to the file ``parrots.rst_``.
If the reference text happens to end with angle-bracketed text that is
*not* a URI or hyperlink reference, at least one angle-bracket needs to
diff --git a/docutils/docs/user/Makefile.docutils-update b/docutils/docs/user/Makefile.docutils-update
index 4cc8f3c78..3243ea568 100644
--- a/docutils/docs/user/Makefile.docutils-update
+++ b/docutils/docs/user/Makefile.docutils-update
@@ -1,9 +1,9 @@
-slide-shows.s5.html: slide-shows.txt
- rst2s5.py slide-shows.txt slide-shows.s5.html \
+slide-shows.s5.html: slide-shows.rst
+ rst2s5.py slide-shows.rst slide-shows.s5.html \
--config ../../tools/docutils.conf \
--overwrite-theme-files \
--link-stylesheet \
--no-generator --no-datestamp --no-source-link
-smartquotes.html: smartquotes.txt
- rst2html.py smartquotes.txt smartquotes.html --smart-quotes=true
+smartquotes.html: smartquotes.rst
+ rst2html.py smartquotes.rst smartquotes.html --smart-quotes=true
diff --git a/docutils/docs/user/config.rst b/docutils/docs/user/config.rst
index bd0a943e4..2c15228f1 100644
--- a/docutils/docs/user/config.rst
+++ b/docutils/docs/user/config.rst
@@ -460,13 +460,13 @@ Set to ``-`` in order to write dependencies to stdout.
This option is particularly useful in conjunction with programs like
``make`` using ``Makefile`` rules like::
- ham.html: ham.txt $(shell cat hamdeps.txt)
- rst2html.py --record-dependencies=hamdeps.txt ham.txt ham.html
+ ham.html: ham.rst $(shell cat hamdeps.rst)
+ rst2html.py --record-dependencies=hamdeps.rst ham.rst ham.html
If the filesystem encoding differs from utf8, replace the ``cat``
command with a call to a converter, e.g.::
- $(shell iconv -f utf8 -t latin1 hamdeps.txt)
+ $(shell iconv -f utf8 -t latin1 hamdeps.rst)
Default: None. Option: ``--record-dependencies``.
diff --git a/docutils/docs/user/latex.rst b/docutils/docs/user/latex.rst
index 8af8821d6..84a80a4c3 100644
--- a/docutils/docs/user/latex.rst
+++ b/docutils/docs/user/latex.rst
@@ -268,12 +268,12 @@ Custom LaTeX code can be placed in `style sheets`_, the
The functional tests that come with Docutils, can serve as example.
input:
- standalone_rst_latex.txt_ (includes files from `tests/functional/input/data`_)
+ standalone_rst_latex.rst_ (includes files from `tests/functional/input/data`_)
expected output:
standalone_rst_latex.tex_
-.. _standalone_rst_latex.txt:
- https://sf.net/p/docutils/code/HEAD/tree/trunk/docutils/test/functional/input/standalone_rst_latex.txt
+.. _standalone_rst_latex.rst:
+ https://sf.net/p/docutils/code/HEAD/tree/trunk/docutils/test/functional/input/standalone_rst_latex.rst
.. _tests/functional/input/data:
https://sf.net/p/docutils/code/HEAD/tree/trunk/docutils/test/functional/input/data
.. _standalone_rst_latex.tex:
@@ -1884,7 +1884,7 @@ footnote mark and text at different pages
Docutils stores the footnote text in a separate node, at the position where
it is specified in the input document. With the default settings, the
footnote is put at the bottom of the page where the footnote text is located,
-maybe far away from the footnote mark (see e.g. ``_).
+maybe far away from the footnote mark (see e.g. ``_).
To get footnote mark and text at the same page, keep footnote mark and
footnote text close together.
@@ -2130,7 +2130,7 @@ Miscellaneous
complicated).
* Hyperlinks are not hyphenated; this leads to bad spacing. See
- docs/user/rst/demo.txt 2.14 directives.
+ docs/user/rst/demo.rst 2.14 directives.
* Pagestyle headings does not work, when sections are starred. Use LaTeX for
the section numbering with the `options/settings`_
diff --git a/docutils/docs/user/odt.rst b/docutils/docs/user/odt.rst
index aec04da1b..b173b9287 100644
--- a/docutils/docs/user/odt.rst
+++ b/docutils/docs/user/odt.rst
@@ -56,7 +56,7 @@ How to Use It
Run it from the command line as follows::
- $ rst2odt.py myinput.txt myoutput.odt
+ $ rst2odt.py myinput.rst myoutput.odt
To see usage information and to learn about command line options
that you can use, run the following::
@@ -65,10 +65,10 @@ that you can use, run the following::
Examples::
- $ rst2odt.py -s -g python_comments.txt python_comments.odt
+ $ rst2odt.py -s -g python_comments.rst python_comments.odt
- $ rst2odt.py --source-url=odtwriter.txt --generator \
- --stylesheet=/myconfigs/styles.odt odtwriter.txt odtwriter.odt
+ $ rst2odt.py --source-url=odtwriter.rst --generator \
+ --stylesheet=/myconfigs/styles.odt odtwriter.rst odtwriter.odt
Configuration file
@@ -225,7 +225,7 @@ Notice that you can make a copy of file ``styles.odt``, modify it
using ``oowriter``, and then use your copy with the
``--stylesheet=`` command line option. Example::
- $ rst2odt.py --stylesheet=mystyles.odt test2.txt test2.odt
+ $ rst2odt.py --stylesheet=mystyles.odt test2.rst test2.odt
Paragraph styles
@@ -746,7 +746,7 @@ contain them, do the following:
custom style definitions. For example::
rst2odt.py --odf-config-file=mymappingfile.ini \
- --stylesheet=mystyles.odt mydoc.txt mydoc.odt
+ --stylesheet=mystyles.odt mydoc.rst mydoc.odt
Classes
@@ -843,7 +843,7 @@ blocks. In order to activate this, do all of the following:
2. Use the command line option ``--add-syntax-highlighting``.
Example::
- $ rst2odt.py --add-syntax-highlight test.txt test.odt
+ $ rst2odt.py --add-syntax-highlight test.rst test.odt
The following styles are defined in styles.odt and are used for
literal code blocks and syntax highlighting:
@@ -1110,7 +1110,7 @@ or "--custom-odt-footer" command line options. For example, the
following inserts a footer containing the page number and page
count::
- $ rst2odt.py --custom-odt-footer="Page %p% of %P%" f1.txt f1.odt
+ $ rst2odt.py --custom-odt-footer="Page %p% of %P%" f1.rst f1.odt
Field specifiers
diff --git a/docutils/docs/user/rst/cheatsheet.rst b/docutils/docs/user/rst/cheatsheet.rst
index 1a3f3e27a..7e844c9b5 100644
--- a/docutils/docs/user/rst/cheatsheet.rst
+++ b/docutils/docs/user/rst/cheatsheet.rst
@@ -8,7 +8,7 @@
:Description: This is a "docinfo block", or bibliographic field list
.. NOTE:: If you are reading this as HTML, please read
- ``_ instead to see the input syntax examples!
+ ``_ instead to see the input syntax examples!
Section Structure
=================
@@ -35,7 +35,7 @@ Grid table:
Simple tables:
================ ============================================================
-List Type Examples (syntax in the `text source `_)
+List Type Examples (syntax in the `text source `_)
================ ============================================================
Bullet list * items begin with "-", "+", or "*"
Enumerated list 1. items use any variation of "1.", "A)", and "(i)"
diff --git a/docutils/docs/user/slide-shows.rst b/docutils/docs/user/slide-shows.rst
index aa7c1e130..3529138ee 100644
--- a/docutils/docs/user/slide-shows.rst
+++ b/docutils/docs/user/slide-shows.rst
@@ -357,11 +357,11 @@ Generating a Slide Show (1)
.. class:: incremental
1. Open a console (terminal, command shell) and go to the folder
- containing your file, ``slides.txt``.
+ containing your file, ``slides.rst``.
2. Run the command::
- rst2s5.py slides.txt slides.html
+ rst2s5.py slides.rst slides.html
3. Specify an S5 theme with the ``--theme`` option.
@@ -498,7 +498,7 @@ Themes
Example::
- rst2s5 --theme big-black slides.txt slides.html
+ rst2s5 --theme big-black slides.rst slides.html
The default theme is "default".
@@ -651,7 +651,7 @@ Making a Custom Theme
.. class:: incremental
-1. Run "``rst2s5.py --theme .txt .html``".
+1. Run "``rst2s5.py --theme .rst .html``".
.. class:: handout
@@ -666,7 +666,7 @@ Making a Custom Theme
Start with ``pretty.css``; edit ``framing.css`` if you need to make
layout changes.
-4. Run "``rst2s5.py --theme-url ui/.txt .html``".
+4. Run "``rst2s5.py --theme-url ui/.rst .html``".
.. class:: handout
diff --git a/docutils/docs/user/tools.rst b/docutils/docs/user/tools.rst
index 5b85e076d..a00dcd53e 100644
--- a/docutils/docs/user/tools.rst
+++ b/docutils/docs/user/tools.rst
@@ -84,7 +84,7 @@ For example, to process a Markdown_ file "``test.md``" into
Pseudo-XML_ ::
docutils-cli.py --parser=markdown --writer=pseudoxml\
- test.md test.txt
+ test.md test.rst
Use the "--help" option together with the component-selection options
to get the correct list of supported command-line options. Example::
@@ -110,7 +110,7 @@ buildhtml.py
:Writers: html_, html5_, pep_html_
:Config_: `[buildhtml application]`_
-Use ``buildhtml.py`` to generate ``*.html`` from all the ``*.txt`` files
+Use ``buildhtml.py`` to generate ``*.html`` from all the ``*.rst`` files
(including PEPs) in each given, and their subdirectories
too. (Use the ``--local`` option to skip subdirectories.)
@@ -132,7 +132,7 @@ where "X.Y" is the release version. Alternatively::
The current directory (and all subdirectories) is chosen by default if
no directory is named. Some files may generate system messages
-(docs/user/rst/demo.txt contains intentional errors); use the
+(docs/user/rst/demo.rst contains intentional errors); use the
``--quiet`` option to suppress all warnings. The ``--config`` option
ensures that the correct settings are in place (a ``docutils.conf``
`configuration file`_ in the current directory is picked up
@@ -177,16 +177,16 @@ A CSS stylesheet is required for proper rendering; a simple but
complete stylesheet is installed and used by default (see Stylesheets_
below).
-For example, to process a reStructuredText file "``test.txt``" into
+For example, to process a reStructuredText file "``test.rst``" into
HTML::
- rst2html.py test.txt test.html
+ rst2html.py test.rst test.html
Now open the "``test.html``" file in your favorite browser to see the
results. To get a footer with a link to the source file, date & time
of processing, and links to the Docutils project, add some options::
- rst2html.py -stg test.txt test.html
+ rst2html.py -stg test.rst test.html
Stylesheets
@@ -241,7 +241,7 @@ configuration files.
For example, to process a PEP into HTML::
cd /docs/peps
- rstpep2html.py pep-0287.txt pep-0287.html
+ rstpep2html.py pep-0287.rst pep-0287.html
.. _pep_html: html.html#pep-html
@@ -258,10 +258,10 @@ Standards-based Slide Show System" by Eric Meyer. A theme is required
for proper rendering; several are distributed with Docutils and others
are available; see Themes_ below.
-For example, to process a reStructuredText file "``slides.txt``" into
+For example, to process a reStructuredText file "``slides.rst``" into
S5/HTML::
- rst2s5.py slides.txt slides.html
+ rst2s5.py slides.rst slides.html
Now open the "``slides.html``" file in your favorite browser, switch
to full-screen mode, and enjoy the results.
@@ -279,7 +279,7 @@ using the "``--theme``" option (for themes that come with Docutils) or
the "``--theme-url``" option (for themes anywhere). For example, the
"medium-black" theme can be specified as follows::
- rst2s5.py --theme medium-black slides.txt slides.html
+ rst2s5.py --theme medium-black slides.rst slides.html
The theme will be copied to the ``ui/medium-black`` directory.
@@ -370,9 +370,9 @@ rst2latex.py
The ``rst2latex.py`` front end reads standalone reStructuredText
source files and produces LaTeX_ output. For example, to process a
-reStructuredText file "``test.txt``" into LaTeX::
+reStructuredText file "``test.rst``" into LaTeX::
- rst2latex.py test.txt test.tex
+ rst2latex.py test.rst test.tex
The output file "``test.tex``" should then be processed with ``latex``
or ``pdflatex`` to get a document in DVI, PostScript or PDF format for
@@ -390,9 +390,9 @@ rst2xetex.py
The ``rst2xetex.py`` front end reads standalone reStructuredText source
files and produces `LaTeX` output for processing with Unicode-aware
TeX engines (`LuaTeX`_ or `XeTeX`_). For example, to process a
-reStructuredText file "``test.txt``" into LaTeX::
+reStructuredText file "``test.rst``" into LaTeX::
- rst2xetex.py test.txt test.tex
+ rst2xetex.py test.rst test.tex
The output file "``test.tex``" should then be processed with ``xelatex`` or
``lualatex`` to get a document in PDF format for printing or on-screen
diff --git a/docutils/docutils/__init__.py b/docutils/docutils/__init__.py
index c11274fc5..813b732aa 100644
--- a/docutils/docutils/__init__.py
+++ b/docutils/docutils/__init__.py
@@ -64,7 +64,7 @@
For version comparison operations, use `__version_info__` (see, below)
rather than parsing the text of `__version__`.
-See 'Version Numbering' in docs/dev/policies.txt.
+See 'Version Numbering' in docs/dev/policies.rst.
"""
# from functools import total_ordering
@@ -119,7 +119,7 @@ def __ge__(self, other):
release=False # True for official releases and pre-releases
)
"""Comprehensive version information tuple. See 'Version Numbering' in
-docs/dev/policies.txt."""
+docs/dev/policies.rst."""
__version_details__ = 'release'
"""Optional extra version details (e.g. 'snapshot 2005-05-29, r3410').
diff --git a/docutils/docutils/transforms/references.py b/docutils/docutils/transforms/references.py
index dc156b7b1..55cd52d31 100644
--- a/docutils/docutils/transforms/references.py
+++ b/docutils/docutils/transforms/references.py
@@ -751,7 +751,7 @@ def apply(self):
for node in subdef_copy.children:
if isinstance(node, nodes.Referential):
# HACK: verify refname attribute exists.
- # Test with docs/dev/todo.txt, see. |donate|
+ # Test with docs/dev/todo.rst, see. |donate|
if 'refname' in node:
self.document.note_refname(node)
diff --git a/docutils/docutils/writers/latex2e/__init__.py b/docutils/docutils/writers/latex2e/__init__.py
index 8333c1fb3..4f3428bbf 100644
--- a/docutils/docutils/writers/latex2e/__init__.py
+++ b/docutils/docutils/writers/latex2e/__init__.py
@@ -2297,7 +2297,7 @@ def visit_footnote_reference(self, node):
href = self.document.nameids[node['refname']]
# if not self.docutils_footnotes:
# # TODO: insert footnote content at (or near) this place
- # # see also docs/dev/todo.txt
+ # # see also docs/dev/todo.rst
# try:
# referenced_node = self.document.ids[node['refid']]
# except (AttributeError, KeyError):
diff --git a/docutils/docutils/writers/odf_odt/__init__.py b/docutils/docutils/writers/odf_odt/__init__.py
index 89abaceb5..7141be6aa 100644
--- a/docutils/docutils/writers/odf_odt/__init__.py
+++ b/docutils/docutils/writers/odf_odt/__init__.py
@@ -2672,7 +2672,7 @@ def depart_literal_block(self, node):
visit_doctest_block = visit_literal_block
depart_doctest_block = depart_literal_block
- # placeholder for math (see docs/dev/todo.txt)
+ # placeholder for math (see docs/dev/todo.rst)
def visit_math(self, node):
self.document.reporter.warning('"math" role not supported',
base_node=node)
diff --git a/docutils/setup.cfg b/docutils/setup.cfg
index 19fcf35d3..92e4fff82 100644
--- a/docutils/setup.cfg
+++ b/docutils/setup.cfg
@@ -13,5 +13,5 @@ doc_files = BUGS.txt
universal = 1
[codespell]
-skip = test,pep-*.txt,iso*.txt
+skip = test,pep-*.rst,iso*.rst
ignore-words-list = ba,complies,ede,fo,hist,ist,ment,nd,ned,ninjs,ownward,ream,ro,shttp,ta,te,ue,wee,windos
diff --git a/docutils/setup.py b/docutils/setup.py
index 165762325..850f1dd02 100755
--- a/docutils/setup.py
+++ b/docutils/setup.py
@@ -40,7 +40,7 @@
'author_email': 'goodger@python.org',
'maintainer': 'docutils-develop list',
'maintainer_email': 'docutils-develop@lists.sourceforge.net',
- 'license': 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)',
+ 'license': 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.rst)',
'platforms': 'OS-independent',
'python_requires': '>=3.7',
'include_package_data': True,
diff --git a/docutils/test/data/csv_dep.rst b/docutils/test/data/csv_dep.rst
index 14620a926..ab7c229d0 100644
--- a/docutils/test/data/csv_dep.rst
+++ b/docutils/test/data/csv_dep.rst
@@ -1,2 +1,2 @@
.. csv-table::
- :file: csv_data.txt
+ :file: csv_data.rst
diff --git a/docutils/test/data/dependencies.rst b/docutils/test/data/dependencies.rst
index 43eaa8613..4664fe779 100644
--- a/docutils/test/data/dependencies.rst
+++ b/docutils/test/data/dependencies.rst
@@ -6,14 +6,14 @@ conjunction with programs like ``make``.
Included files are recorded:
-.. include:: include.txt
+.. include:: include.rst
.. raw:: HTML
- :file: raw.txt
+ :file: raw.rst
Dependencies are recorded only once:
-.. include:: include.txt
+.. include:: include.rst
Image files are only recorded, if actually accessed
(to extract the size or if embedded in the output document):
@@ -34,4 +34,4 @@ TODO: Paths in included files should be rewritten relative to the base
* when loading images,
* when recording dependencies.
-.. include: subdir/dependencies-included.txt
+.. include: subdir/dependencies-included.rst
diff --git a/docutils/test/functional/expected/compact_lists.html b/docutils/test/functional/expected/compact_lists.html
index ec36e22b1..c034ff0ee 100644
--- a/docutils/test/functional/expected/compact_lists.html
+++ b/docutils/test/functional/expected/compact_lists.html
@@ -4,7 +4,7 @@
-compact_lists.txt
+compact_lists.rst
diff --git a/docutils/test/functional/expected/dangerous.html b/docutils/test/functional/expected/dangerous.html
index 3cfe767be..02bdc35c1 100644
--- a/docutils/test/functional/expected/dangerous.html
+++ b/docutils/test/functional/expected/dangerous.html
@@ -4,7 +4,7 @@
-dangerous.txt
+dangerous.rst
@@ -13,14 +13,14 @@
Potentially dangerous features (security holes):
-
System Message: WARNING/2 (functional/input/dangerous.txt, line 3)
+
System Message: WARNING/2 (functional/input/dangerous.rst, line 3)
"include" directive disabled.
.. include:: /etc/passwd
-
System Message: WARNING/2 (functional/input/dangerous.txt, line 4)
+
System Message: WARNING/2 (functional/input/dangerous.rst, line 4)
"raw" directive disabled.
.. raw:: html
@@ -28,7 +28,7 @@
-
System Message: WARNING/2 (functional/input/dangerous.txt, line 6)
+
System Message: WARNING/2 (functional/input/dangerous.rst, line 6)
"raw" directive disabled.
.. raw:: html
@@ -36,7 +36,7 @@
-
System Message: WARNING/2 (functional/input/dangerous.txt, line 8)
+
System Message: WARNING/2 (functional/input/dangerous.rst, line 8)
"raw" directive disabled.
.. raw:: html
@@ -47,14 +47,14 @@
-
System Message: WARNING/2 (functional/input/dangerous.txt, line 13)
+
System Message: WARNING/2 (functional/input/dangerous.rst, line 13)
File and URL access deactivated; ignoring "csv-table" directive.
.. csv-table:: :file: /etc/passwd
-
System Message: WARNING/2 (functional/input/dangerous.txt, line 14)
+
System Message: WARNING/2 (functional/input/dangerous.rst, line 14)
File and URL access deactivated; ignoring "csv-table" directive.
.. csv-table:: :url: file:///etc/passwd
diff --git a/docutils/test/functional/expected/field_name_limit.html b/docutils/test/functional/expected/field_name_limit.html
index 28437d4f5..05bdaa379 100644
--- a/docutils/test/functional/expected/field_name_limit.html
+++ b/docutils/test/functional/expected/field_name_limit.html
@@ -4,7 +4,7 @@
-field_list.txt
+field_list.rst
diff --git a/docutils/test/functional/expected/latex_cornercases.tex b/docutils/test/functional/expected/latex_cornercases.tex
index 5f7b79c44..d6216105f 100644
--- a/docutils/test/functional/expected/latex_cornercases.tex
+++ b/docutils/test/functional/expected/latex_cornercases.tex
@@ -700,7 +700,7 @@ \subsection{TODO%
\item Tweak vertical spacing in table cells containing multiple elements.
\end{itemize}
-See also \texttt{test/functional/input/data/latex-problematic.txt}.
+See also \texttt{test/functional/input/data/latex-problematic.rst}.
\section{Monospaced non-alphanumeric characters%
diff --git a/docutils/test/functional/expected/latex_memoir.tex b/docutils/test/functional/expected/latex_memoir.tex
index 23728e37c..4e2f4276c 100644
--- a/docutils/test/functional/expected/latex_memoir.tex
+++ b/docutils/test/functional/expected/latex_memoir.tex
@@ -1452,7 +1452,7 @@ \subsection{2.14.10Â Â Â Code%
\texttt{\DUrole{code}{\DUrole{tex}{\textbackslash{}alpha = f(x)}}} prints $\alpha = f(x)$.
The \texttt{:code:} option of the \DUroletitlereference{include} directive sets the included content
-as a code block, here the rst file \texttt{header\_footer.txt} with line numbers:
+as a code block, here the rst file \texttt{header\_footer.rst} with line numbers:
\begin{DUclass}{code}
\begin{DUclass}{rst}
@@ -1531,7 +1531,7 @@ \section{2.18Â Â Â Container%
\end{DUclass}
% currently not implemented in LaTeX:
-% .. include:: data/header_footer.txt
+% .. include:: data/header_footer.rst
\section{2.19Â Â Â Colspanning tables%
@@ -1961,7 +1961,7 @@ \section{3.2Â Â Â class handling%
}
This section tests class handling for block level elements by the LaTeX
-writer. See the input file \texttt{classes\_latex.txt} for the raw LaTeX code used
+writer. See the input file \texttt{classes\_latex.rst} for the raw LaTeX code used
to style the examples.
An \textquotedbl{}epigraph\textquotedbl{} directive is exported as \textquotedbl{}quote\textquotedbl{} wrapped in a \textquotedbl{}DUclass\textquotedbl{}
@@ -2078,7 +2078,7 @@ \chapter{4Â Â Â Error Handling%
\DUtitle[system-message]{system-message
\raisebox{1em}{\hypertarget{system-message-1}{}}}
-{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~99
+{\color{red}ERROR/3} in \texttt{functional/input/data/standard.rst}, line~99
\hyperlink{problematic-1}{
Undefined substitution referenced: \textquotedbl{}problematic\textquotedbl{}.
@@ -2088,7 +2088,7 @@ \chapter{4Â Â Â Error Handling%
\DUtitle[system-message]{system-message
\raisebox{1em}{\hypertarget{system-message-2}{}}}
-{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~387
+{\color{red}ERROR/3} in \texttt{functional/input/data/standard.rst}, line~387
\hyperlink{footnote-reference-8}{
Unknown target name: \textquotedbl{}5\textquotedbl{}.
@@ -2098,7 +2098,7 @@ \chapter{4Â Â Â Error Handling%
\DUtitle[system-message]{system-message
\raisebox{1em}{\hypertarget{system-message-3}{}}}
-{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~396
+{\color{red}ERROR/3} in \texttt{functional/input/data/standard.rst}, line~396
\hyperlink{citation-reference-3}{
Unknown target name: \textquotedbl{}nonexistent\textquotedbl{}.
@@ -2108,7 +2108,7 @@ \chapter{4Â Â Â Error Handling%
\DUtitle[system-message]{system-message
\raisebox{1em}{\hypertarget{system-message-4}{}}}
-{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~423
+{\color{red}ERROR/3} in \texttt{functional/input/data/standard.rst}, line~423
\hyperlink{problematic-2}{
Unknown target name: \textquotedbl{}hyperlink reference without a target\textquotedbl{}.
@@ -2118,7 +2118,7 @@ \chapter{4Â Â Â Error Handling%
\DUtitle[system-message]{system-message
\raisebox{1em}{\hypertarget{system-message-5}{}}}
-{\color{red}ERROR/3} in \texttt{functional/input/data/standard.txt}, line~436
+{\color{red}ERROR/3} in \texttt{functional/input/data/standard.rst}, line~436
\hyperlink{problematic-3}{
Duplicate target name, cannot be used as a unique reference: \textquotedbl{}duplicate target names\textquotedbl{}.
diff --git a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml
index af43dc8e0..bc22dc865 100644
--- a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml
+++ b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml
@@ -1,7 +1,7 @@
-
+reStructuredText Test DocumentExamples of Syntax Constructs
@@ -351,7 +351,7 @@ should be grouped in pairs).
Four
-
+ Enumerated list start value not ordinal-1: "3" (ordinal 3)
@@ -362,7 +362,7 @@ should be grouped in pairs).
D
-
+ Enumerated list start value not ordinal-1: "C" (ordinal 3)
@@ -373,7 +373,7 @@ should be grouped in pairs).
iv
-
+ Enumerated list start value not ordinal-1: "iii" (ordinal 3)
@@ -749,7 +749,7 @@ Python-specific usage examples; begun with ">>>"
2.13.2Â Â Â Duplicate Target Names
-
+ Duplicate implicit target name: "duplicate target names".Since there are two "Duplicate Target Names" section headers, we
@@ -1360,8 +1360,8 @@ footnotes 1Docutils uses LaTeX syntax for math directives and roles:
\alpha = f(x) prints .The :code: option of the include directive sets the included content
- as a code block, here the rst file header_footer.txt with line numbers:
- 1 .. header:: Document header
+ as a code block, here the rst file header_footer.rst with line numbers:
+ 1 .. header:: Document header
2 .. footer:: Document footer
@@ -1741,46 +1741,46 @@ Comments may contain non-ASCII characters: ä ö ü æ ø å
Docutils System Messages
-
+ Undefined substitution referenced: "problematic".
-
+ Unknown target name: "5".
-
+ Unknown target name: "nonexistent".
-
+ Unknown target name: "hyperlink reference without a target".
-
+ Duplicate target name, cannot be used as a unique reference: "duplicate target names".
-
+ Hyperlink target "target" is not referenced.
-
+ Hyperlink target "another-target" is not referenced.
-
+ Hyperlink target "image-target-1" is not referenced.
-
+ Hyperlink target "image-target-2" is not referenced.
-
+ Hyperlink target "image-target-3" is not referenced.
-
+ Hyperlink target "target1" is not referenced.
-
+ Hyperlink target "target2" is not referenced.
-
+ Hyperlink target "docutils" is not referenced.
-
+ Hyperlink target "hyperlink targets" is not referenced.
diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html
index 75d13a7eb..08f574cf5 100644
--- a/docutils/test/functional/expected/standalone_rst_html4css1.html
+++ b/docutils/test/functional/expected/standalone_rst_html4css1.html
@@ -1027,7 +1027,7 @@
2.14.10 CodeDocutils uses LaTeX syntax for math directives and roles:
\alpha = f(x) prints α = f(x).
The :code: option of the include directive sets the included content
-as a code block, here the rst file header_footer.txt with line numbers:
+as a code block, here the rst file header_footer.rst with line numbers: