sphinxcontrib-docxbuilder 0.0.1 Alpha

Sphinx docx builder extension

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Takayuki SHIMIZUKAWA
HOMEPAGE:
bitbucket.org
CATEGORY:
ROOT \ Documentation
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.

Setup

Make 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/buildout


run example

for example sphinx-docx building, simply run below:

 bin/example
...
Saved new file to: examples/example-0.1.docx


Usage

Set 'sphinxcontrib-docxbuilder' to 'extensions' line of target sphinx source conf.py:

extensions = ['sphinxcontrib-docxbuilder']

Execute sphinx-build with below option:

 bin/sphinx-build -b docx [input-dir] [output-dir]
 ls [output-dir]
output.docx

Last updated on September 24th, 2010

requirements limitations

#docx builder #Sphinx extension #Sphinx #docx #builder #extension

Add your review!

SUBMIT