diff --git a/website/docs/gettingStarted.html b/website/docs/gettingStarted.html index e8bb46d..6a5d4c5 100644 --- a/website/docs/gettingStarted.html +++ b/website/docs/gettingStarted.html @@ -205,7 +205,7 @@ Hello World

Other plugins

You may find the other plugins here. It certainly helps if you familiarise yourself with the plugins.

Thank you for reading this

-

If you want to know more, you can always ready the DOCUMENTATION or, even better, read the Source Code and try to understand how it works!

+

If you want to know more, you can always ready the DOCUMENTATION or, even better, read the Source Code and try to understand how it works!

diff --git a/website/docs/src/build.js b/website/docs/src/build.js index 6fc46fb..bc8cb00 100644 --- a/website/docs/src/build.js +++ b/website/docs/src/build.js @@ -45,7 +45,7 @@ if ( prompt( 'Do you want to regenerate the API reference? (y/n) ' ).toLowerCase if ( prompt( 'Do you want to regenerate the Getting Started Guide? (y/n) ' ).toLowerCase() == 'y' ) { console.log( 'Regenerating Getting Started Guide' ); - storeHTML( md2html.render( '' + fs.readFileSync( path.join( __dirname + '/../../../GettingStarted.md' ) ) ), 'gettingStarted', '' ); + storeHTML( generateGettingStarted( md2html.render( '' + fs.readFileSync( path.join( __dirname + '/../../../GettingStarted.md' ) ) ) ), 'gettingStarted', '' ); } console.log( 'regenerating plugins documentation' ); @@ -272,8 +272,27 @@ function parseDocumentationMD () { }; } -function generateGettingStarted () { - +function generateGettingStarted ( html ) { + let returnHTML = ''; + for ( let letter in html ) { + if ( html[letter] === '<' ) { + if ( html.slice( parseInt( letter ), parseInt( letter ) + 9 ) === '