From 7408d5207f71a450730883dfeeedb20788658dce Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Thu, 29 Sep 2022 11:05:10 +0100 Subject: [PATCH] Fix docs deployment (#2432) --- .github/workflows/deploy-docs.yml | 1 + Makefile | 1 + docs/package-lock.json | 15 --------------- docs/package.json | 2 -- 4 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index ffbaaf99cd1..3a7866038d0 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -2,6 +2,7 @@ name: Deploy docs # This job builds and deploys documenation to github pages. # It runs on every push to main with a change in the docs folder. on: + workflow_dispatch: push: branches: - main diff --git a/Makefile b/Makefile index efd9fc2ba78..a92b39e0c52 100644 --- a/Makefile +++ b/Makefile @@ -203,6 +203,7 @@ build-docs: mkdir -p ~/output/$${path_prefix} ; \ cp -r .vuepress/dist/* ~/output/$${path_prefix}/ ; \ cp ~/output/$${path_prefix}/index.html ~/output ; \ + cp ~/output/$${path_prefix}/404.html ~/output ; \ done < versions ; view-docs: diff --git a/docs/package-lock.json b/docs/package-lock.json index 0c725a78b51..cd77a546287 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -9,8 +9,6 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "eventsource": "^2.0.2", - "vue": "^2.6.14", "vuepress-theme-cosmos": "^1.0.183" } }, @@ -6254,14 +6252,6 @@ "node": ">=0.8.x" } }, - "node_modules/eventsource": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-2.0.2.tgz", - "integrity": "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==", - "engines": { - "node": ">=12.0.0" - } - }, "node_modules/evp_bytestokey": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", @@ -19106,11 +19096,6 @@ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" }, - "eventsource": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-2.0.2.tgz", - "integrity": "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==" - }, "evp_bytestokey": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", diff --git a/docs/package.json b/docs/package.json index 7b79f574a22..89dfa64033f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -13,8 +13,6 @@ "author": "", "license": "ISC", "dependencies": { - "eventsource": "^2.0.2", - "vue": "^2.6.14", "vuepress-theme-cosmos": "^1.0.183" } }