[go: up one dir, main page]

Menu

Code Commit Log


Commit Date  
[r9962] by grubert

Fix formatting

2024-10-22 16:45:26 Tree
[r9961] by milde

Store attribute values with datatype "yesorno" as `bool` values.

Use `bool` instead of `int` to store values of "yesorno" attributes in
Python doctree element instances.
This is the "natural" choice for "yesorno" and restores consistency
with the validating function `nodes.validate_yesorno()`.

In XML and pseudoxml output, the value is serialized as "0" or "1"
for backwards compatibility.

2024-10-21 21:47:17 Tree
[r9960] by grubert

manpage image handling redo

2024-10-21 20:48:53 Tree
[r9959] by grubert

remove warnings suppression from std tests

2024-10-21 19:26:26 Tree
[r9958] by grubert

test manpage warning on image content

2024-10-21 19:25:32 Tree
[r9957] by milde

Catch deliberate system messages when running the test suite.

When we know a test case triggers a system message,
make sure that it does not clutter the output.

System messages that are only printed to the warning stream may
be checked in an `assertRaisesRegex()` block after setting the "halt_level"
configuration setting to a matching level (cf. e.g. "test_nodes.py"
or the "test/*/test_*_misc.py" test modules).

2024-10-21 07:20:00 Tree
[r9956] by milde

Trim down overhead of type hints.

get_(reader|parser|writer)class():
Don't use @overload for individual values of the same type that return
a class that is a subclass of a well defined abstract base class.

docutils.nodes:
There is no need to add a TypeVar for the type of a default value when
the alternative is any ``Any | _DefaultT``.

Cf. patches #212.

2024-10-20 19:45:21 Tree
[r9955] by milde

Small fixes and additions.

Be more specific in FAQ answer.

Don't list minor fix (bug #287) in HISTORY.

Shorten some docstrings to adhere to documentation policy
(multi-line docstrings should be summary line, blank line, details).

Better name for function factory that returns a keyword validating function.
(cf. https://stackoverflow.com/questions/3368830/how-to-name-factory-like-methods).

Fix attribute name mismatch "autonum" -> "auto".

Explain F401 noqa comment.

Fix typo in "writers/html5_polyglot/minimal.css" stylesheet.

Avoid confusing variable name ``twidth`` in latex writer.

2024-10-20 18:57:49 Tree
[r9954] by grubert

move manpage image TODO into test_writers/test_manpage

2024-10-20 17:47:14 Tree
[r9953] by milde

ODT writer: Fix handling of `*.xml` stylesheets.

According to the ODT writer documentation, the "stylesheet" setting
should work with either "styles.odt" or "styles.xml" files.

Fix errors with "*.xml" style files [bugs:#494].
Thanks to Paul Kishimoto for report and analysis.

2024-10-20 17:44:36 Tree
Older >