This patch release restores compatibility with integrations that construct ANSI literal blocks using the classic docutils literal_block(rawsource, text) calling style.
Fixed
- Restored the positional
textargument forANSILiteralBlock. - Fixed compatibility with
sphinxcontrib-programoutputwhenprogramoutput_use_ansi = True, where output nodes are created asANSILiteralBlock(output, output). - Added regression tests for the two-argument construction through both HTML and non-HTML parser paths.
Documentation
- Improved the README and main documentation with clearer feature descriptions.
- Clarified that
erbsland-sphinx-ansirenders ANSI text styling but is not a terminal emulator. - Added guidance for preprocessing terminal output with
erbsland-ansi-convertwhen output depends on cursor movement, screen clearing, or other terminal control behavior.
Maintenance
- Added missing utility library files that were previously excluded by
.gitignore.