This library provides a convenient way to import a DOCX file and convert it to HTML. The main functionality is encapsulated in the index method of the provided class.
Build both containers by running DOCKER_BUILDKIT=1 docker compose build.
This produces demosdeutschland/docx-importer:latest and demosdeutschland/docx-importer-nginx:latest, which is what the dplan stack consumes.
To import a DOCX file and convert it to HTML, follow these steps:
/docx/import route.docxFile parameter.Releases are cut manually (no CI workflow). To publish e.g. 0.7:
## [0.7] heading in CHANGELOG.md.MAJOR.MINOR, no v prefix — matches the 0.6 tag):
git commit CHANGELOG.md -m "chore: prepare release 0.7"
git tag -a 0.7 -m "Release 0.7"
git push origin main 0.7./build.sh 0.7 (prompts before pushing).