sphinxcontrib-docxbuilderSphinx docx builder extension | |
Download |
sphinxcontrib-docxbuilder Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Publisher Name:
- Takayuki SHIMIZUKAWA
- Publisher web site:
- http://bitbucket.org/shimizukawa/
sphinxcontrib-docxbuilder Tags
sphinxcontrib-docxbuilder Description
Sphinx docx builder extension Sphinx docx builder extension generate single docx file from Sphinx document source. The sphinxcontrib-docxbuilder extension uses the python-docx module (included) for the docx file generation.Currently, many directives and indented block are not work correctly, yet.SetupMake environment by buildout'hg clone' or download sphinxcontrib-docxbuilder archive from 'get source' menu at http://bitbucket.org/shimizukawa/sphinxcontrib-docxbuilder cd /path/to/sphinxcontrib-docxbuilder python bootstrap.py -d init bin/buildoutrun examplefor example sphinx-docx building, simply run below: bin/example...Saved new file to: examples/example-0.1.docxUsageSet 'sphinxcontrib-docxbuilder' to 'extensions' line of target sphinx source conf.py:extensions = Execute sphinx-build with below option: bin/sphinx-build -b docx ls output.docx Requirements: · Python · Sphinx · setuptools or distriubte Limitations: · some indented block output are not working correctly yet. · block-quote · literal-block · figure directive's caption become normal paragraph (not bundled with image). · python-docx using template's media(image) folder for temporarily, then some independent document's media files are shared unexpectly. · image directive break docx format (maybe very large file are included)
sphinxcontrib-docxbuilder Related Software