Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate update of helpfile from wiki #46

Open
AaronDavidNewman opened this issue Jul 2, 2021 · 0 comments
Open

Automate update of helpfile from wiki #46

AaronDavidNewman opened this issue Jul 2, 2021 · 0 comments

Comments

@AaronDavidNewman
Copy link
Owner

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&#39;t like to read instructions, this cook&#39;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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant