|
From: <mi...@us...> - 2024-06-14 15:03:35
|
Revision: 9757
http://sourceforge.net/p/docutils/code/9757
Author: milde
Date: 2024-06-14 15:03:32 +0000 (Fri, 14 Jun 2024)
Log Message:
-----------
Remove tools/rst2odt_prepstyles.py
Obsoleted by `docutils.writers.odf_odt.prepstyles`.
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/RELEASE-NOTES.txt
Removed Paths:
-------------
trunk/docutils/tools/rst2odt_prepstyles.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2024-06-14 15:03:22 UTC (rev 9756)
+++ trunk/docutils/HISTORY.txt 2024-06-14 15:03:32 UTC (rev 9757)
@@ -101,7 +101,11 @@
- Do not increase indentation of follow-up lines inside inline elements.
when formatting with `indents`_.
+* tools/rst2odt_prepstyles.py
+ - Removed. Use `docutils.writers.odf_odt.prepstyles`.
+
+
Release 0.21.2 (2024-04-23)
===========================
Modified: trunk/docutils/RELEASE-NOTES.txt
===================================================================
--- trunk/docutils/RELEASE-NOTES.txt 2024-06-14 15:03:22 UTC (rev 9756)
+++ trunk/docutils/RELEASE-NOTES.txt 2024-06-14 15:03:32 UTC (rev 9757)
@@ -227,6 +227,11 @@
`docutils.nodes.Element.set_class()`
Obsolete. Append to Element['classes'] directly.
+* Removed files:
+
+ ``tools/rst2odt_prepstyles.py``
+ Obsoleted by `docutils.writers.odf_odt.prepstyles`.
+
* Bugfixes and improvements (see HISTORY_).
.. _Docutils Document Model:
Deleted: trunk/docutils/tools/rst2odt_prepstyles.py
===================================================================
--- trunk/docutils/tools/rst2odt_prepstyles.py 2024-06-14 15:03:22 UTC (rev 9756)
+++ trunk/docutils/tools/rst2odt_prepstyles.py 2024-06-14 15:03:32 UTC (rev 9757)
@@ -1,20 +0,0 @@
-#!/usr/bin/env python3
-
-# Copyright: This module has been placed in the public domain.
-
-"""
-Adapt a word-processor-generated styles.odt for odtwriter use:
-
-Drop page size specifications from styles.xml in STYLE_FILE.odt.
-See https://docutils.sourceforge.io/docs/user/odt.html#page-size
-
-Provisional backwards compatibility stub (to be removed in Docutils >= 0.21).
-
-The actual code moved to the "docutils" library package and can be started
-with ``python -m docutils.writers.odf_odt.prepstyles``.
-"""
-
-from docutils.writers.odf_odt import prepstyles
-
-if __name__ == '__main__':
- prepstyles.main()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|