Eric Lapouyade
f96b0b6413
Merge pull request #617 from waketzheng/project-section
...
feat: use project section
2025-09-24 13:48:54 +02:00
Waket Zheng
560b4b3311
Use poetry-dynamic-versioning instead of pdm
2025-09-24 12:25:32 +08:00
Waket Zheng
e77cbf8c7b
Fix pip install error with --editable
2025-09-23 18:58:34 +08:00
Waket Zheng
7a6ddbcc54
Move docxcompose to optional dependency
2025-09-23 18:25:51 +08:00
Eric Lapouyade
d9bb19cdd4
Update setup.py
2025-07-15 17:15:05 +02:00
Eric Lapouyade
416729dddc
Run black on template.py
v0.20.1
2025-07-15 15:46:03 +02:00
Eric Lapouyade
cbbeae57bd
Fix and improve get_undeclared_template_variables() method
2025-07-15 15:39:11 +02:00
Pablo Esteban
606d189787
- The get_undeclared_template_variables method now analyzes the original template, regardless of whether it has been rendered.
...
- Added optional context parameter to return only variables not present in the provided context.
- Added test tests/get_undeclared_variables.py:
- Verifies behavior before rendering (all variables)
- Verifies after rendering with incomplete context (only missing variables)
- Verifies after rendering with complete context (empty set)
- Verifies compatibility with custom Jinja2 environment
- All tests use asserts and are ready for CI integration.
Closes #585
2025-07-11 14:32:20 +02:00
Eric Lapouyade
399761f9c9
Update sphynx conf.py
2025-05-06 16:22:18 +02:00
Eric Lapouyade
4477729a57
move requirements.txt
2025-05-06 16:21:27 +02:00
Eric Lapouyade
b391b213eb
update sphinx theme
2025-05-06 16:17:56 +02:00
Eric Lapouyade
e766040c5b
Add .readthedocs.yaml
2025-05-06 16:04:07 +02:00
Eric Lapouyade
fb0e3583da
v0.20.0
2025-05-06 15:51:54 +02:00
Eric Lapouyade
40861400b3
black
v0.20.0
2025-05-02 16:42:32 +02:00
Eric Lapouyade
9392b06da4
add RichTextParagraph class
2025-05-02 16:29:22 +02:00
Eric Lapouyade
a48a6a96b2
Merge branch 'refs/heads/ST-Imrie-master'
2025-05-02 16:08:08 +02:00
Eric Lapouyade
685425095b
Merge pull request #592 from bm-rana/bold-rtl-fix
...
Add RTL support for bold/italic text
2025-05-02 15:58:19 +02:00
Eric Lapouyade
08a5d748f6
Merge pull request #593 from aperechnev/master
...
Possibility to skip missing pictures
2025-05-02 15:56:50 +02:00
ST-Imrie
ebc770a291
Updated RichText Jinja tags from rr/rp to r/q and updated test template
2025-05-01 11:39:48 +01:00
Alexander Pérechnev
97df786298
Added possibility to skip missing pictures instead of raising ValueError exception.
2025-04-04 17:38:56 +03:00
rana saab
994da90f66
fixed rtl italic formatting
2025-04-03 13:37:17 +03:00
ST-Imrie
aa7b7a77e3
Rich Text Paragraph Formatting Update
2025-02-28 17:53:26 +00:00
Eric Lapouyade
b97fa32f10
v0.19.1
2024-12-29 18:53:25 +01:00
Eric Lapouyade
def1205179
Merge pull request #575 from jhpyle/patch-1
...
encode XML as bytes in render_footnotes()
v0.19.1
2024-12-29 18:43:33 +01:00
Jonathan Pyle
eed645c0c5
encode XML as bytes in render_footnotes()
...
`part._blob` should have the class `bytes`.
2024-11-29 15:23:46 -05:00
Eric Lapouyade
60caff83fa
Flake8 : whitespace fix
2024-11-12 14:37:12 +01:00
Eric Lapouyade
65e00b189e
Flake8 : whitespace fix
2024-11-12 14:31:55 +01:00
Eric Lapouyade
0f42e5a4c8
v0.19.0
2024-11-12 14:27:06 +01:00
Eric Lapouyade
bc92389ee1
Merge branch 'bartbroere-patch-1'
v0.19.0
2024-11-12 14:08:49 +01:00
Bart Broere
0ef74a740e
Change to isinstance for type checking
2024-10-24 07:28:49 +02:00
Bart Broere
0d616add84
Apply suggestion since part.blob changes type in the loop
...
Co-authored-by: Chatnoir Miki <cmiki@amono.me>
2024-10-24 07:27:59 +02:00
Bart Broere
9124386b4c
Fix flake8
2024-09-23 06:25:22 +00:00
Bart Broere
1cca257016
Add a test and use existing XML patching method
2024-09-23 06:24:41 +00:00
Bart Broere
a449f01f36
Fix flake8
2024-09-18 07:35:12 +00:00
Bart Broere
2812487300
Simplify the code
2024-09-17 21:19:19 +02:00
Bart Broere
2886a851e0
Change the XML library to lxml to avoid namespace renaming and other XML problems
2024-09-17 21:07:21 +02:00
Bart Broere
0061b556ec
[WIP] Support rendering variables in footnotes
2024-09-17 15:09:29 +02:00
Eric Lapouyade
0607e7175d
Merge pull request #556 from a-detiste/master
2024-08-01 01:55:58 +02:00
Alexandre Detiste
d99607003c
remove leftover "six" reference
2024-07-30 23:12:40 +02:00
Eric Lapouyade
b9be3a5b50
Update CHANGES.rst
v0.18.0
2024-07-21 16:48:36 +02:00
Eric Lapouyade
83ecb60bdd
Merge remote-tracking branch 'origin/master'
2024-07-21 16:43:01 +02:00
Eric Lapouyade
a10c3c16e4
Remove python 2.x support
2024-07-21 16:42:41 +02:00
Eric Lapouyade
d472308ae5
Merge pull request #555 from jkpet/patch-1
...
Update index.rst
2024-07-21 16:22:06 +02:00
Eric Lapouyade
ce25ec8228
Merge pull request #554 from elapouya/dependabot/pip/setuptools-70.0.0
...
Bump setuptools from 69.5.1 to 70.0.0
2024-07-21 16:20:56 +02:00
Eric Lapouyade
ac38610947
Code styling
2024-07-21 16:17:47 +02:00
Eric Lapouyade
a50b52b317
PR #552 + black all files
2024-07-21 16:10:44 +02:00
Eric Lapouyade
f3ba468927
Merge pull request #552 from jeanmarcosdarosa/jeanmarcosdarosa-patch-hyperlink
...
Added hyperlink option in InlineImage
2024-07-21 16:01:35 +02:00
Eric Lapouyade
b7872d7723
Add poetry env
2024-07-21 15:37:37 +02:00
jkpet
0642badebc
Update index.rst
...
Updating 'sub-document' documentation to make explicit what was already implicit.
2024-07-19 17:03:07 +10:00
dependabot[bot]
664bb845fa
Bump setuptools from 69.5.1 to 70.0.0
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 69.5.1 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v69.5.1...v70.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 19:38:23 +00:00