diff options
author | Ben McGinnes <[email protected]> | 2018-12-10 05:05:14 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-12-10 05:05:14 +0000 |
commit | 7c63bfe4ab434b61a871aec4bc1d0a05b4c068e6 (patch) | |
tree | 67fe2d0d489f5c9322fdd03aece59c34feb56572 /lang/python/doc/rst/maintenance-mode.rst | |
parent | core: Fix ERR_INV_ARG check in genkey_start (diff) | |
download | gpgme-7c63bfe4ab434b61a871aec4bc1d0a05b4c068e6.tar.gz gpgme-7c63bfe4ab434b61a871aec4bc1d0a05b4c068e6.zip |
python: docs updates
* Multiple updates, expanding on the Windows installation issues.
* Also adding to the new maintenance mode reference document.
* Includes content relating to the resolution of T4271 and T4191.
Tested-by: Ben McGinnes <[email protected]>
Signed-off-by: Ben McGinnes <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | lang/python/doc/rst/maintenance-mode.rst | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lang/python/doc/rst/maintenance-mode.rst b/lang/python/doc/rst/maintenance-mode.rst index 770fbe84..6f770bc6 100644 --- a/lang/python/doc/rst/maintenance-mode.rst +++ b/lang/python/doc/rst/maintenance-mode.rst @@ -88,3 +88,46 @@ Those with a commercial interest in expediting such a feature request already know how to `expedite it <https://gnupg.org/cgi-bin/procdonate.cgi?mode=preset>`__ (use the message field to state what feature is being requested). + +.. _docs: + +Documentation formats +--------------------- + +The documentation has been written in Org mode for GNU Emacs, with both +Texinfo and reStructuredText formats generated from that. The Texinfo +files are intended for use with the rest of the GnuPG documentation; +while the reStructuredText files are intended for use with Docutils and +Sphinx, as with other Python projects. + +.. _sphinx-made-epubs-suck: + +Cautionary Notes regarding Sphinx and EPUB +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Though Python\'s Docutils in conjunction with Sphinx is capable of +generating some very useful HTML sites, as proven by `Read the +Docs <https://readthedocs.org/>`__ and the `Python +documentation <https://docs.python.org/>`__, there are a number of +output formats it does not handle well. At the top of the list of things +it manages to break so atrociously as to be embarassing is the `EPUB +3 <http://idpf.org/epub>`__ format. + +The automatically generated EPUB of the CPython documentation always +contains hundreds of validation errors and even the modest amount of +documentation here `produced a +file <https://files.au.adversary.org.s3.amazonaws.com/crypto/gpgme-python/rst/epub/GPGMEPythonBindings.epub>`__ +with approximately thirty validation errors. As the volume of +documentation content increases, so does the induced errors. Whereas +Texinfo doesn\'t produce EPUB output at all, nor does Org-mode. + +Should there ever be genuine demand for this format, lodge a `feature +request <https://dev.gnupg.org/maniphest/task/edit/form/4/>`__ case +marked for `my <https://dev.gnupg.org/p/BenM/>`__ attention. The means +of generating such files flawlessly is already available, but is not yet +part of the GnuPG build system. Nor is it integrated with a means of +converting Org mode input files to the relevant base format +automatically, as can already be done when converting Org to +reStructuredText or Org to Texinfo. As a certain amount of work would be +required to get it done, there would need to be clear demand for that +work to be done. |