diff --git a/docs/about.html b/docs/about.html index 9996f6217..03e4d550c 100644 --- a/docs/about.html +++ b/docs/about.html @@ -13,8 +13,104 @@ + - + +

logo 30 seconds of code @@ -31,6 +128,372 @@

+ +


Our philosophy

diff --git a/docs/contributing.html b/docs/contributing.html index 9f646a838..55f767874 100644 --- a/docs/contributing.html +++ b/docs/contributing.html @@ -13,8 +13,104 @@ + - + +

logo 30 seconds of code @@ -31,6 +128,372 @@

+ +


How to contribute

diff --git a/scripts/web.js b/scripts/web.js index 9d17c7699..df924f021 100644 --- a/scripts/web.js +++ b/scripts/web.js @@ -241,6 +241,35 @@ catch (err) { process.exit(1); } +const generateMenuForStaticPage = (staticPart) => { + let taggedData = util.prepTaggedData(tagDbData); + // Add the start static part + let htmlCode; + + for (let tag of taggedData) { + htmlCode += + '

' + + md + .render(`${util.capitalize(tag, true)}\n`) + .replace(/

/g, '') + .replace(/<\/p>/g, '') + + '