python: docs processing
authorBen McGinnes <ben@adversary.org>
Mon, 24 Dec 2018 13:18:10 +0000 (00:18 +1100)
committerBen McGinnes <ben@adversary.org>
Mon, 24 Dec 2018 13:18:10 +0000 (00:18 +1100)
commitef9355c2fe8f81ccd73e0ed45ce33e925928f8e1
treed2623568c999fd76ddac88d36c99c1f8dd40b582
parent06bca0eaa8de8405fafc892ab7864990f8853bcf
python: docs processing

* Added some EPUB specific config options to the Sphinx config file
  which might help reduce some of Sphinx's more stupid default errors
  with EPUB validation.
* Added lang/python/post_installer.py script for automating the
  generation of .texi and .rst "source" files from the real source
  files written in Org mode.  Includes recreating the Sphinx Makefile
  which is excluded due to the m4 toolchain in parent directories, it
  also handles the rewriting of the reST index file properly and
  rewrites the .texi files so they don't impale themselves on Unicode.

Tested-by: Ben McGinnes <ben@adversary.org>
Signed-off-by: Ben McGinnes <ben@adversary.org>
lang/python/doc/rst/conf.py
lang/python/post_installer.py [new file with mode: 0755]