gnucash-htdocs beta: Adjust help document loading to accomodate ghelp2help changes in gnucash-docs
Geert Janssens
gjanssens at code.gnucash.org
Sat Aug 13 09:46:18 EDT 2022
Updated via https://github.com/Gnucash/gnucash-htdocs/commit/8b93f2e3 (commit)
from https://github.com/Gnucash/gnucash-htdocs/commit/0489c962 (commit)
commit 8b93f2e39d7275ee1bb846e35b00540b5c62f3ca
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sat Aug 13 15:44:28 2022 +0200
Adjust help document loading to accomodate ghelp2help changes in gnucash-docs
The issue to deal with is that the help manual's main page gets renamed from help.html to index.html.
But only for documentation from gnucash 5 and up.
To handle this, delay document selection until after version selection.
Use the version selection to set the proper name for the main page.
Summary of changes:
viewdoc.phtml | 53 +++++++++++++++++++++++++++++++++++------------------
1 file changed, 35 insertions(+), 18 deletions(-)
More information about the gnucash-patches
mailing list