Smoosic
Smoosic copied to clipboard
Automate update of helpfile from wiki
Help files are produced from smoosic wiki. It would be good to automate this. I picture a json/javascript file like:
const helpfiles = [
{ language: 'en', url: 'https://github.com/AaronDavidNewman/Smoosic/wiki/Quick-Start', variable 'quickHelp' },...
];
and then grunt-markdown would create the language-specific monolith for all the help files like:
var quickHelpHtmlEn = `
<h3 id="quick-start-guide">Quick start guide</h3>
<p>If you don't like to read instructions, this cook's tour of Smoosic was made for you.</p>
<ul>... `
So part of this is we should move the help html out of language_en.js and into something like help_en.js.