Updated web script to deal with bugs
This commit is contained in:
1513
docs/index.html
1513
docs/index.html
File diff suppressed because one or more lines are too long
@ -157,3 +157,7 @@ label#menu-toggle {
|
|||||||
.card {
|
.card {
|
||||||
box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.125), 0 0.125rem 0.125rem -0.125rem rgba(0, 0, 0, 0.25);
|
box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.125), 0 0.125rem 0.125rem -0.125rem rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|||||||
@ -89,20 +89,19 @@ try {
|
|||||||
// Minify output
|
// Minify output
|
||||||
output = minify(output, {
|
output = minify(output, {
|
||||||
collapseBooleanAttributes: true,
|
collapseBooleanAttributes: true,
|
||||||
collapseWhitespace: true,
|
collapseWhitespace: false,
|
||||||
decodeEntities: true,
|
decodeEntities: false,
|
||||||
minifyCSS: true,
|
minifyCSS: true,
|
||||||
minifyJS: true,
|
minifyJS: true,
|
||||||
html5: false,
|
keepClosingSlash: true,
|
||||||
processConditionalComments: true,
|
processConditionalComments: true,
|
||||||
removeAttributeQuotes: true,
|
removeAttributeQuotes: false,
|
||||||
removeComments: true,
|
removeComments: true,
|
||||||
removeEmptyAttributes: true,
|
removeEmptyAttributes: false,
|
||||||
removeOptionalTags: true,
|
removeOptionalTags: false,
|
||||||
removeScriptTypeAttributes: true,
|
removeScriptTypeAttributes: false,
|
||||||
removeStyleLinkTypeAttributes: true,
|
removeStyleLinkTypeAttributes: false,
|
||||||
trimCustomFragments: true,
|
trimCustomFragments: true,
|
||||||
useShortDoctype: true,
|
|
||||||
});
|
});
|
||||||
// Write to the index.html file
|
// Write to the index.html file
|
||||||
fs.writeFileSync(path.join(docsPath,'index.html'), output);
|
fs.writeFileSync(path.join(docsPath,'index.html'), output);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<p style="display: inline-block;"><strong>30 seconds of code</strong> is licensed under the <a href="https://github.com/Chalarangelo/30-seconds-of-code/blob/master/LICENSE">CC0-1.0</a> license.<br/>Icons made by <a href="https://www.flaticon.com/authors/smashicons">Smashicons</a> from <a href="https://www.flaticon.com/">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/">CC 3.0 BY</a>.<br/>Ribbon made by <a href="https://github.com/tholman/github-corners">Tim Holman</a> is licensed by <a href="https://opensource.org/licenses/MIT">The MIT License</a><br/>Built with the <a href="https://minicss.org">mini.css framework</a>.</p>
|
<p style="display: inline-block;"><strong>30 seconds of code</strong> is licensed under the <a href="https://github.com/Chalarangelo/30-seconds-of-code/blob/master/LICENSE">CC0-1.0</a> license.<br/>Icons made by <a href="https://www.flaticon.com/authors/smashicons">Smashicons</a> from <a href="https://www.flaticon.com/">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/">CC 3.0 BY</a>.<br/>Ribbon made by <a href="https://github.com/tholman/github-corners">Tim Holman</a> is licensed by <a href="https://opensource.org/licenses/MIT">The MIT License</a><br/>Built with the <a href="https://minicss.org">mini.css framework</a>.</p>
|
||||||
<a href="#top"><p style="display: inline-block;float: right;padding-right: 2em;">Back to top</p></a>
|
<a href="#top"><span style="display: inline-block;float: right;padding-right: 2em;">Back to top</span></a>
|
||||||
</footer>
|
</footer>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user