aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-12-11 22:14:50 +0100
committerJay Berkenbilt <ejb@ql.org>2021-12-12 22:29:13 +0100
commite5c2bd8b14341d82b0d07da560298b85db110ef1 (patch)
tree34f0a195d4a6926b51df95f6c491a3df87e96143 /TODO
parent29384ecace5fad15fe022618f29342209c4e9b7b (diff)
downloadqpdf-e5c2bd8b14341d82b0d07da560298b85db110ef1.tar.zst
TODO: doc conversion notes
Make a list of things that need to be done while converting docbook to sphinx/rst.
Diffstat (limited to 'TODO')
-rw-r--r--TODO62
1 files changed, 62 insertions, 0 deletions
diff --git a/TODO b/TODO
index 2cbc2a3c..d6da88ec 100644
--- a/TODO
+++ b/TODO
@@ -17,6 +17,68 @@ Next
thrown when an uninitialized trailer is accessed provides useful
information. Test from the C API as well as the C++ API.
+Doc conversion Notes
+====================
+
+Things to fix:
+
+Entities/Unicode
+
+Gajic -> Gajić
+
+<!ENTITY lastreleased "November 16, 2021"> (not needed)
+<!ENTITY ldquo "&#x201C;">
+<!ENTITY mdash "&#x2014;">
+<!ENTITY nbsp "&#xA0;">
+<!ENTITY ndash "&#x2013;">
+<!ENTITY rdquo "&#x201D;">
+<!ENTITY swversion "10.4.0"> -> |release|
+
+Elements:
+
+See https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html
+
+<appendix>/<chapter>/<preface> -- no distinction
+<programlisting> went to :: -- check them each
+Make sure the information from <book> is in there
+<xref> -- find #ref. in converted rst
+Correct placement of comment: <!-- This section is referenced in QPDFObjectHandle.hh -->
+
+<application>, <command> -> :command:
+<filename> -> :file: (allows {x})
+<option> -> :samp: (allows {x})
+<firstterm> -> just use literal
+<replaceable> -> Make sure in :file: or :samp:, then use {}
+
+Build:
+
+apt install python3-pip texlive-latex-extra latexmk
+pip install sphinx
+
+sphinx-build -M help . .
+sphinx-build -M latexpdf source build
+sphinx-build -M html source build
+sphinx-build -M singlehtml source build
+
+autoconf should detect sphinx and its dependencies, not fop, etc.
+Remove VALIDATE_DOC
+Fix installation of documentation in doc
+
+Additional cleanup:
+
+* Indices and tables section
+
+Future work:
+
+* :ref: -- would be nice if it were suitable for printed documentation
+* README-maintainer: Fix installation of documentation to website
+* Release notes link changed (need #ref.release-notes as well as #release-note)
+* Decide about readthedocs; if using, with multiple versions/latest
+* Change order of sections
+* Get navigation working properly
+* Generate stuff (options, code samples, etc.) as needed
+* Figure out where to put :ref:`search` so we get doc search
+
Documentation
=============