[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Proposed Help Panel
- Subject: Proposed Help Panel
- From: David G <..hidden..>
- Date: Sun, 04 Dec 2016 19:37:18 +0800
Hi,
I'm soliciting comments on this.
I've been discussing adding a Help Panel for most if not all screens.
The current plan is to add this to all UI templates in setup.pl first.
That should allow us to work out any kinks in a limited environment before adding the same to the main application .
I'm looking to implement this (in setup.pl) as a simple div that is below everything else on the page. (location will be handled differently for the main app)
Content will be loaded into the div from a base URI specified in ledgersmb.conf
This will default to https://ledgersmb.org/help/1.5/
Each help file will contain markdown formatted text that will be rendered into html browser sidea using
https://github.com/chjj/marked
The library supports the full markdown spec including github flavour (which would be our preferred flavour)
The actual help files will be maintained within the source tree and should exist on a local install.
This will allow preventing access of offsite files if desired. Albeit at the expense of using out of date help files.
Using the same library we do have the option of preprocessing the source markdown files and serving the result as html directly.
This requires extra complexity during the build and release stages, hence my preference for using the JS lib and rendering in browser .
Regards
David Godfrey
Sent from my Samsung Galaxy Note 4 on the Telstra Mobile network
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel