[go: up one dir, main page]

Menu

Code Commit Log


Commit Date  
[r9650] by grubert

tagging release 0.21.2

2024-04-23 18:55:21 Tree
[r9649] by grubert

Version 0.21.2

2024-04-23 18:54:26 Tree
[r9648] by grubert

stale comment

2024-04-21 09:21:16 Tree
[r9647] by milde

Reconcile Docutils DTD and Document Tree documentation.

There are some cases where docutils.dtd and doctree.txt diverged.
Change so, that the documentation is consistent and matches actual behaviour.

Remove declaration of element `<info>`:

* added to docutils.dtd and nodes.py but not doctree.txt 2004-03-21,
* never used,
* removed from nodes.py 2004-11-09.

Remove `<decoration>` from content model of `<section>` elements:

* added to docutils.dtd but not doctree.txt 2004-03-21,
* never used because the Docutils rST parser inserts `<decoration>`
directly into `<document>` even if the "header" or "footer" directive
is nested in a section.

Fix declaration of `<sidebar>` content:

* no `<subtitle>` without `<title>`.

Add `<subtitle>` to children of `<section>` elements in "doctree.txt":

* present in docutils.dtd,
* used in the functional test examples via SectSubTitle transform
(with "sectsubtitle_xform" configuration setting True).

2024-04-18 11:18:00 Tree
[r9646] by grubert

man utf8 output uses normal "-" char(45)

2024-04-17 19:14:57 Tree
[r9645] by milde

Uncomment classifiers for Georgian and Catalan (Valencian) languages.

Both classifiers were added to the "pypa/trove-classifiers" repository and
should be available on https://pypi.org/classifiers/ in the next few days.

cf. https://github.com/pypa/trove-classifiers/pull/176#issuecomment-2047518230

2024-04-16 13:00:22 Tree
[r9644] by milde

Small test speedup/simplification.

Directly instantiating the parser class brings down test time from 0.022 s to 0.005 s
while `parsers.get_parser_class()` is tested separately.

2024-04-15 18:34:05 Tree
[r9643] by milde

Make effect of centre-aligning figures visible in functional HTML text.

Horizontal figure alignment is irrelevant if the figure is full-width.
The figure content is left-aligned with the default styles.

Change the functional test input by specifying 40% figure width to the
example of a centre-aligned figure.

Note: figure alignment is ignored with LaTeX output, figures are
centre-aligned by default (depends on LaTeX packages/documentclass).

2024-04-15 12:27:49 Tree
[r9642] by milde

Avoid dependency of functional tests on PIL/Pillow.

Don't use "scale" image directive option in functional test.

The expected output for the "image" directive with "scale" option
is tested in `test_writers/test_html5_polyglot_parts.py` and
`test_writers/test_html4css1_parts.py` with special-casing
for missing PIL.

2024-04-15 12:27:35 Tree
[r9641] by milde

Prevent test failure due no Pillow or Pillow version above 10.3.

Skip tests requiring PIL (Pillow) if it is unavailable.

(Hopefully) fix expected output: Pillow versions above 10.3 seem to report the absolute path.

Thanks to Michał Górny for report and analysis [bugs:485].

2024-04-12 09:51:10 Tree
Older >