sphinxcontrib-docxbuilder 0.0.1 Alpha

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.

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, 21:29 GMT
price:
FREE!
developed by:
Takayuki SHIMIZUKAWA
license type:
MIT/X Consortium License 
category:
ROOT \ Documentation

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT