summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* upload documentation to sourceforge.io see ↵HEADmastergrubert2023-05-171-5/+8
| | | | | | https://docutils.sourceforge.io/0.20.1/ git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9392 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* releasing 0.20.1grubert2023-05-171-0/+119
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9391 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Version 0.20.2b.devgrubert2023-05-1722-26/+31
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9390 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.20.1grubert2023-05-1623-29/+29
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9388 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add a small backwards compatibility script for rst2odt_prepstyles.py.milde2023-05-164-18/+59
| | | | | | | This way, users can adapt to the new command before the "tools/*.py" scripts are no longer installed in Docutils 0.21. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9387 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Move auxiliary script rst2odt_prepstyles.py to the library.milde2023-05-161-0/+0
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9386 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation fix.milde2023-05-132-5/+15
| | | | | | | Fix internal links in "directives" doc. Add links to description of differences between html4css1 and html5 writers. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9385 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix false alarm when testing with pypy 3.9.milde2023-05-111-5/+12
| | | | | | | Work around non-standard error message from pypy 3.9. Fixes [bugs:#471]. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9384 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Announce upcoming fix for the localization of the "admonition" directive name.milde2023-05-112-0/+11
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9383 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* note on getting a fresh chcekout for release.grubert2023-05-111-2/+7
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9382 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* reminder to check for spurious html files grubert2023-05-101-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9381 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Include "docutils.conf" in the source package.milde2023-05-102-1/+3
| | | | | | | | | This file contains the configuration used when generating Docutil's HTML documentation. May help solving [bugs:#461]. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9380 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Include "tox.ini" in sdist packages.milde2023-05-102-1/+4
| | | | | | Fixes [bugs:#467] git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9379 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix some flake8 warnings in test scripts and remove flake8 exception rules.milde2023-05-104-28/+27
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9378 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fix over and underline of titlegrubert2023-05-091-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9377 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.20.1b.devgrubert2023-05-0924-25/+84
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.20grubert2023-05-0924-31/+75
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9374 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* 0.20rc1 grubert2023-05-041-0/+87
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9373 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.20rc1 grubert2023-05-0423-30/+50
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation spellcheck and cleanup.milde2023-05-032-13/+4
| | | | | | | | Fix typos. Mark up object names. No extra HISTORY entries for test refactoring clean up commits. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9371 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation update.milde2023-05-033-137/+150
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9370 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Revert addition of `io.OutString` and the "auto_encode" argument.milde2023-05-0218-334/+160
| | | | | | | We need a review of the "string output" interface and a consensus on the "clean" end-state before starting with the implementation. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9369 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add output encoding error handler to the parts provided by all writers.milde2023-04-286-6/+17
| | | | | | | | | | | | The new generic part "errors" returned by default contains the `output_encoding_error_handler` setting, which may make-or-break encoding ``parts['whole']``. Allows use of `core.publish_parts()` to get the document as `str`, post-process it and encode with user configurated encoding and encoding-error handler. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9368 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Avoid trailing whitespace in test sample strings.milde2023-04-281-27/+27
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9367 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Documentation fix/update.milde2023-04-262-8/+16
| | | | | | | | The return value of `io.FileOutput` (and hence of `core.publish_cmdline()` and `core.publish_file()`) is a `str` instance (except for binary output document formats) and has always been under Python 3. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9366 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixes for "rst2odf_prepstyles" module.milde2023-04-261-8/+19
| | | | | | | | | | Apply [patch:#427] by Dmitry Shachnev: Open output (zip)file in binary mode. Use standard `xml.etree` module instead of 3rd party `lxml`. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9365 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Make `io.FileOutput.write()` work with bytes also on Windows.milde2023-04-261-4/+13
| | | | | | | | | | | Don't attempt to change line endings to the OS default, if the `data` to write is a `bytes` instance. This fixes an error with the `core.rst2odt()` "script entry point" function under Windows. Mark current behaviour as provisional. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9364 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Suppress ``CSVTable.HeaderDialect()`` deprecation warningaa-turner2023-04-241-1/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9363 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Last documentation edits for 0.20 release.milde2023-04-213-7/+25
| | | | | | | | Review and small corrections to HISTORY and RELEASE-NOTES. Add comment with rationale for future cvs-table changes. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9362 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Next iteration of "directives" documentation refactoring.milde2023-04-201-83/+141
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9361 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small fixes to odt_prepstyles module.milde2023-04-191-3/+5
| | | | | | | | Add link to the full documentation to "usage". Specify encoding when writing to zipfile. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9360 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Review rST "directives" documentation.milde2023-04-191-56/+63
| | | | | | | | Unify content type descriptions. Add cross-links. Reword for better clarity. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9359 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Move import of "urllib" to the top of modules.milde2023-04-192-17/+5
| | | | | | | | The reasons for deferring the import of "urllib" to later in the code no longer merit deviating from coding style policy. (Loading time improved from 0.15s to 0.03s with the switch to Py3k.) git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9358 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* tox.ini changedir to directory ``test`` to avoid path problems.grubert2023-04-192-1/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9357 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update documentation for the "csv-table" directive.milde2023-04-185-35/+92
| | | | | | | | | Document current behaviour and the roadmap to bring it in line with the specification. Add deprecation warnings for to-be-removed objects. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9356 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Test syntax highlight: Make pygments version parsing more robust.milde2023-04-173-21/+10
| | | | | | | Do not fail for pre-release versions (c.f. https://pygments.org/docs/changelog/). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9355 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Support Pygments 2.14 and newer in testsmilde2023-04-173-0/+278
| | | | | | | | | Pygments 2.14 contains changes in the Python lexer which break ``test_code``​​, ``test_code_long``, and ``test_include``. https://pygments.org/docs/changelog/#version-2-14-0 git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9354 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Raise ValueError if StringOutput.write() gets data of unsupported typemilde2023-04-173-26/+29
| | | | | | | | | | | ... instead of returning/storing an "informal string representation". Replaces the test for the "odt" writers" with binary output in `core.publish_programmatically()` with a generic alternative (that also catches the case of the "null" writer instead of writing the string "None"). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9353 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* The "null" writer will generate an empty string in Docutils 0.22.milde2023-04-173-5/+15
| | | | | | | | | | | Update writer documentation to Python 3 terminology. Format multi-line docstrings according to policies. Writers generate `str` or `bytes` output. In future, the "null" writer will also generate `str` output for consistency with other writers and the documentation. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9352 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix test failure introduced in [r9348].milde2023-04-172-12/+33
| | | | | | | | | Reword and wrap warning message for incompatible content of the bibliographic field "author". Adapt "frontmatter" unit test cases. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9351 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix message for nonconforming docinfo-Authors.grubert2023-04-162-4/+8
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9350 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update HISTORY and RELEASE-NOTES for the 0.20 release.milde2023-04-142-85/+96
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9349 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix test for spurious enumerated lists in bibliographic fields.milde2023-04-142-2/+6
| | | | | | | The test for "single line paragraphs" failed for bibliographic fields followed by an empty line. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9348 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Announce change of "math-output" setting default for HTML5 to "MathML".milde2023-04-144-55/+59
| | | | | | | | | | MathML is supported by Chrome since January 2023. Use MathML in documentation pages generated with the HTML5 writer already now. Update "LaTeX syntax for mathematics" documentation. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9347 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix regex to match multiline message "requires ... recommonmark"grubert2023-04-132-1/+6
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9346 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Do not decode OpenDocument zip packages with `publish_string()`.milde2023-04-134-45/+71
| | | | | | | | | | | | | | The ODF writer produces output in binary format. Raise an exception if `publish_string()` is called with this writer and ``auto_encode=False``. Update documentation, add cross-links. TODO: In future, the ODF writer may return a "flat XML" version of the "OpenDocument Text" document as `str`. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9345 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix typo.milde2023-04-121-2/+2
| | | | | | Reported by Adam Turner. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9344 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update Publisher API documentation. Add links.milde2023-04-122-32/+57
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9343 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add "auto_encode" argument to `core.publish_from_doctree()`.milde2023-04-123-29/+29
| | | | | | | publish_from_doctree() output is described as "string" and uses `io.StringOutput` just as publish_string(). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9342 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Set "auto_encode=False" to skip en-/decoding output in tests.milde2023-04-1111-55/+60
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9341 929543f6-e4f2-0310-98a6-ba3bd3dd1d04