summaryrefslogtreecommitdiff
path: root/docutils/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.20.1docutils-0.20.1@9388grubert2023-05-161-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9388 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.20.1b.devgrubert2023-05-091-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.20docutils-0.20@9374grubert2023-05-091-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9374 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.20rc1 grubert2023-05-041-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Raise version to 0.20b.dev.milde2022-12-011-3/+3
| | | | | | There are not only bugfix changes since 0.19, so a new "minor" release is required. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9291 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Make component's "TransformSpec" interface optional.milde2022-11-211-8/+15
| | | | | | | | | | | `Transformer.populate_from_components()` now ignores components not inheriting `docutils.TransformSpec`. This is a prerequisite to allow use of standard I/O classes in the Publisher. Document the handling of `unknown_reference_resolvers`. Use PEP 257 "Docstring Conventions". git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9260 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.19.1b.devgrubert2022-07-051-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9105 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.19docutils-0.19@9103grubert2022-07-051-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9103 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix version identifier conversion script.milde2022-06-221-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9091 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.19b2.devgrubert2022-06-211-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9086 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.19b1grubert2022-06-211-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9085 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Postpone deprecations to Docutils 2.0milde2022-05-301-1/+1
| | | | | | | Starting in 1.0, we want to move to "semantic versioning": no incompatible API changes in "minor" releases. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9062 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small cleanups.milde2022-03-171-5/+8
| | | | | | | | | | Set docutils.__version_details__ to empty string. This is the default for official releases and for repository checkouts. cf. https://sourceforge.net/p/docutils/mailman/message/35903816/ Refactor imports and simplify an error string in core.py git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9046 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* core.Publisher.publish(): Prompt when waiting for input from a terminal.milde2022-03-111-1/+1
| | | | | | | | | | | | | | When front-end tools are used without arguments, Docutils reads from stdin. Currently, when a user calls a front-end without arguments, there is no response until the user presses Ctrl-D (Ctrl-Z on Windows) or aborts with Ctrl-C. This commit changes the behaviour to tell the user what the front-end expects and where to get more help. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9043 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix imports.milde2022-03-051-3/+2
| | | | | | | | flake8 rules E401: multiple imports on one line E402: module level import not at top of file git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9027 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Ensure 2 blank lines around top-level functions and classes.milde2022-03-041-1/+0
| | | | | | | | flake8 rules E302: expected 2 blank lines, found 1 E305: expected 2 blank lines after class or function definition git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9026 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Ensure at least two spaces before inline comment.milde2022-03-041-4/+3
| | | | | | | | | flake 8 rule E261 Exceptions for modules sheduled for removal or with 3rd-party origin and for data collections. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9021 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small fixes, mostly documentation. Test more "list" settings.milde2022-02-051-0/+11
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8998 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix code indentationmilde2022-01-291-2/+2
| | | | | | | | | | | | | | | | | | | | Check conformance to our coding policies with flake8. Fix the following problems: E111 indentation is not a multiple of four E114 indentation is not a multiple of four (comment) E115 expected an indented block (comment) E116 unexpected indentation (comment) E117 over-indented E121 continuation line under-indented for hanging indent E122 continuation line missing indentation or outdented E124 closing bracked does not match visual indentaion E127 continuation line over-indented for visual indent E128 continuation line under-indented for visual indent E131 continuation line unaligned for hanging indent git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8994 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Various small fixes.milde2022-01-291-1/+1
| | | | | | | | | | | | Update comments One more generator expression instead of lists. Fix unbound variable. Drop duplicate import. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8990 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New style classes no longer need to inherit from `object`.milde2022-01-261-1/+1
| | | | | | Patch by Adam Turner. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8984 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove unused importsmilde2022-01-261-1/+0
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8979 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small fixes and clean-ups by Adam Turner.milde2022-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Remove duplicate definitions in language modules. Import locale_encoding from `docutils.io` Use decorator for staticmethod Use True/False over 1/0. `collections.OrderedDict` no longer required, all dictionaries are ordered from Python 3.7 Remove obsolete `__cmp__` method cf. https://docs.python.org/3/whatsnew/3.0.html#ordering-comparisons Use str instead of type(''). Zero-argument ``super()`` Simplify test support module as "u" prefix isn't used by repr in Python 3. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8973 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Cosmetic changes.milde2022-01-241-13/+13
| | | | | | | | | | | | | | * Place module level "dunders" before imports (as advised in PEP 8). * Add () after function names in module docstring so that pydoc can crate links in HTML output. * Fix/clarify some docstrings. * Remove (outcommented) @functools.total_ordering from VersionInfo: it did not work (tests fail without __le__() method). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8961 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Set version to 0.19b.dev.milde2021-12-231-3/+3
| | | | | | | | | | Leaving the 0.18 maintenance mode. Note: We may skip 0.19 if the next release is "1.0-ready" (depending on consensus on backwards compatibility policy and definition/documentation of the public part of the API). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8914 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.18.2b0grubert2021-11-231-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8903 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.18.1docutils-0.18.1@8900grubert2021-11-231-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8900 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Version: 0.18.1b1.devgrubert2021-11-181-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8894 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Version: 0.18.1bgrubert2021-11-181-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8893 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add DeprecationWarnings and FutureWarnings for planned changes.milde2021-11-051-1/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8880 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.18.1b.devgrubert2021-10-261-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8867 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.18grubert2021-10-261-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8864 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix spellingmilde2021-10-221-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8860 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release number 0.18b2.devgrubert2021-10-051-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8848 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.18b1grubert2021-10-051-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8845 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.18b.dev, open repository for development.milde2021-05-171-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8721 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17.2b.devgrubert2021-04-171-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8711 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.17.1grubert2021-04-171-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8705 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17.1b2.devgrubert2021-04-091-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8688 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17.1b1.devgrubert2021-04-091-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8687 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set version to 0.17.1b.devgrubert2021-04-091-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8681 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* switch to 0.18b.devgrubert2021-04-031-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8660 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.17grubert2021-04-031-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8653 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.17b2.devgrubert2021-02-101-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8616 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Set version 0.17b1grubert2021-02-101-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8615 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Formattinggrubert2020-08-101-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8537 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* unnecessary parensgrubert2020-08-101-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8536 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* VersionInfo fixesmilde2020-01-261-2/+41
| | | | | | | | | | | | * Raise ValueError for invalid values. * Provide default values. * Fix comparison to ordinary tuples. (Test for equality still fails, because __eg__() is not called when comparing a namedtuple subclass to a tuple!) git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8468 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set release 0.17b.devgrubert2020-01-121-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8456 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set version 0.16grubert2020-01-121-4/+4
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8453 929543f6-e4f2-0310-98a6-ba3bd3dd1d04