6 :Contact: goodger@users.sourceforge.net
8 :Web site: http://docutils.sourceforge.net/
9 :Copyright: This document has been placed in the public domain.
16 I would like to acknowledge the people who have made a direct impact
17 on the Docutils project, knowingly or not, in terms of encouragement,
18 suggestions, criticism, bug reports, code contributions, tasty treats,
21 Aahz, David Abrahams, David Ascher, Eric Bellot, Ian Bicking,
22 Martin Blais, Fred Bremmer, Simon Budig, Bill Bumgarner, Brett
23 Cannon, Adam Chodorowski, Jason Diamond, William Dode, Fred Drake,
24 Dethe Elza, Marcus Ertl, Benja Fallenstein, fantasai, Stefane
25 Fermigier, Jim Fulton, Peter Funk, Jorge Gonzalez, Engelbert
26 Gruber, Simon Hefti, Doug Hellmann, Juergen Hermann, Michael
27 Hudson, Marcelo Huerta San Martin, Ludger Humbert, Jeremy Hylton,
28 Tony Ibbs, Alan Jaffray, Dmitry Jemerov, Richard Jones, Andreas
29 Jung, Garth Kidd, Nicola Larosa, Daniel Larsson, Marc-Andre
30 Lemburg, Julien Letessier, Wolfgang Lipp, Edward Loper, Dallas
31 Mahrt, Ken Manheimer, Vasko Miroslav, Skip Montanaro, Paul Moore,
32 Nigel W. Moriarty, Mark Nodine, Patrick K. O'Brien, Michel
33 Pelletier, Sam Penrose, Tim Peters, Pearu Peterson, Mark Pilgrim,
34 Brett g Porter, David Priest, Jens Quade, Andy Robinson, Tavis
35 Rudd, Oliver Rutherfurd, Kenichi Sato, Ueli Schlaepfer, Gunnar
36 Schwant, Bruce Smith, tav, Bob Tolbert, Paul Tremblay, Laurence
37 Tratt, Guido van Rossum, Martin von Loewis, Greg Ward, Barry
38 Warsaw, Edward Welbourne, Ka-Ping Yee, Moshe Zadka
42 (I'm still waiting for contributions of computer equipment and cold
43 hard cash :-).) Hopefully I haven't forgotten anyone or misspelled
44 any names; apologies (and please let me know!) if I have.
50 * The config file layout will be completely overhauled for the 0.4
53 * A Python Source Reader component (Python auto-documentation) will be
54 added as soon as there's enough time, effort, and will. If you'd
55 like to help, let me know!
59 ========================
63 * Renamed "attribute" to "option" for directives/extensions.
65 * Renamed transform method "transform" to "apply".
67 * Renamed "options" to "settings" for runtime settings (as set by
68 command-line options). Sometimes "option" (singular) became
69 "settings" (plural). Some variations below:
71 - document.options -> document.settings (stored in other objects as
73 - option_spec -> settings_spec (not directives though)
74 - OptionSpec -> SettingsSpec
75 - cmdline_options -> settings_spec
76 - relative_path_options -> relative_path_settings
77 - option_default_overrides -> settings_default_overrides
78 - Publisher.set_options -> Publisher.get_settings
82 * COPYING.txt: Added "Public Domain Dedication".
84 * FAQ.txt: Frequently asked questions, added to project.
88 - Updated with PyPI Trove classifiers.
89 - Conditional installation of third-party modules.
91 * docutils/__init__.py:
93 - Bumped version to 0.2.1 to reflect changes to I/O classes.
94 - Bumped version to 0.2.2 to reflect changes to stylesheet options.
95 - Factored ``SettingsSpec`` out of ``Component``; separately useful.
96 - Bumped version to 0.2.3 because of the new "--embed-stylesheet"
97 option and its effect on the PEP template & writer.
98 - Bumped version to 0.2.4 due to changes to the PEP template &
100 - Bumped version to 0.2.5 to reflect changes to Reporter output.
101 - Added ``TransformSpec`` class for new transform system.
102 - Bumped version to 0.2.6 for API changes (renaming).
103 - Bumped version to 0.2.7 for new ``docutils.core.publish_*``
104 convenience functions.
105 - Added ``Component.component_type`` attribute.
106 - Bumped version to 0.2.8 because of the internal parser switch from
107 plain lists to the docutils.statemachine.StringList objects.
108 - Bumped version to 0.2.9 because of the frontend.py API changes.
109 - Bumped version to 0.2.10 due to changes to the project layout
110 (third-party modules removed from the "docutils" package), and
111 signature changes in ``io.Input``/``io.Output``.
115 - Made ``publish()`` a bit more convenient.
116 - Generalized ``Publisher.set_io``.
117 - Renamed ``publish()`` to ``publish_cmdline()``; rearranged its
118 parameters; improved its docstring.
119 - Added ``publish_file()`` and ``publish_string()``.
120 - Factored ``Publisher.set_source()`` and ``.set_destination()``
122 - Added support for "--dump-pseudo-xml", "--dump-settings", and
123 "--dump-transforms" hidden options.
124 - Added ``Publisher.apply_transforms()`` method.
125 - Added ``Publisher.set_components()`` method; support for
126 ``publish_*()`` conveninece functions.
127 - Moved config file processing to docutils/frontend.py.
128 - Added support for exit status ("exit_level" setting &
129 ``enable_exit`` parameter for Publisher.publish() and convenience
132 * docutils/frontend.py:
134 - Check for & exit on identical source & destination paths.
135 - Fixed bug with absolute paths & "--config".
136 - Set non-command-line defaults in ``OptionParser.__init__()``:
137 ``_source`` & ``_destination``.
138 - Distributed ``relative_path_settings`` to components; updated
139 ``OptionParser.populate_from_components()`` to combine it all.
140 - Require list of keys in ``make_paths_absolute`` (was implicit in
141 global ``relative_path_settings``).
142 - Added "--expose-internal-attribute", "--dump-pseudo-xml",
143 "--dump-settings", and "--dump-transforms" hidden options.
144 - Removed nasty internals-fiddling ``ConfigParser.get_section``
145 code, replaced with correct code.
146 - Added validation functionality for config files.
147 - Added "--error-encoding" option/setting, "_disable_config"
149 - Added encoding validation; updated "--input-encoding" and
150 "--output-encoding"; added "--error-encoding-error-handler" and
151 "--output-encoding-error-handler".
152 - Moved config file processing from docutils/core.py.
153 - Updated ``OptionParser.populate_from_components`` to handle new
154 ``SettingsSpec.settings_defaults`` dict.
155 - Added support for "-" => stdin/stdout.
156 - Added "exit_level" setting ("--exit" option).
160 - Split ``IO`` classes into subclasses of ``Input`` and ``Output``.
161 - Added automatic closing to ``FileInput`` and ``FileOutput``.
162 - Delayed opening of ``FileOutput`` file until ``write()`` called.
163 - ``FileOutput.write()`` now returns the encoded output string.
164 - Try to get path/stream name automatically in ``FileInput`` &
166 - Added defaults for source & destination paths.
167 - Allow for Unicode I/O with an explicit "unicode" encoding.
168 - Added ``Output.encode()``.
169 - Removed dependency on runtime settings; pass encoding directly.
170 - Recognize Unicode strings in ``Input.decode()``.
171 - Added support for output encoding error handlers.
175 - Added "Invisible" element category class.
176 - Changed ``Node.walk()`` & ``.walkabout()`` to permit more tree
177 modification during a traversal.
178 - Added element classes: ``line_block``, ``generated``, ``address``,
179 ``sidebar``, ``rubric``, ``attribution``, ``admonition``,
180 ``superscript``, ``subscript``, ``inline``
181 - Added support for lists of nodes to ``Element.insert()``.
182 - Fixed parent linking in ``Element.replace()``.
183 - Added new abstract superclass ``FixedTextElement``; adds
184 "xml:space" attribute.
185 - Added support for "line" attribute of ``system_message`` nodes.
186 - Added support for the observer pattern from ``utils.Reporter``.
187 Added ``parse_messages`` and ``transform_messages`` attributes to
188 ``document``, removed ``messages``. Added ``note_parse_message``
189 and ``note_transform_message`` methods.
190 - Added support for improved diagnostics:
192 - Added "document", "source", and "line" internal attributes to
193 ``Node``, set by ``Node.setup_child()``.
194 - Converted variations on ``node.parent = self`` to
195 ``self.setup_child(node)``.
196 - Added ``document.current_source`` & ``.current_line``
197 attributes, and ``.note_source`` observer method.
198 - Changed "system_message" output to GNU-Tools format.
200 - Added a "rawsource" attribute to the ``Text`` class, for text
201 before backslash-escape resolution.
202 - Support for new transform system.
203 - Reworked ``pending`` element.
204 - Fixed XML DOM bug (SF #660611).
205 - Removed the ``interpeted`` element class and added
206 ``title_reference``, ``abbreviation``, ``acronym``.
207 - Made substitutions case-sensitive-but-forgiving; moved some code
209 - Fixed Unicode bug on element attributes (report: William Dode).
211 * docutils/optik.py: Removed from project; replaced with
212 extras/optparse.py and extras/textwrap.py. These will be installed
213 only if they're not already present in the Python installation.
215 * docutils/roman.py: Moved to extras/roman.py; this will be installed
216 only if it's not already present in the Python installation.
218 * docutils/statemachine.py:
220 - Factored out ``State.add_initial_transitions()`` so it can be
222 - Converted whitespace-specific "blank" and "indent" transitions
223 from special-case code to ordinary transitions: removed
224 ``StateMachineWS.check_line()`` & ``.check_whitespace()``, added
225 ``StateWS.add_initial_transitions()`` method, ``ws_patterns`` &
226 ``ws_initial_transitions`` attributes.
227 - Removed ``State.match_transition()`` after merging it into
229 - Added ``StateCorrection`` exception.
230 - Added support for ``StateCorrection`` in ``StateMachine.run()``
231 (moved ``TransitionCorrection`` support there too.)
232 - Changed ``StateMachine.next_line()`` and ``.goto_line()`` to raise
233 ``EOFError`` instead of ``IndexError``.
234 - Added ``State.no_match`` method.
235 - Added support for the Observer pattern, triggered by input line
237 - Added ``strip_top`` parameter to
238 ``StateMachineWS.get_first_known_indented``.
239 - Made ``context`` a parameter to ``StateMachine.run()``.
240 - Added ``ViewList`` & ``StringList`` classes;
241 ``extract_indented()`` becomes ``StringList.get_indented()``.
242 - Added ``StateMachine.insert_input()``.
243 - Fixed ViewList slice handling for Python 2.3. Patch from (and
244 thanks to) Fred Drake.
248 - Added a ``source`` attribute to Reporter instances and
249 ``system_message`` elements.
250 - Added an observer pattern to ``utils.Reporter`` to keep track of
252 - Fixed bugs in ``relative_path()``.
253 - Added support for improved diagnostics.
254 - Moved ``normalize_name()`` to nodes.py (``fully_normalize_name``).
255 - Added support for encoding Reporter stderr output, and encoding
257 - Reporter keeps track of the highest level system message yet
260 * docutils/languages: Fixed bibliographic field language lookups.
262 * docutils/languages/es.py: Added to project; Spanish mappings by
263 Marcelo Huerta San Martin.
265 * docutils/languages/fr.py: Added to project; French mappings by
268 * docutils/languages/it.py: Added to project; Italian mappings by
271 * docutils/languages/sk.py: Added to project; Slovak mappings by
274 * docutils/parser/__init__.py:
276 - Added ``Parser.finish_parse()`` method.
278 * docutils/parser/rst/__init__.py:
280 - Added options: "--pep-references", "--rfc-references",
281 "--tab-width", "--trim-footnote-reference-space".
283 * docutils/parsers/rst/states.py:
285 - Changed "title under/overline too short" system messages from INFO
286 to WARNING, and fixed its insertion location.
287 - Fixed enumerated list item parsing to allow paragraphs & section
288 titles to begin with enumerators.
289 - Converted system messages to use the new "line" attribute.
290 - Fixed a substitution reference edge case.
291 - Added support for "--pep-references" and "--rfc-references"
292 options; reworked ``Inliner`` code to make customization easier.
293 - Removed field argument parsing.
294 - Added support for short section title over/underlines.
295 - Fixed "simple reference name" regexp to ignore text like
296 "object.__method__"; not an anonymous reference.
297 - Added support for improved diagnostics.
298 - Reworked directive API, based on Dethe Elza's contribution. Added
299 ``Body.parse_directive()``, ``.parse_directive_options()``,
300 ``.parse_directive_arguments()`` methods.
301 - Added ``ExtensionOptions`` class, to parse directive options
302 without parsing field bodies. Factored
303 ``Body.parse_field_body()`` out of ``Body.field()``, overridden in
304 ``ExtensionOptions``.
305 - Improved definition list term/classifier parsing.
306 - Added warnings for unknown directives.
307 - Renamed ``Stuff`` to ``Struct``.
308 - Now flagged as errors: transitions at the beginning or end of
309 sections, empty sections (except title), and empty documents.
310 - Updated for ``statemachine.StringList``.
311 - Enabled recognition of schemeless email addresses in targets.
312 - Added support for embedded URIs in hyperlink references.
313 - Added backslash-escapes to inline markup end-string suffix.
314 - Added support for correct interpreted text processing.
315 - Fixed nested title parsing (topic, sidebar directives).
316 - Added special processing of backslash-escaped whitespace (idea
317 from David Abrahams).
318 - Made substitutions case-sensitive-but-forgiving; moved some code
319 to ``docutils.nodes``.
320 - Added support for block quote attributions.
321 - Added a kludge to work-around a conflict between the bubble-up
322 parser strategy and short titles (<= 3 char-long over- &
323 underlines). Fixes SF bug #738803 "infinite loop with multiple
324 titles" submitted by Jason Diamond.
325 - Added explicit interpreted text roles for standard inline markup:
326 "emphasis", "strong", "literal".
327 - Implemented "superscript" and "subscript" interpreted text roles.
328 - Added initial support for "abbreviation" and "acronym" roles;
330 - Added support for "--trim-footnote-reference-space" option.
331 - Optional space before colons in directives & hyperlink targets.
333 * docutils/parsers/rst/tableparser.py:
335 - Fixed a bug that was producing unwanted empty rows in "simple"
337 - Detect bad column spans in "simple" tables.
339 * docutils/parsers/rst/directives: Updated all directive functions to
342 * docutils/parsers/rst/directives/__init__.py:
344 - Added ``flag()``, ``unchanged()``, ``path()``,
345 ``nonnegative_int()``, ``choice()``, and ``class_option()``
346 directive option helper functions.
347 - Added warnings for unknown directives.
348 - Return ``None`` for missing directives.
349 - Added ``register_directive()``, thanks to William Dode and Paul
352 * docutils/parsers/rst/directives/admonitions.py:
354 - Added "admonition" directive.
356 * docutils/parsers/rst/directives/body.py: Added to project. Contains
357 the "topic", "sidebar" (from Patrick O'Brien), "line-block",
358 "parsed-literal", "rubric", "epigraph", "highlights" and
359 "pull-quote" directives.
361 * docutils/parsers/rst/directives/images.py:
363 - Added an "align" attribute to the "image" & "figure" directives
364 (by Adam Chodorowski).
365 - Added "class" option to "image", and "figclass" to "figure".
367 * docutils/parsers/rst/directives/misc.py:
369 - Added "include", "raw", and "replace" directives, courtesy of
371 - Added "unicode" and "class" directives.
373 * docutils/parsers/rst/directives/parts.py:
375 - Added the "sectnum" directive; by Dmitry Jemerov.
376 - Added "class" option to "contents" directive.
378 * docutils/parsers/rst/directives/references.py: Added to project.
379 Contains the "target-notes" directive.
381 * docutils/parsers/rst/languages/__init__.py:
383 - Return ``None`` from get_language() for missing language modules.
385 * docutils/parsers/rst/languages/de.py: Added to project; German
386 mappings by Engelbert Gruber.
388 * docutils/parsers/rst/languages/en.py:
390 - Added interpreted text roles mapping.
392 * docutils/parsers/rst/languages/es.py: Added to project; Spanish
393 mappings by Marcelo Huerta San Martin.
395 * docutils/parsers/rst/languages/fr.py: Added to project; French
396 mappings by William Dode.
398 * docutils/parsers/rst/languages/it.py: Added to project; Italian
399 mappings by Nicola Larosa.
401 * docutils/parsers/rst/languages/sk.py: Added to project; Slovak
402 mappings by Miroslav Vasko.
404 * docutils/readers/__init__.py:
406 - Added support for the observer pattern from ``utils.Reporter``, in
407 ``Reader.parse`` and ``Reader.transform``.
408 - Removed ``Reader.transform()`` method.
409 - Added default parameter values to ``Reader.__init__()`` to make
410 instantiation easier.
411 - Removed bogus aliases: "restructuredtext" is *not* a Reader.
413 * docutils/readers/pep.py:
415 - Added the ``peps.TargetNotes`` transform to the Reader.
416 - Removed PEP & RFC reference detection code; moved to
417 parsers/rst/states.py as options (enabled here by default).
418 - Added support for pre-acceptance PEPs (no PEP number yet).
419 - Moved ``Inliner`` & made it a class attribute of ``Reader`` for
422 * docutils/readers/python: Python Source Reader subpackage added to
423 project, including preliminary versions of:
426 - moduleparser.py: Parser for Python modules.
428 * docutils/transforms/__init__.py:
430 - Added ``Transformer`` class and completed transform reform.
432 * docutils/transforms/frontmatter.py:
434 - Improved support for generic fields.
435 - Fixed bibliographic field language lookups.
437 * docutils/transforms/misc.py:
439 - Added ``ClassAttribute`` to support the "class" directive.
441 * docutils/transforms/parts.py: Added to project. Miscellaneous
444 * docutils/transforms/parts.py:
446 - Moved the "id" attribute from TOC list items to the references
447 (``Contents.build_contents()``).
448 - Added the ``SectNum`` transform; by Dmitry Jemerov.
449 - Added "class" attribute support to ``Contents``.
451 * docutils/transforms/peps.py:
453 - Added ``mask_email()`` function, updating to pep2html.py's
455 - Linked "Content-Type: text/x-rst" to PEP 12.
456 - Added the ``TargetNotes`` PEP-specific transform.
457 - Added ``TargetNotes.cleanup_callback``.
458 - Added title check to ``Headers``.
460 * docutils/transforms/references.py:
462 - Added the ``TargetNotes`` generic transform.
463 - Split ``Hyperlinks`` into multiple transforms.
464 - Fixed bug with multiply-indirect references (report: Bruce Smith).
465 - Added check for circular indirect references.
466 - Made substitutions case-sensitive-but-forgiving.
468 * docutils/transforms/universal.py:
470 - Added support for the "--expose-internal-attributes" option.
471 - Removed ``Pending`` transform classes & data.
473 * docutils/writers/__init__.py:
475 - Removed ``Writer.transform()`` method.
477 * docutils/writers/docutils-xml.py:
479 - Added XML and doctype declarations.
480 - Added "--no-doctype" and "--no-xml-declaration" options.
482 * docutils/writers/html4css1.py:
484 - "name" attributes only on these tags: a, applet, form, frame,
486 - Added "name" attribute to <a> in section titles for Netscape 4
487 support (bug report: Pearu Peterson).
488 - Fixed targets (names) on footnote, citation, topic title,
489 problematic, and system_message nodes (for Netscape 4).
490 - Changed field names from "<td>" to "<th>".
491 - Added "@" to "@" encoding to thwart address harvesters.
492 - Improved the vertical whitespace optimization; ignore "invisible"
493 nodes (targets, comments, etc.).
494 - Improved inline literals with ``<span class="pre">`` around chunks
495 of text and `` `` for runs of spaces.
496 - Improved modularity of output; added ``self.body_pre_docinfo`` and
497 ``self.docinfo`` segments.
498 - Added support for "line_block", "address" elements.
499 - Improved backlinks (footnotes & system_messages).
500 - Improved system_message output.
501 - Redefined "--stylesheet" as containing an invariant URL, used
502 verbatim. Added "--stylesheet-path", interpreted w.r.t. the
504 - Added "--footnote-references" option (superscript or brackets).
505 - Added "--compact-lists" and "--no-compact-lists" options.
506 - Added "--embed-stylesheet" and "--link-stylesheet" options;
507 factored out ``HTMLTranslator.get_stylesheet_reference()``.
508 - Improved field list rendering.
509 - Added Docutils version to "generator" meta tag.
510 - Fixed a bug with images; they must be inline, so wrapped in <p>.
511 - Improved layout of <pre> HTML source.
512 - Fixed attribute typo on <colspec>.
513 - Refined XML prologue.
514 - Support for no stylesheet.
515 - Removed "interpreted" element support.
516 - Added support for "title_reference", "sidebar", "attribution",
517 "rubric", and generic "admonition" elements.
518 - Added "--attribution" option.
519 - Added support for "inline", "subscript", "superscript" elements.
520 - Added initial support for "abbreviation" and "acronym";
523 * docutils/writers/latex2e.py: LaTeX Writer, added by Engelbert Gruber
527 - Double quotes in literal blocks (special treatment for de/ngerman).
528 - Added '--hyperlink-color' option ('0' turns off coloring of links).
529 - Added "--attribution" option.
530 - Right align attributions.
532 * docutils/writers/pep_html.py:
534 - Parameterized output encoding in PEP template.
535 - Reworked substitutions from ``locals()`` into ``subs`` dict.
536 - Redefined "--pep-stylesheet" as containing an invariant URL, used
537 verbatim. Added "--pep-stylesheet-path", interpreted w.r.t. the
539 - Added an override on the "--footnote-references" option.
540 - Factored out ``HTMLTranslator.get_stylesheet_reference()``.
541 - Added Docutils version to "generator" meta tag.
542 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
546 - Added a "silent" setting for ``buildhtml.py``.
547 - Added a "Getting Help" section.
548 - Rearranged the structure.
549 - Kept up to date, with new settings, command-line options etc.
550 - Added section for ``rst2latex.py`` (Engelbert Gruber).
551 - Converted settings table into a definition list.
553 * docs/rst/quickstart.txt:
555 - Added a table of contents.
556 - Added feedback information.
557 - Added mention of minimum section title underline lengths.
558 - Removed the 4-character minimum for section title underlines.
560 * docs/rst/quickref.html:
562 - Added a "Getting Help" section.
563 - Added a style to make section title backlinks more subtle.
564 - Added mention of minimum section title underline lengths.
565 - Removed the 4-character minimum for section title underlines.
567 * extras: Directory added to project; contains third-party modules
568 that Docutils depends on (optparse, textwrap, roman). These are
569 only installed if they're not already present.
571 * licenses: Directory added to project; contains copies of license
572 files for non-public-domain files.
576 - Changed the focus. It's about DTD elements: structural
577 relationships, semantics, and external (public) attributes. Not
578 about the element class library.
579 - Moved some implementation-specific stuff into ``docutils.nodes``
581 - Wrote descriptions of all common attributes and parameter
582 entities. Filled in introductory material.
583 - Working through the element descriptions: 55 down, 37 to go.
584 - Removed "Representation of Horizontal Rules" to
585 spec/rst/alternatives.txt.
589 - Added "generated" inline element.
590 - Added "line_block" body element.
591 - Added "auto" attribute to "title".
592 - Changed content models of "literal_block" and "doctest_block" to
594 - Added ``%number;`` attribute type parameter entity.
595 - Changed ``%structural.elements;`` to ``%section.elements``.
596 - Updated attribute types; made more specific.
597 - Added "address" bibliographic element.
598 - Added "line" attribute to ``system_message`` element.
599 - Removed "field_argument" element; "field_name" may contain
600 multiple words and whitespace.
601 - Changed public identifier to docutils.sf.net.
602 - Removed "interpreted" element; added "title_reference",
603 "abbreviation", "acronym".
604 - Removed "refuri" attribute from "footnote_reference" and
605 "citation_reference".
606 - Added "sidebar", "rubric", "attribution", "admonition",
607 "superscript", "subscript", and "inline" elements.
609 * spec/pep-0256.txt: Converted to reStructuredText & updated.
611 * spec/pep-0257.txt: Converted to reStructuredText & updated.
613 * spec/pep-0258.txt: Converted to reStructuredText & updated.
615 * spec/semantics.txt: Updated with text from a Doc-SIG response to
618 * spec/transforms.txt: Added to project.
620 * spec/howto: Added subdirectory, for developer how-to docs.
622 * spec/howto/rst-directives.txt: Added to project. Original by Dethe
623 Elza, edited & extended by David Goodger.
625 * spec/howto/i18n.txt: Docutils Internationalization. Added to
628 * spec/rst/alternatives.txt:
630 - Added "Doctree Representation of Transitions" from
632 - Updated "Inline External Targets" & closed the debate.
633 - Added ideas for interpreted text syntax extensions.
635 * spec/rst/directives.txt:
637 - Added directives: "topic", "sectnum", "target-notes",
638 "line-block", "parsed-literal", "include", "replace", "sidebar",
639 "admonition", "rubric", "epigraph", "highlights", "unicode" and
641 - Formalized descriptions of directive details.
642 - Added an "align" attribute to the "image" & "figure" directives
643 (by Adam Chodorowski).
644 - Added "class" options to "topic", "sidebar", "line-block",
645 "parsed-literal", "contents", and "image"; and "figclass" to
648 * spec/rst/interpreted.txt: Added to project. Descriptions of
649 interpreted text roles.
651 * spec/rst/introduction.txt:
653 - Added pointers to material for new users.
655 * spec/rst/reStructuredText.txt:
657 - Disambiguated comments (just add a newline after the "::").
658 - Updated enumerated list description; added a discussion of the
659 second-line validity checking.
660 - Updated directive description.
661 - Added a note redirecting newbies to the user docs.
662 - Expanded description of inline markup start-strings in non-markup
664 - Removed field arguments and made field lists a generic construct.
665 - Removed the 4-character minimum for section title underlines.
666 - Clarified term/classifier delimiter & inline markup ambiguity
668 - Added "Embedded URIs".
669 - Updated "Interpreted Text" section.
670 - Added "Character-Level Inline Markup" section.
672 * test: Continually adding & updating tests.
674 - Moved test/test_rst/ to test/test_parsers/test_rst/.
675 - Moved test/test_pep/ to test/test_readers/test_pep/.
676 - Added test/test_readers/test_python/.
677 - Added test/test_writers/ (Engelbert Gruber).
681 - Made the ``locale.setlocale()`` calls in front ends
684 * tools/buildhtml.py:
686 - Added "--silent" option.
687 - Fixed bug with absolute paths & "--config".
688 - Updated for new I/O classes.
689 - Added some exception handling.
690 - Separated publishers' setting defaults; prevents interference.
691 - Updated for new ``publish_file()`` convenience function.
693 * tools/pep-html-template:
695 - Allow for "--embed-stylesheet".
696 - Added Docutils version to "generator" meta tag.
697 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
698 - Conform to XHTML spec.
702 - Made ``argv`` a parameter to ``main()``.
703 - Added support for "Content-Type:" header & arbitrary PEP formats.
704 - Linked "Content-Type: text/plain" to PEP 9.
705 - Files skipped (due to an error) are not pushed onto the server.
706 - Updated for new I/O classes.
707 - Added ``check_requirements()`` & ``pep_type_error()``.
708 - Added some exception handling.
709 - Updated for new ``publish_string()`` convenience function.
710 - Added a "DO NOT EDIT THIS FILE" comment to generated HTML.
712 * tools/quicktest.py:
714 - Added "-V"/"--version" option.
716 * tools/rst2latex.py: LaTeX front end, added by Engelbert Gruber.
718 * tools/editors: Support code for editors, added to project. Contains
719 ``emacs/restructuredtext.el``.
721 * tools/stylesheets/default.css: Moved into the stylesheets directory.
723 - Added style for chunks of inline literals.
724 - Removed margin for first child of table cells.
725 - Right-aligned field list names.
726 - Support for auto-numbered section titles in TOCs.
727 - Increased the size of inline literals (<tt>) in titles.
728 - Restored the light gray background for inline literals.
729 - Added support for "line_block" elements.
730 - Added style for "address" elements.
731 - Removed "a.footnote-reference" style; doing it with ``<sup>`` now.
732 - Improved field list rendering.
733 - Vertical whitespace improvements.
734 - Removed "a.target" style.
736 * tools/stylesheets/pep.css:
738 - Fixed nested section margins.
739 - Other changes parallel those of ``../default.css``.
742 Release 0.2 (2002-07-31)
743 ========================
747 - The word "component" was being used ambiguously. From now on,
748 "component" will be used to mean "Docutils component", as in Reader,
749 Writer, Parser, or Transform. Portions of documents (Table of
750 Contents, sections, etc.) will be called "document parts".
751 - Did a grand renaming: a lot of ``verylongnames`` became
753 - Cleaned up imports: no more relative package imports or
754 comma-separated lists of top-level modules.
755 - Added support for an option values object which carries default
756 settings and overrides (from command-line options and library use).
757 - Added internal Unicode support, and support for both input and
759 - Added support for the ``docutils.io.IO`` class & subclasses.
763 * docutils/__init__.py:
765 - Added ``ApplicationError`` and ``DataError``, for use throughout
767 - Added ``Component`` base class for Docutils components; implements
768 the ``supports`` method.
769 - Added ``__version__`` (thus, ``docutils.__version__``).
773 - Removed many keyword parameters to ``Publisher.__init__()`` and
774 ``publish()``; bundled into an option values object. Added
775 "argv", "usage", "description", and "option_spec" parameters for
776 command-line support.
777 - Added ``Publisher.process_command_line()`` and ``.set_options()``
779 - Reworked I/O model for ``docutils.io`` wrappers.
780 - Updated ``Publisher.set_options()``; now returns option values
782 - Added support for configuration files (/etc/docutils.conf,
783 ./docutils.conf, ~/.docutils).
784 - Added ``Publisher.setup_option_parser()``.
785 - Added default usage message and description.
787 * docutils/frontend.py: Added to project; support for front-end
788 (command-line) scripts. Option specifications may be augmented by
789 components. Requires Optik (http://optik.sf.net/) for option
790 processing (installed locally as docutils/optik.py).
792 * docutils/io.py: Added to project; uniform API for a variety of input
797 - Added ``TreeCopyVisitor`` class.
798 - Added a ``copy`` method to ``Node`` and subclasses.
799 - Added a ``SkipDeparture`` exception for visitors.
800 - Renamed ``TreePruningException`` from ``VisitorException``.
801 - Added docstrings to ``TreePruningException``, subclasses, and
803 - Improved docstrings.
804 - Added ``SparseNodeVisitor``, refined ``NodeVisitor``.
805 - Moved ``utils.id()`` to ``nodes.make_id()`` to avoid circular
807 - Added ``decoration``, ``header``, and ``footer`` node classes, and
808 ``PreDecorative`` mixin.
809 - Reworked the name/id bookkeeping; to ``document``, removed
810 ``explicit_targets`` and ``implicit_targets`` attributes, added
811 ``nametypes`` attribute and ``set_name_id_map`` method.
812 - Added ``NodeFound`` exception, for use with ``NodeVisitor``
814 - Added ``document.has_name()`` method.
815 - Fixed DOM generation for list-attributes.
816 - Added category class ``Labeled`` (used by footnotes & citations).
817 - Added ``Element.set_class()`` method (sets "class" attribute).
819 * docutils/optik.py: Added to project. Combined from the Optik
820 package, with added option groups and other modifications. The use
821 of this module is probably only temporary.
823 * docutils/statemachine.py:
825 - Added ``runtime_init`` method to ``StateMachine`` and ``State``.
826 - Added underscores to improve many awkward names.
827 - In ``string2lines()``, changed whitespace normalizing translation
828 table to regexp; restores Python 2.0 compatibility with Unicode.
830 * docutils/urischemes.py:
832 - Filled in some descriptions.
833 - Added "shttp" scheme.
837 - Added ``clean_rcs_keywords`` function (moved from
838 docutils/transforms/frontmatter.py
839 ``DocInfo.filter_rcs_keywords``).
840 - Added underscores to improve many awkward names.
841 - Changed names of Reporter's thresholds:
842 warning_level -> report_level; error_level -> halt_level.
843 - Moved ``utils.id()`` to ``nodes.make_id()``.
844 - Added ``relative_path(source, target)``.
846 * docutils/languages/de.py: German mappings; added to project. Thanks
847 to Gunnar Schwant for the translations.
849 * docutils/languages/en.py: Added "Dedication" bibliographic field
852 * docutils/languages/sv.py: Swedish mappings; added to project by Adam
855 * docutils/parsers/rst/states.py:
857 - Added underscores to improve many awkward names.
858 - Added RFC-2822 header support.
859 - Extracted the inline parsing code from ``RSTState`` to a separate
860 class, ``Inliner``, which will allow easy subclassing.
861 - Made local bindings for ``memo`` container & often-used contents
862 (reduces code complexity a lot). See ``RSTState.runtime_init()``.
863 - ``RSTState.parent`` replaces ``RSTState.statemachine.node``.
864 - Added ``MarkupMismatch`` exception; for late corrections.
865 - Added ``-/:`` characters to inline markup's start string prefix,
866 ``/`` to end string suffix.
867 - Fixed a footnote bug.
868 - Fixed a bug with literal blocks.
869 - Applied patch from Simon Budig: simplified regexps with symbolic
870 names, removed ``Inliner.groups`` and ``Body.explicit.groups``.
871 - Converted regexps from ``'%s' % var`` to ``'%(var)s' % locals()``.
872 - Fixed a bug in ``Inliner.interpreted_or_phrase_ref()``.
873 - Allowed non-ASCII in "simple names" (directive names, field names,
875 - Converted ``Inliner.patterns.initial`` to be dynamically built
876 from parts with ``build_regexp()`` function.
877 - Changed ``Inliner.inline_target`` to ``.inline_internal_target``.
878 - Updated docstrings.
879 - Changed "table" to "grid_table"; added "simple_table" support.
881 * docutils/parsers/rst/tableparser.py:
883 - Changed ``TableParser`` to ``GridTableParser``.
884 - Added ``SimpleTableParser``.
887 * docutils/parsers/rst/directives/__init__.py: Added "en" (English) as
888 a fallback language for directive names.
890 * docutils/parsers/rst/directives/html.py: Changed the ``meta``
891 directive to use a ``pending`` element, used only by HTML writers.
893 * docutils/parsers/rst/directives/parts.py: Renamed from
896 - Added "backlinks" attribute to "contents" directive.
898 * docutils/parsers/rst/languages/sv.py: Swedish mappings; added to
899 project by Adam Chodorowski.
901 * docutils/readers/__init__.py: Gave Readers more control over
902 choosing and instantiating Parsers.
904 * docutils/readers/pep.py: Added to project; for PEP processing.
906 * docutils/transforms/__init__.py: ``Transform.__init__()`` now
907 requires a ``component`` parameter.
909 * docutils/transforms/components.py: Added to project; transforms
910 related to Docutils components.
912 * docutils/transforms/frontmatter.py:
914 - In ``DocInfo.extract_authors``, check for a single "author" in an
915 "authors" group, and convert it to a single "author" element.
916 - Added support for "Dedication" and generic bibliographic fields.
918 * docutils/transforms/peps.py: Added to project; PEP-specific.
920 * docutils/transforms/parts.py: Renamed from old components.py.
922 - Added filter for `Contents`, to use alt-text for inline images,
923 and to remove inline markup that doesn't make sense in the ToC.
924 - Added "name" attribute to TOC topic depending on its title.
925 - Added support for optional TOC backlinks.
927 * docutils/transforms/references.py: Fixed indirect target resolution
928 in ``Hyperlinks`` transform.
930 * docutils/transforms/universal.py:
932 - Changed ``Messages`` transform to properly filter out system
933 messages below the warning threshold.
934 - Added ``Decorations`` transform (support for ``--generator``,
935 ``--date``, ``--time``, ``--source-link`` options).
937 * docutils/writers/__init__.py: Added "pdf" alias in anticipation of
938 Engelbert Gruber's PDF writer.
940 * docutils/writers/html4css1.py:
942 - Made XHTML-compatible (switched to lowercase element & attribute
943 names; empty tag format).
944 - Escape double-dashes in comment text.
945 - Improved boilerplate & modularity of output.
946 - Exposed modular output in Writer class.
947 - Added a "generator" meta tag to <head>.
948 - Added support for the ``--stylesheet`` option.
949 - Added support for ``decoration``, ``header``, and ``footer``
951 - In ``HTMLTranslator.attval()``, changed whitespace normalizing
952 translation table to regexp; restores Python 2.0 compatibility
954 - Added the translator class as instance variable to the Writer, to
955 make it easily subclassable.
956 - Improved option list spacing (thanks to Richard Jones).
957 - Modified field list output.
958 - Added backlinks to footnotes & citations.
959 - Added percentage widths to "<col>" tags (from colspec).
960 - Option lists: "<code>" changed to "<kbd>", ``option_argument``
961 "<span>" changed to "<var>".
962 - Inline literals: "<code>" changed to "<tt>".
963 - Many changes to optimize vertical space: compact simple lists etc.
964 - Add a command-line options & directive attributes to control TOC
965 and footnote/citation backlinks.
966 - Added support for optional footnote/citation backlinks.
967 - Added support for generic bibliographic fields.
969 - Relative URLs for stylesheet links.
971 * docutils/writers/pep_html.py: Added to project; HTML Writer for
972 PEPs (subclass of ``html4css1.Writer``).
974 * docutils/writers/pseudoxml.py: Renamed from pprint.py.
976 * docutils/writers/docutils_xml.py: Added to project; trivial writer
977 of the Docutils internal doctree in XML.
979 * docs/tools.txt: "Docutils Front-End Tools", added to project.
983 - Changed the title to "The Docutils Document Tree".
984 - Added "Hyperlink Bookkeeping" section.
988 - Added ``decoration``, ``header``, and ``footer`` elements.
989 - Brought ``interpreted`` element in line with the parser: changed
990 attribute "type" to "role", added "position".
991 - Added support for generic bibliographic fields.
993 * spec/notes.txt: Continual updates. Added "Project Policies".
995 * spec/pep-0256.txt: Updated. Added "Roadmap to the Doctring PEPs"
998 * spec/pep-0257.txt: Clarified prohibition of signature repetition.
1000 * spec/pep-0258.txt: Updated. Added text from pysource.txt and
1001 mailing list discussions.
1003 * spec/pep-0287.txt:
1005 - Renamed to "reStructuredText Docstring Format".
1007 - Reworked Q&A as an enumerated list.
1008 - Converted to reStructuredText format.
1010 * spec/pysource.dtd:
1012 - Reworked structural elements, incorporating ideas from Tony Ibbs.
1014 * spec/pysource.txt: Removed from project. Moved much of its contents
1017 * spec/rst/alternatives.txt:
1019 - Expanded auto-enumerated list idea; thanks to Fred Bremmer.
1020 - Added "Inline External Targets" section.
1022 * spec/rst/directives.txt:
1024 - Added "backlinks" attribute to "contents" directive.
1026 * spec/rst/problems.txt:
1028 - Updated the Enumerated List Markup discussion.
1029 - Added new alternative table markup syntaxes.
1031 * spec/rst/reStructuredText.txt:
1033 - Clarified field list usage.
1034 - Updated enumerated list description.
1035 - Clarified purpose of directives.
1036 - Added ``-/:`` characters to inline markup's start string prefix,
1037 ``/`` to end string suffix.
1038 - Updated "Authors" bibliographic field behavior.
1039 - Changed "inline hyperlink targets" to "inline internal targets".
1040 - Added "simple table" syntax to supplement the existing but
1041 newly-renamed "grid tables".
1042 - Added cautions for anonymous hyperlink use.
1043 - Added "Dedication" and generic bibliographic fields.
1045 * test: Made test modules standalone (subdirectories became packages).
1047 * test/DocutilsTestSupport.py:
1049 - Added support for PEP extensions to reStructuredText.
1050 - Added support for simple tables.
1051 - Refactored naming.
1053 * test/package_unittest.py: Renamed from UnitTestFolder.py.
1055 - Now supports true packages containing test modules
1056 (``__init__.py`` files required); fixes duplicate module name bug.
1058 * test/test_pep/: Subpackage added to project; PEP testing.
1060 * test/test_rst/test_SimpleTableParser.py: Added to project.
1064 - Updated html.py and publish.py front-end tools to use the new
1065 command-line processing facilities of ``docutils.frontend``
1066 (exposed in ``docutils.core.Publisher``), reducing each to just a
1068 - Added ``locale.setlocale()`` calls to front-end tools.
1070 * tools/buildhtml.py: Added to project; batch-generates .html from all
1071 the .txt files in directories and subdirectories.
1073 * tools/default.css:
1075 - Added support for ``header`` and ``footer`` elements.
1076 - Added styles for "Dedication" topics (biblio fields).
1078 * tools/docutils.conf: A configuration file; added to project.
1080 * tools/docutils-xml.py: Added to project.
1082 * tools/pep.py: Added to project; PEP to HTML front-end tool.
1084 * tools/pep-html-template: Added to project.
1086 * tools/pep2html.py: Added to project from Python (nondist/peps).
1087 Added support for Docutils (reStructuredText PEPs).
1089 * tools/quicktest.py:
1091 - Added the ``--attributes`` option, hacked a bit.
1092 - Added a second command-line argument (output file); cleaned up.
1094 * tools/stylesheets/: Subdirectory added to project.
1096 * tools/stylesheets/pep.css: Added to project; stylesheet for PEPs.
1099 Release 0.1 (2002-04-20)
1100 ========================
1102 This is the first release of Docutils, merged from the now inactive
1103 reStructuredText__ and `Docstring Processing System`__ projects. For
1104 the pre-Docutils history, see the `reStructuredText HISTORY`__ and the
1105 `DPS HISTORY`__ files.
1107 __ http://structuredtext.sourceforge.net/
1108 __ http://docstring.sourceforge.net/
1109 __ http://structuredtext.sourceforge.net/HISTORY.html
1110 __ http://docstring.sourceforge.net/HISTORY.html
1112 General changes: renamed 'dps' package to 'docutils'; renamed
1113 'restructuredtext' subpackage to 'rst'; merged the codebases; merged
1114 the test suites (reStructuredText's test/test_states renamed to
1115 test/test_rst); and all modifications required to make it all work.
1117 * docutils/parsers/rst/states.py:
1119 - Improved diagnostic system messages for missing blank lines.
1120 - Fixed substitution_reference bug.
1126 indent-tabs-mode: nil
1127 sentence-end-double-space: t