From 5a34f2f1bfcc84e7d22d1702773a1be59ed261aa Mon Sep 17 00:00:00 2001 From: Favour Ohans Date: Mon, 12 Aug 2024 14:32:40 +0100 Subject: [PATCH 1/6] redundant commit --- v2/src/css/custom.css | 1 - 1 file changed, 1 deletion(-) diff --git a/v2/src/css/custom.css b/v2/src/css/custom.css index f1affedad..56b87fba4 100644 --- a/v2/src/css/custom.css +++ b/v2/src/css/custom.css @@ -34,7 +34,6 @@ html[data-theme="dark"] .docusaurus-highlight-code-line { } /* custom styles below */ - /* Navbar discord icon*/ .navbar__item_discord>span>svg { display: none; From 59a360bfc30a5dab3d06a4bbab6f84c44867eb15 Mon Sep 17 00:00:00 2001 From: Favour Ohans Date: Mon, 12 Aug 2024 15:18:03 +0100 Subject: [PATCH 2/6] Update @docsearch/react --- v2/package-lock.json | 81 ++++++++++++++++++++++---------------------- v2/package.json | 3 +- v2/yarn.lock | 50 +++++++++++++-------------- 3 files changed, 68 insertions(+), 66 deletions(-) diff --git a/v2/package-lock.json b/v2/package-lock.json index 38a215061..ede8663e0 100644 --- a/v2/package-lock.json +++ b/v2/package-lock.json @@ -8,6 +8,7 @@ "name": "change-me", "version": "0.0.0", "dependencies": { + "@docsearch/react": "^3.0.0", "@docusaurus/core": "2.0.0-beta.3", "@docusaurus/preset-classic": "2.0.0-beta.3", "@mdx-js/react": "^1.6.21", @@ -28,19 +29,19 @@ } }, "node_modules/@algolia/autocomplete-core": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.2.1.tgz", - "integrity": "sha512-/SLS6636Wpl7eFiX7eEy0E3wBo60sUm1qRYybJBDt1fs8reiJ1+OSy+dZgrLBfLL4mSFqRIIUHXbVp25QdZ+iw==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.5.2.tgz", + "integrity": "sha512-DY0bhyczFSS1b/CqJlTE/nQRtnTAHl6IemIkBy0nEWnhDzRDdtdx4p5Uuk3vwAFxwEEgi1WqKwgSSMx6DpNL4A==", "dependencies": { - "@algolia/autocomplete-shared": "1.2.1" + "@algolia/autocomplete-shared": "1.5.2" } }, "node_modules/@algolia/autocomplete-preset-algolia": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.2.1.tgz", - "integrity": "sha512-Lf4PpPVgHNXm1ytrnVdrZYV7hAYSCpAI/TrebF8UC6xflPY6sKb1RL/2OfrO9On7SDjPBtNd+6MArSar5JmK0g==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz", + "integrity": "sha512-3MRYnYQFJyovANzSX2CToS6/5cfVjbLLqFsZTKcvF3abhQzxbqwwaMBlJtt620uBUOeMzhdfasKhCc40+RHiZw==", "dependencies": { - "@algolia/autocomplete-shared": "1.2.1" + "@algolia/autocomplete-shared": "1.5.2" }, "peerDependencies": { "@algolia/client-search": "^4.9.1", @@ -48,9 +49,9 @@ } }, "node_modules/@algolia/autocomplete-shared": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.2.1.tgz", - "integrity": "sha512-RHCwcXAYFwDXTlomstjWRFIzOfyxtQ9KmViacPE5P5hxUSSjkmG3dAb77xdydift1PaZNbho5TNTCi5UZe0RpA==" + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz", + "integrity": "sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug==" }, "node_modules/@algolia/cache-browser-local-storage": { "version": "4.10.3", @@ -1855,18 +1856,18 @@ } }, "node_modules/@docsearch/css": { - "version": "3.0.0-alpha.37", - "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0-alpha.37.tgz", - "integrity": "sha512-EUr2AhvFw+TYPrkfePjDWh3NqpJgpwM8v6n8Mf0rUnL/ThxXKsdamzfBqWCWAh+N1o+eeGqypvy+p8Fp8dZXhQ==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0.tgz", + "integrity": "sha512-1kkV7tkAsiuEd0shunYRByKJe3xQDG2q7wYg24SOw1nV9/2lwEd4WrUYRJC/ukGTl2/kHeFxsaUvtiOy0y6fFA==" }, "node_modules/@docsearch/react": { - "version": "3.0.0-alpha.37", - "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0-alpha.37.tgz", - "integrity": "sha512-W/O3OfL+LLQTlGXrT8/d7ztBYKgZmDWweu9f0O/41zV6Hirzo/qZEWzr25ky8utFUcMwj1pfTHLOp1F9UCtLAQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0.tgz", + "integrity": "sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg==", "dependencies": { - "@algolia/autocomplete-core": "1.2.1", - "@algolia/autocomplete-preset-algolia": "1.2.1", - "@docsearch/css": "3.0.0-alpha.37", + "@algolia/autocomplete-core": "1.5.2", + "@algolia/autocomplete-preset-algolia": "1.5.2", + "@docsearch/css": "3.0.0", "algoliasearch": "^4.0.0" }, "peerDependencies": { @@ -14646,25 +14647,25 @@ }, "dependencies": { "@algolia/autocomplete-core": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.2.1.tgz", - "integrity": "sha512-/SLS6636Wpl7eFiX7eEy0E3wBo60sUm1qRYybJBDt1fs8reiJ1+OSy+dZgrLBfLL4mSFqRIIUHXbVp25QdZ+iw==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.5.2.tgz", + "integrity": "sha512-DY0bhyczFSS1b/CqJlTE/nQRtnTAHl6IemIkBy0nEWnhDzRDdtdx4p5Uuk3vwAFxwEEgi1WqKwgSSMx6DpNL4A==", "requires": { - "@algolia/autocomplete-shared": "1.2.1" + "@algolia/autocomplete-shared": "1.5.2" } }, "@algolia/autocomplete-preset-algolia": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.2.1.tgz", - "integrity": "sha512-Lf4PpPVgHNXm1ytrnVdrZYV7hAYSCpAI/TrebF8UC6xflPY6sKb1RL/2OfrO9On7SDjPBtNd+6MArSar5JmK0g==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz", + "integrity": "sha512-3MRYnYQFJyovANzSX2CToS6/5cfVjbLLqFsZTKcvF3abhQzxbqwwaMBlJtt620uBUOeMzhdfasKhCc40+RHiZw==", "requires": { - "@algolia/autocomplete-shared": "1.2.1" + "@algolia/autocomplete-shared": "1.5.2" } }, "@algolia/autocomplete-shared": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.2.1.tgz", - "integrity": "sha512-RHCwcXAYFwDXTlomstjWRFIzOfyxtQ9KmViacPE5P5hxUSSjkmG3dAb77xdydift1PaZNbho5TNTCi5UZe0RpA==" + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz", + "integrity": "sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug==" }, "@algolia/cache-browser-local-storage": { "version": "4.10.3", @@ -15934,18 +15935,18 @@ } }, "@docsearch/css": { - "version": "3.0.0-alpha.37", - "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0-alpha.37.tgz", - "integrity": "sha512-EUr2AhvFw+TYPrkfePjDWh3NqpJgpwM8v6n8Mf0rUnL/ThxXKsdamzfBqWCWAh+N1o+eeGqypvy+p8Fp8dZXhQ==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0.tgz", + "integrity": "sha512-1kkV7tkAsiuEd0shunYRByKJe3xQDG2q7wYg24SOw1nV9/2lwEd4WrUYRJC/ukGTl2/kHeFxsaUvtiOy0y6fFA==" }, "@docsearch/react": { - "version": "3.0.0-alpha.37", - "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0-alpha.37.tgz", - "integrity": "sha512-W/O3OfL+LLQTlGXrT8/d7ztBYKgZmDWweu9f0O/41zV6Hirzo/qZEWzr25ky8utFUcMwj1pfTHLOp1F9UCtLAQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0.tgz", + "integrity": "sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg==", "requires": { - "@algolia/autocomplete-core": "1.2.1", - "@algolia/autocomplete-preset-algolia": "1.2.1", - "@docsearch/css": "3.0.0-alpha.37", + "@algolia/autocomplete-core": "1.5.2", + "@algolia/autocomplete-preset-algolia": "1.5.2", + "@docsearch/css": "3.0.0", "algoliasearch": "^4.0.0" } }, diff --git a/v2/package.json b/v2/package.json index e8987b0f3..f38c955df 100644 --- a/v2/package.json +++ b/v2/package.json @@ -17,6 +17,7 @@ "set-up-hooks": "cp ../hooks/pre-commit ../.git/hooks/pre-commit && chmod +x ../.git/hooks/pre-commit" }, "dependencies": { + "@docsearch/react": "^3.0.0", "@docusaurus/core": "2.0.0-beta.3", "@docusaurus/preset-classic": "2.0.0-beta.3", "@mdx-js/react": "^1.6.21", @@ -47,4 +48,4 @@ "@types/react": "^16.14.11", "typescript": "4.9.3" } -} \ No newline at end of file +} diff --git a/v2/yarn.lock b/v2/yarn.lock index 5c7767096..85ef43637 100644 --- a/v2/yarn.lock +++ b/v2/yarn.lock @@ -2,24 +2,24 @@ # yarn lockfile v1 -"@algolia/autocomplete-core@1.2.1": - "integrity" "sha512-/SLS6636Wpl7eFiX7eEy0E3wBo60sUm1qRYybJBDt1fs8reiJ1+OSy+dZgrLBfLL4mSFqRIIUHXbVp25QdZ+iw==" - "resolved" "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.2.1.tgz" - "version" "1.2.1" +"@algolia/autocomplete-core@1.5.2": + "integrity" "sha512-DY0bhyczFSS1b/CqJlTE/nQRtnTAHl6IemIkBy0nEWnhDzRDdtdx4p5Uuk3vwAFxwEEgi1WqKwgSSMx6DpNL4A==" + "resolved" "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.5.2.tgz" + "version" "1.5.2" dependencies: - "@algolia/autocomplete-shared" "1.2.1" + "@algolia/autocomplete-shared" "1.5.2" -"@algolia/autocomplete-preset-algolia@1.2.1": - "integrity" "sha512-Lf4PpPVgHNXm1ytrnVdrZYV7hAYSCpAI/TrebF8UC6xflPY6sKb1RL/2OfrO9On7SDjPBtNd+6MArSar5JmK0g==" - "resolved" "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.2.1.tgz" - "version" "1.2.1" +"@algolia/autocomplete-preset-algolia@1.5.2": + "integrity" "sha512-3MRYnYQFJyovANzSX2CToS6/5cfVjbLLqFsZTKcvF3abhQzxbqwwaMBlJtt620uBUOeMzhdfasKhCc40+RHiZw==" + "resolved" "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz" + "version" "1.5.2" dependencies: - "@algolia/autocomplete-shared" "1.2.1" + "@algolia/autocomplete-shared" "1.5.2" -"@algolia/autocomplete-shared@1.2.1": - "integrity" "sha512-RHCwcXAYFwDXTlomstjWRFIzOfyxtQ9KmViacPE5P5hxUSSjkmG3dAb77xdydift1PaZNbho5TNTCi5UZe0RpA==" - "resolved" "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.2.1.tgz" - "version" "1.2.1" +"@algolia/autocomplete-shared@1.5.2": + "integrity" "sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug==" + "resolved" "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz" + "version" "1.5.2" "@algolia/cache-browser-local-storage@4.10.3": "integrity" "sha512-TD1N7zg5lb56/PLjjD4bBl2eccEvVHhC7yfgFu2r9k5tf+gvbGxEZ3NhRZVKu2MObUIcEy2VR4LVLxOQu45Hlg==" @@ -1145,19 +1145,19 @@ "@babel/helper-validator-identifier" "^7.14.5" "to-fast-properties" "^2.0.0" -"@docsearch/css@3.0.0-alpha.37": - "integrity" "sha512-EUr2AhvFw+TYPrkfePjDWh3NqpJgpwM8v6n8Mf0rUnL/ThxXKsdamzfBqWCWAh+N1o+eeGqypvy+p8Fp8dZXhQ==" - "resolved" "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0-alpha.37.tgz" - "version" "3.0.0-alpha.37" +"@docsearch/css@3.0.0": + "integrity" "sha512-1kkV7tkAsiuEd0shunYRByKJe3xQDG2q7wYg24SOw1nV9/2lwEd4WrUYRJC/ukGTl2/kHeFxsaUvtiOy0y6fFA==" + "resolved" "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0.tgz" + "version" "3.0.0" -"@docsearch/react@^3.0.0-alpha.36": - "integrity" "sha512-W/O3OfL+LLQTlGXrT8/d7ztBYKgZmDWweu9f0O/41zV6Hirzo/qZEWzr25ky8utFUcMwj1pfTHLOp1F9UCtLAQ==" - "resolved" "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0-alpha.37.tgz" - "version" "3.0.0-alpha.37" +"@docsearch/react@^3.0.0", "@docsearch/react@^3.0.0-alpha.36": + "integrity" "sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg==" + "resolved" "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0.tgz" + "version" "3.0.0" dependencies: - "@algolia/autocomplete-core" "1.2.1" - "@algolia/autocomplete-preset-algolia" "1.2.1" - "@docsearch/css" "3.0.0-alpha.37" + "@algolia/autocomplete-core" "1.5.2" + "@algolia/autocomplete-preset-algolia" "1.5.2" + "@docsearch/css" "3.0.0" "algoliasearch" "^4.0.0" "@docusaurus/core@2.0.0-beta.3": From 2fb1b37192df8c7d60b06140f8bf8b309a107912 Mon Sep 17 00:00:00 2001 From: Favour Ohans Date: Mon, 12 Aug 2024 15:19:05 +0100 Subject: [PATCH 3/6] undo redundant commit --- v2/src/css/custom.css | 1 + 1 file changed, 1 insertion(+) diff --git a/v2/src/css/custom.css b/v2/src/css/custom.css index 56b87fba4..f1affedad 100644 --- a/v2/src/css/custom.css +++ b/v2/src/css/custom.css @@ -34,6 +34,7 @@ html[data-theme="dark"] .docusaurus-highlight-code-line { } /* custom styles below */ + /* Navbar discord icon*/ .navbar__item_discord>span>svg { display: none; From 615ded6eb3f2a0277531e5229567c2f1869e66fe Mon Sep 17 00:00:00 2001 From: Favour Ohans Date: Mon, 12 Aug 2024 15:21:48 +0100 Subject: [PATCH 4/6] Redundant commit --- v2/src/css/custom.css | 1 - 1 file changed, 1 deletion(-) diff --git a/v2/src/css/custom.css b/v2/src/css/custom.css index f1affedad..a9a58eb6b 100644 --- a/v2/src/css/custom.css +++ b/v2/src/css/custom.css @@ -32,7 +32,6 @@ html[data-theme="dark"] .docusaurus-highlight-code-line { background-color: rgba(0, 0, 0, 0.3); } - /* custom styles below */ /* Navbar discord icon*/ From 568447e4d498640a9c6335a0aba65c8f5845afd3 Mon Sep 17 00:00:00 2001 From: Favour Ohans Date: Mon, 12 Aug 2024 15:24:59 +0100 Subject: [PATCH 5/6] trigger tests --- v2/src/css/custom.css | 1 + v2/src/theme/SearchBar/index.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/v2/src/css/custom.css b/v2/src/css/custom.css index a9a58eb6b..f1affedad 100644 --- a/v2/src/css/custom.css +++ b/v2/src/css/custom.css @@ -32,6 +32,7 @@ html[data-theme="dark"] .docusaurus-highlight-code-line { background-color: rgba(0, 0, 0, 0.3); } + /* custom styles below */ /* Navbar discord icon*/ diff --git a/v2/src/theme/SearchBar/index.js b/v2/src/theme/SearchBar/index.js index 36cc0cdef..cfc559791 100644 --- a/v2/src/theme/SearchBar/index.js +++ b/v2/src/theme/SearchBar/index.js @@ -22,6 +22,8 @@ import { useActiveDocContext, } from '@theme/hooks/useDocs'; +// trigger tests + let DocSearchModal = null; function Hit({ hit, children }) { From b4ba6e6ec2f563555dc359ea09211ae01f1e0df4 Mon Sep 17 00:00:00 2001 From: Favour Ohans Date: Mon, 12 Aug 2024 15:26:00 +0100 Subject: [PATCH 6/6] rc --- v2/src/theme/SearchBar/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/v2/src/theme/SearchBar/index.js b/v2/src/theme/SearchBar/index.js index cfc559791..bda8e5428 100644 --- a/v2/src/theme/SearchBar/index.js +++ b/v2/src/theme/SearchBar/index.js @@ -22,7 +22,6 @@ import { useActiveDocContext, } from '@theme/hooks/useDocs'; -// trigger tests let DocSearchModal = null;