[docutils:patches] #187 Rename .txt files to .rst

engelbert gruber via Docutils-develop <[email protected]> Thu, 15 Aug 2024 08:20:30 -0000
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/patches/187/e1c52b98b9b9c66b99811b260d96859610fd217e.patches@docutils.p.sourceforge.net>
- **status**: pending-remind --> open-fixed
- **Comment**:

applied the patch



---

**[patches:#187] Rename .txt files to .rst**

**Status:** open-fixed
**Group:** None
**Created:** Wed Jan 05, 2022 05:51 PM UTC by Adam  Turner
**Last Updated:** Fri Aug 09, 2024 09:35 AM UTC
**Owner:** Adam  Turner


This change is in two parts -- the first commit does the rename and the second goes through and updates references to .txt files. All tests pass.

The benefit of this change is primarily for people -- on user interfaces with syntax highlighting (e.g. IntelliJ / VSCode / Notepad++ editors, code mirrors, etc), the text is presented natively as reStructuredText, and editor features can assist with e.g. autocompletion.

Docutils itself of course does not care which file extension is used. 

I have not renamed any of the include files or template files in `docutils.parsers` or `docutils.writers`, as they form part of the public API and would need a deprecation cycle (or aliasing in the parsing code)

A

Please see https://github.com/AA-Turner/docutils/pull/3 and https://github.com/AA-Turner/docutils/pull/3.patch for the commits and patch.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.