From dda54cc851490be045832d5ee0b03be082529d17 Mon Sep 17 00:00:00 2001
From: Ben McGinnes
Date: Thu, 28 Jun 2018 18:02:43 +1000
Subject: [PATCH] python bindings howto: dita version
* Drafts of instructions for exporting public and secret keys ready,
along in addition to the code.
---
.../docs/dita/gpgme-python-howto-footer.xhtml | 9 +
.../docs/dita/gpgme-python-howto.ditamap | 8 +
lang/python/docs/dita/gpgme-python.ditamap | 1 +
lang/python/docs/dita/gpgmePython.xpr | 470 +++++++++++++++++-
.../docs/dita/howto/part01/docs-source.dita | 11 +-
.../dita/howto/part03/exporting-pubkeys.dita | 120 +++++
.../dita/howto/part03/exporting-seckeys.dita | 161 ++++++
.../docs/dita/howto/part03/exporting.dita | 12 +
.../docs/dita/howto/part03/importing.dita | 67 +++
.../docs/dita/howto/part04/decryption.dita | 17 +-
.../docs/dita/howto/part06/group-lines.dita | 4 +
lang/python/docs/dita/howto/version-info.dita | 6 +-
12 files changed, 873 insertions(+), 13 deletions(-)
create mode 100644 lang/python/docs/dita/gpgme-python-howto-footer.xhtml
create mode 100644 lang/python/docs/dita/howto/part03/exporting-pubkeys.dita
create mode 100644 lang/python/docs/dita/howto/part03/exporting-seckeys.dita
create mode 100644 lang/python/docs/dita/howto/part03/exporting.dita
create mode 100644 lang/python/docs/dita/howto/part03/importing.dita
diff --git a/lang/python/docs/dita/gpgme-python-howto-footer.xhtml b/lang/python/docs/dita/gpgme-python-howto-footer.xhtml
new file mode 100644
index 00000000..77d681a1
--- /dev/null
+++ b/lang/python/docs/dita/gpgme-python-howto-footer.xhtml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/lang/python/docs/dita/gpgme-python-howto.ditamap b/lang/python/docs/dita/gpgme-python-howto.ditamap
index e66c9f4a..1809acb3 100644
--- a/lang/python/docs/dita/gpgme-python-howto.ditamap
+++ b/lang/python/docs/dita/gpgme-python-howto.ditamap
@@ -58,6 +58,11 @@
+
+
+
+
+
@@ -87,4 +92,7 @@
+
+
+
diff --git a/lang/python/docs/dita/gpgme-python.ditamap b/lang/python/docs/dita/gpgme-python.ditamap
index 5232dca8..6b8926b4 100644
--- a/lang/python/docs/dita/gpgme-python.ditamap
+++ b/lang/python/docs/dita/gpgme-python.ditamap
@@ -3,4 +3,5 @@
diff --git a/lang/python/docs/dita/gpgmePython.xpr b/lang/python/docs/dita/gpgmePython.xpr
index e8756fca..59fe9770 100644
--- a/lang/python/docs/dita/gpgmePython.xpr
+++ b/lang/python/docs/dita/gpgmePython.xpr
@@ -1,20 +1,35 @@
-
+
-
+
scenario.associations
+
+
+ gpgme-python.ditamap
+
+
+
+ DITA Map WebHelp - TS/HC - GPGME
+
+
+
+
+ DITAMAP
+
+
+
gpgme-python-howto.ditamap
- gpgme-python-howto (WebHelp Responsive)
+ DITA Map WebHelp - TS/HC - GPGME
@@ -28,6 +43,455 @@
scenarios
+
+
+ false
+
+
+ false
+
+
+ ${cfd}
+
+
+ ${cfd}/out/webhelp-${ddt}
+
+
+ ${cfd}/temp/webhelp-${ddt}
+
+
+ webhelp
+
+
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+ file:/usr/local/oXygenXML/custom/webhelp-skins/high-contrast-skin.css
+
+
+ file:/usr/local/oXygenXML/custom/webhelp-skins/high-contrast-skin.css
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ args.xhtml.classattr
+
+
+
+
+
+ yes
+
+
+ yes
+
+
+ 4
+
+
+
+ yes
+ no
+
+
+
+
+
+
+
+
+
+
+
+
+ webhelp.footer.include
+
+
+
+
+
+ yes
+
+
+ yes
+
+
+ 4
+
+
+
+ yes
+ no
+
+
+
+
+
+ If the "webhelp.footer.file" parameter has a value, the content of that file is used as footer. If "webhelp.footer.file" has no value, the default Oxygen footer is inserted in each Webhelp page.
+ No footer is added to the Webhelp pages.
+
+
+
+
+
+ webhelp.footer.file
+
+
+
+
+
+ /Users/ben/dev/hgit/mine/gnupg/dita/gpgme/python/gpgme-python-howto-footer.xhtml
+
+
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+ webhelp.copyright
+
+
+
+
+
+ Copyright © Benjamin D. McGinnes, 2018
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+ -Xmx384m
+
+
+ false
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+ DITA Map WebHelp - TS/HC - GPGME
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+ false
+
+
+ DITAMAP
+
+
+ true
+
+
+ true
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+
+
+
+
+
+
+ DITA-OT
+
+
+
+
+
+
+
+ false
+
+
+ false
+
+
+ ${cfd}
+
+
+ ${cfd}/out/html5-${ddt}
+
+
+ ${cfd}/temp/html5-${ddt}
+
+
+ html5
+
+
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+ file:/usr/local/oXygenXML/custom/webhelp-skins/high-contrast-skin.css
+
+
+ file:/usr/local/oXygenXML/custom/webhelp-skins/high-contrast-skin.css
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -Xmx384m
+
+
+ false
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+ gpgme-python (HTML5)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+ false
+
+
+ DITAMAP
+
+
+ true
+
+
+ true
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+ false
+
+
+
+
+
+
+
+
+ DITA-OT
+
+
+
+
+
false
diff --git a/lang/python/docs/dita/howto/part01/docs-source.dita b/lang/python/docs/dita/howto/part01/docs-source.dita
index 8e97a353..7c90b59c 100644
--- a/lang/python/docs/dita/howto/part01/docs-source.dita
+++ b/lang/python/docs/dita/howto/part01/docs-source.dita
@@ -14,15 +14,16 @@
- A bug
in either Org-Mode or Babel prevented the more complex examples included in the HOWTO
- from displaying correctly.
+ from displaying correctly while also retaining syntax highlighting.
- To demonstrate some of the advantages of DITA XML over existing documentation
production software used in the project (particularly Texinfo and LaTeX).
- The XML format definitely supports displaying all the more complex Python code correctly,
- as well as being designed to produce standards compliant print and HTML output. Whereas
- currently the existing tools utilised by the GnuPG Project can't display the example code in
- a way which would actually pass the project's own git commit ruleset.
+ The XML format definitely supports displaying all the more complex Python code correctly
+ with syntax highlighting, as well as being designed to produce standards compliant print and
+ HTML output. Whereas currently the existing tools utilised by the GnuPG Project can't
+ display the example code in a way which would actually pass the project's own git commit
+ ruleset.