Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
d042d45
Merge branch 'quintagroup-fix/resolve_listing_function'
May 8, 2023
d539119
PR #493
May 8, 2023
d43c6de
Changed README.rst
May 8, 2023
24de22b
regen pipfile.lock with newer jinja2 dependency version
dralexxx Feb 10, 2024
bee0706
Merge pull request #527 from dralexxx/update_jinja2_version
elapouya Feb 12, 2024
58de890
v0.17.0 -> requires python-docx 1.1.1+
May 1, 2024
d322120
Fix CHANGES.rst
May 1, 2024
e0d5eb0
Added hyperlink option in InlineImage
jeanmarcosdarosa Jul 9, 2024
664bb84
Bump setuptools from 69.5.1 to 70.0.0
dependabot[bot] Jul 15, 2024
0642bad
Update index.rst
jkpet Jul 19, 2024
b7872d7
Add poetry env
elapouya Jul 21, 2024
f3ba468
Merge pull request #552 from jeanmarcosdarosa/jeanmarcosdarosa-patch-…
elapouya Jul 21, 2024
a50b52b
PR #552 + black all files
elapouya Jul 21, 2024
ac38610
Code styling
elapouya Jul 21, 2024
ce25ec8
Merge pull request #554 from elapouya/dependabot/pip/setuptools-70.0.0
elapouya Jul 21, 2024
d472308
Merge pull request #555 from jkpet/patch-1
elapouya Jul 21, 2024
a10c3c1
Remove python 2.x support
elapouya Jul 21, 2024
83ecb60
Merge remote-tracking branch 'origin/master'
elapouya Jul 21, 2024
b9be3a5
Update CHANGES.rst
elapouya Jul 21, 2024
d996070
remove leftover "six" reference
a-detiste Jul 30, 2024
0607e71
Merge pull request #556 from a-detiste/master
elapouya Jul 31, 2024
0061b55
[WIP] Support rendering variables in footnotes
bartbroere Sep 17, 2024
2886a85
Change the XML library to lxml to avoid namespace renaming and other …
bartbroere Sep 17, 2024
2812487
Simplify the code
bartbroere Sep 17, 2024
a449f01
Fix flake8
bartbroere Sep 18, 2024
1cca257
Add a test and use existing XML patching method
bartbroere Sep 23, 2024
9124386
Fix flake8
bartbroere Sep 23, 2024
0d616ad
Apply suggestion since part.blob changes type in the loop
bartbroere Oct 24, 2024
0ef74a7
Change to isinstance for type checking
bartbroere Oct 24, 2024
bc92389
Merge branch 'bartbroere-patch-1'
Nov 12, 2024
0f42e5a
v0.19.0
Nov 12, 2024
65e00b1
Flake8 : whitespace fix
Nov 12, 2024
60caff8
Flake8 : whitespace fix
Nov 12, 2024
eed645c
encode XML as bytes in render_footnotes()
jhpyle Nov 29, 2024
def1205
Merge pull request #575 from jhpyle/patch-1
elapouya Dec 29, 2024
b97fa32
v0.19.1
Dec 29, 2024
aa7b7a7
Rich Text Paragraph Formatting Update
ST-Imrie Feb 28, 2025
994da90
fixed rtl italic formatting
bm-rana Apr 3, 2025
97df786
Added possibility to skip missing pictures instead of raising ValueEr…
aperechnev Apr 4, 2025
ebc770a
Updated RichText Jinja tags from rr/rp to r/q and updated test template
ST-Imrie May 1, 2025
08a5d74
Merge pull request #593 from aperechnev/master
elapouya May 2, 2025
6854250
Merge pull request #592 from bm-rana/bold-rtl-fix
elapouya May 2, 2025
a48a6a9
Merge branch 'refs/heads/ST-Imrie-master'
May 2, 2025
9392b06
add RichTextParagraph class
May 2, 2025
4086140
black
May 2, 2025
fb0e358
v0.20.0
May 6, 2025
e766040
Add .readthedocs.yaml
May 6, 2025
b391b21
update sphinx theme
May 6, 2025
4477729
move requirements.txt
May 6, 2025
399761f
Update sphynx conf.py
May 6, 2025
606d189
- The get_undeclared_template_variables method now analyzes the origi…
B1oko Jul 11, 2025
cbbeae5
Fix and improve get_undeclared_template_variables() method
elapouya Jul 15, 2025
416729d
Run black on template.py
elapouya Jul 15, 2025
d9bb19c
Update setup.py
elapouya Jul 15, 2025
9d31cea
docs: update readme (add dependency links)
waketzheng Sep 19, 2025
6e01961
Update README.rst
waketzheng Sep 19, 2025
7a6ddbc
Move docxcompose to optional dependency
waketzheng Sep 23, 2025
e77cbf8
Fix pip install error with `--editable`
waketzheng Sep 23, 2025
560b4b3
Use poetry-dynamic-versioning instead of pdm
waketzheng Sep 24, 2025
f96b0b6
Merge pull request #617 from waketzheng/project-section
elapouya Sep 24, 2025
fab696c
Fix NameError: name Subdoc is not defined
waketzheng Nov 2, 2025
cf5437b
Merge pull request #623 from waketzheng/fix-subdoc
elapouya Nov 13, 2025
082a1c6
v0.20.2
Nov 13, 2025
1079691
fix: move font below style to create correct order for OOXML specs
StuCM Dec 5, 2025
d5f36d8
Fix #635 - support adding accessibility information with InlineImage …
nonprofittechy Apr 30, 2026
02410fa
ci: upgrade actions to v6 and add py3.14 to test list
waketzheng Jun 21, 2026
f63b6b7
docs: declare py3.14 supported
waketzheng Jun 21, 2026
4f7f092
chore: add uv lock file
waketzheng Jun 21, 2026
005620d
ci: add test workflow
waketzheng Jun 21, 2026
6f30ad4
ci: update the test workflow
waketzheng Jun 21, 2026
45c3787
Fix ci test error
waketzheng Jun 21, 2026
e51b194
Fixing ci test error
waketzheng Jun 21, 2026
f7422d7
ci: explicitly requires `poetry>=2.0`
waketzheng Jun 21, 2026
2b9c585
ci: update test
waketzheng Jun 21, 2026
a894d4c
ci: use uv
waketzheng Jun 21, 2026
d56905a
Use pdm backend to fix py37/py38 ci test error
waketzheng Jun 21, 2026
3576eab
ci: uv for py37 and poetry for py38
waketzheng Jun 21, 2026
5b8aca5
ci: uv for py38 test
waketzheng Jun 21, 2026
1ea3d96
Merge pull request #646 from waketzheng/upgrade-actions
elapouya Jul 7, 2026
e6a9c0d
Merge pull request #614 from waketzheng/update-readme
elapouya Jul 7, 2026
2c3a3cd
Merge pull request #636 from SuffolkLITLab/fix-inline-image-alt-text
elapouya Jul 7, 2026
6860766
Merge pull request #626 from StuCM/fix/rich-text-element-ordering
elapouya Jul 7, 2026
1f143fb
Merge pull request #649 from waketzheng/ci-add-test
elapouya Jul 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -22,4 +22,4 @@ jobs:
run: |
pip install flake8
# stop the build if there are code styling problems. The GitHub editor is 127 chars wide.
flake8 . --count --max-line-length=127 --show-source --statistics
flake8 . --count --max-line-length=127 --show-source --statistics
69 changes: 69 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Test
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.14"
- "3.13"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
fail-fast: false
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
activate-environment: true
- name: Install dependencies
run: uv sync --all-extras --all-groups
- name: Build
run: uv build
- name: Test
run: python tests/runtests.py

test_py38:
runs-on: ubuntu-22.04
container: python:3.8-slim
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Create virtual environment
run: uv venv --python 3.8
- name: Install dependencies
run: uv sync --all-extras --all-groups
- name: Build
run: uv build
- name: Test
run: |
uv run --frozen python tests/runtests.py
uv run --frozen python -V

test_py37:
runs-on: ubuntu-22.04
container: python:3.7-slim
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Create virtual environment
run: uv venv --python 3.7
- name: Install dependencies
run: uv sync --all-extras --all-groups
- name: Build
run: uv build
- name: Test
run: |
uv run --frozen python tests/runtests.py
uv run --frozen python -V
35 changes: 35 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: requirements.txt
43 changes: 43 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
0.20.2 (2025-11-13)
-------------------
- Fix fix_tables()
- Move docxcompose to optional dependency (Thanks to Waket Zheng)

0.20.1 (2025-07-15)
-------------------
- Fix and improve get_undeclared_template_variables() method (Thanks to Pablo Esteban)

0.20.0 (2024-12-29)
-------------------
- Add RichTextParagraph (Thanks to ST-Imrie)
- Add RTL support for bold/italic (Thanks to bm-rana)
- Update documentation

0.19.1 (2024-12-29)
-------------------
- PR #575 : fix unicode in footnotes (Thanks to Jonathan Pyle)

0.19.0 (2024-11-12)
-------------------
- Support rendering variables in footnotes (Thanks to Bart Broere)

0.18.0 (2024-07-21)
-------------------
- IMPORTANT : Remove Python 2.x support
- Add hyperlink option in InlineImage (Thanks to Jean Marcos da Rosa)
- Update index.rst (Thanks to jkpet)
- Add poetry env
- Black all files

0.17.0 (2024-05-01)
-------------------
- Add support to python-docx 1.1.1

0.16.8 (2024-02-23)
-------------------
- PR #527 : upgrade Jinja2 in Pipfile.lock

0.16.7 (2023-05-08)
-------------------
- PR #493 - thanks to AdrianVorobel

0.16.6 (2023-03-12)
-------------------
- PR #482 - thanks to dreizehnutters
Expand Down
Loading