diff --git a/src/docs/_assets/stylesheets/extra.css b/src/docs/_assets/stylesheets/extra.css index 72219e13..df7ada66 100644 --- a/src/docs/_assets/stylesheets/extra.css +++ b/src/docs/_assets/stylesheets/extra.css @@ -3,7 +3,8 @@ :root { /* Visual configuration of the `` and `` code */ /* The Prism theme CSS file, for options see: https://unpkg.com/browse/prismjs/themes/ */ - --docoff-code-prism-css: https://unpkg.com/prismjs@1.29/themes/prism-twilight.min.css; + /* Beware of the double dot in `29..0` - it does not work without it… */ + --docoff-code-prism-css: https://unpkg.com/prismjs@1.29..0/themes/prism-twilight.min.css; --docoff-code-font-size: 0.7rem; --docoff-code-line-height: 1.5; --docoff-code-font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; diff --git a/src/docs/_overrides/main.html b/src/docs/_overrides/main.html index cbbd8f75..758759fa 100644 --- a/src/docs/_overrides/main.html +++ b/src/docs/_overrides/main.html @@ -1,18 +1,27 @@ {% extends "base.html" %} {% block libs %} - - - + + - + + +{% endblock %} +{% block scripts %} + + + + - - - + + + + + + {% endblock %} diff --git a/webpack.config.babel.js b/webpack.config.babel.js index 64d97525..4821bf17 100644 --- a/webpack.config.babel.js +++ b/webpack.config.babel.js @@ -94,8 +94,8 @@ module.exports = (env, argv) => ({ }), new VisualizerPlugin({ filename: argv.mode === 'production' - ? Path.join(__dirname, 'lib-stats.html') - : Path.join(__dirname, 'lib-stats.development.html'), + ? 'lib-stats.html' + : 'lib-stats.development.html', }), ], resolve: {