2021-08-04 21:51:15 +00:00
|
|
|
--- a/package.json
|
|
|
|
+++ b/package.json
|
2021-09-14 15:46:33 +00:00
|
|
|
@@ -25,7 +25,6 @@
|
|
|
|
"css-loader": "^3.6.0",
|
2020-12-10 16:22:34 +00:00
|
|
|
"file-loader": "^3.0.1",
|
|
|
|
"font-awesome": "^4.7.0",
|
|
|
|
- "html5shiv": "^3.7.3",
|
|
|
|
"imports-loader": "^0.8.0",
|
2021-09-14 15:46:33 +00:00
|
|
|
"jquery": "^3.6.0",
|
2020-12-10 16:22:34 +00:00
|
|
|
"lato-font": "^3.0.0",
|
2021-08-04 21:51:15 +00:00
|
|
|
--- a/package-lock.json
|
|
|
|
+++ b/package-lock.json
|
2022-11-09 16:12:31 +00:00
|
|
|
@@ -3314,12 +3314,6 @@
|
2021-09-14 15:46:33 +00:00
|
|
|
"integrity": "sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==",
|
2020-12-10 16:22:34 +00:00
|
|
|
"dev": true
|
|
|
|
},
|
|
|
|
- "html5shiv": {
|
|
|
|
- "version": "3.7.3",
|
|
|
|
- "resolved": "https://registry.npmjs.org/html5shiv/-/html5shiv-3.7.3.tgz",
|
2022-11-09 16:12:31 +00:00
|
|
|
- "integrity": "sha512-SZwGvLGNtgp8GbgFX7oXEp8OR1aBt5LliX6dG0kdD1kl3KhMonN0QcSa/A3TsTgFewaGCbIryQunjayWDXzxmw==",
|
2020-12-10 16:22:34 +00:00
|
|
|
- "dev": true
|
|
|
|
- },
|
|
|
|
"http-deceiver": {
|
|
|
|
"version": "1.2.7",
|
|
|
|
"resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz",
|
2021-08-04 21:51:15 +00:00
|
|
|
--- a/sphinx_rtd_theme/layout.html
|
|
|
|
+++ b/sphinx_rtd_theme/layout.html
|
2021-09-14 15:46:33 +00:00
|
|
|
@@ -61,9 +61,6 @@
|
2020-12-10 16:22:34 +00:00
|
|
|
|
2021-09-14 15:46:33 +00:00
|
|
|
{#- JAVASCRIPTS #}
|
2020-12-10 16:22:34 +00:00
|
|
|
{%- block scripts %}
|
|
|
|
- <!--[if lt IE 9]>
|
|
|
|
- <script src="{{ pathto('_static/js/html5shiv.min.js', 1) }}"></script>
|
|
|
|
- <![endif]-->
|
|
|
|
{%- if not embedded %}
|
|
|
|
{# XXX Sphinx 1.8.0 made this an external js-file, quick fix until we refactor the template to inherert more blocks directly from sphinx #}
|
2021-09-14 15:46:33 +00:00
|
|
|
{%- if sphinx_version_info >= (1, 8) -%}
|
2021-08-04 21:51:15 +00:00
|
|
|
--- a/webpack.common.js
|
|
|
|
+++ b/webpack.common.js
|
2020-12-10 16:22:34 +00:00
|
|
|
@@ -1,6 +1,5 @@
|
|
|
|
const path = require("path");
|
|
|
|
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
|
|
|
-const CopyPlugin = require('copy-webpack-plugin');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: {
|
|
|
|
@@ -66,11 +65,5 @@ module.exports = {
|
|
|
|
filename: "css/[name].css?[hash]",
|
|
|
|
chunkFilename: "css/[name].css?[hash]"
|
|
|
|
}),
|
|
|
|
- new CopyPlugin([
|
|
|
|
- {
|
|
|
|
- from: 'node_modules/html5shiv/dist/*.min.js',
|
|
|
|
- flatten: true,
|
|
|
|
- to: path.resolve(__dirname,'sphinx_rtd_theme/static/js') },
|
|
|
|
- ]),
|
|
|
|
]
|
|
|
|
};
|