I have travel the web many times but I have not found how to update tables of content in .docx file. Someone know how do that ?
I have try :
- How to update table of contents in docx-file with python on linux?
- https://python-docx.readthedocs.io/en/latest/api/document.html
- and many others but I don't keep the links
thanks for your help