From 5fdd3e4dbb221619cc99470128c3d449c8ed25e4 Mon Sep 17 00:00:00 2001 From: Lavanya Kasturi Date: Fri, 28 Jul 2023 09:44:23 -0700 Subject: [PATCH 01/18] Added Algolia configuration to docs --- docusaurus.config.js | 24 ++++++++++++++++++++++++ package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 30 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index e9e283f0e..3b98e45b8 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -604,6 +604,30 @@ module.exports = { darkTheme: darkCodeTheme, additionalLanguages: ['toml'], }, + //Algolio docsearch support + algolia: { + // The application ID provided by Algolia + appId: "WS3KPDA1LJ", + + // Public API key: it is safe to commit it + apiKey: "e2a20acb668b5f3ecb3adc611ee4e6e5", + + indexName: "netlify_d6cb4f8e-1222-4919-9d0b-53db3e321fc2_main_all", + + // Optional: see doc section below + contextualSearch: true, + + // Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them. + //externalUrlRegex: 'external\\.com|domain\\.com', + + // Optional: Algolia search parameters + //searchParameters: {}, + + // Optional: path for search page that enabled by default (`false` to disable it) + searchPagePath: "search", + + //... other Algolia params + }, segment: { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', }, diff --git a/package.json b/package.json index 716c6dee6..7bbe94097 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "@docusaurus/preset-classic": "^2.4.1", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^6.3.1", + "algolia": "^0.0.0", "clsx": "^1.1.1", "docusaurus-plugin-remote-content": "^3.1.0", "docusaurus-plugin-segment": "^1.0.3", diff --git a/yarn.lock b/yarn.lock index d0bd9a49e..e860ef8ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2920,6 +2920,11 @@ ajv@^8.0.0, ajv@^8.9.0: require-from-string "^2.0.2" uri-js "^4.2.2" +algolia@^0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/algolia/-/algolia-0.0.0.tgz#82a479264023926bce249d25f2563dd9faf8d88e" + integrity sha512-RCZAbrF6MoR9+qH2SYZDW1A0Mk2k4xOO1Jq5c/lcrgPXsAUOzMZotBlPN5ZbJifPmmQLTCE5ZL27z6cuuBFSBQ== + algoliasearch-helper@^3.10.0: version "3.13.3" resolved "https://registry.yarnpkg.com/algoliasearch-helper/-/algoliasearch-helper-3.13.3.tgz#d23341fb88f490c9b2b83fc2362d1551d52117b6" From ea59fca4f1be36def7b9202ac36295b2e5264d9c Mon Sep 17 00:00:00 2001 From: Lavanya Kasturi Date: Fri, 28 Jul 2023 11:59:06 -0700 Subject: [PATCH 02/18] updated index to use the same branch --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 3b98e45b8..ab8fc6243 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -612,7 +612,7 @@ module.exports = { // Public API key: it is safe to commit it apiKey: "e2a20acb668b5f3ecb3adc611ee4e6e5", - indexName: "netlify_d6cb4f8e-1222-4919-9d0b-53db3e321fc2_main_all", + indexName: "netlify_d6cb4f8e-1222-4919-9d0b-53db3e321fc2_algolia-implementation_all", // Optional: see doc section below contextualSearch: true, From 6a38a1c0e34c8bd55003ae596e130ac9adabe4fc Mon Sep 17 00:00:00 2001 From: Dean Chi <21262275+deantchi@users.noreply.github.com> Date: Tue, 1 Aug 2023 12:16:00 -0700 Subject: [PATCH 03/18] set crawler to hierarchical schema --- netlify.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/netlify.toml b/netlify.toml index 5cf4cd1e9..b4e37c6d4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,3 +6,4 @@ package = "@algolia/netlify-plugin-crawler" pathPrefix = "/docs" customDomain = "hiro.so" renderJavaScript = true + template = "hierarchical" From d720ec0f91507a1e1f72aafb15070c0bfe6c701f Mon Sep 17 00:00:00 2001 From: Dean Chi <21262275+deantchi@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:49:58 -0700 Subject: [PATCH 04/18] add hostnamealias --- docusaurus.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index ab8fc6243..2bddc4885 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -631,5 +631,8 @@ module.exports = { segment: { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', }, + hostnameAliases: { + 'https://docs.hiro.so': 'docs.hiro.so' + }, }), }; From 962156c138019dafaae3d7eb0d87458b7927ac0c Mon Sep 17 00:00:00 2001 From: Lavanya Kasturi Date: Tue, 8 Aug 2023 16:52:20 -0500 Subject: [PATCH 05/18] Fixed chainhook doc names to match the remote --- docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 4953bb7d4..0311c4561 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -202,8 +202,8 @@ module.exports = { documents: [ 'how-to-run-chainhook-as-a-service-using-bitcoind.md', 'how-to-run-chainhook-as-a-service-using-stacks.md', - 'how-to-use-chainhook-with-bitcoin.md', - 'how-to-use-chainhook-with-stacks.md', + 'how-to-use-chainhooks-with-bitcoin.md', + 'how-to-use-chainhooks-with-stacks.md', ], }, ], From 62655a828dbe32d208dc9e323273996bdfe50915 Mon Sep 17 00:00:00 2001 From: Lavanya Kasturi Date: Tue, 8 Aug 2023 16:54:51 -0500 Subject: [PATCH 06/18] Updated sidebar.js --- sidebars.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sidebars.js b/sidebars.js index 3bdcfc488..7eea0c547 100644 --- a/sidebars.js +++ b/sidebars.js @@ -24,8 +24,8 @@ module.exports = { items: [ 'chainhook/how-to-guides/how-to-run-chainhook-as-a-service-using-bitcoind', 'chainhook/how-to-guides/how-to-run-chainhook-as-a-service-using-stacks', - 'chainhook/how-to-guides/how-to-use-chainhook-with-bitcoin', - 'chainhook/how-to-guides/how-to-use-chainhook-with-stacks', + 'chainhook/how-to-guides/how-to-use-chainhooks-with-bitcoin', + 'chainhook/how-to-guides/how-to-use-chainhooks-with-stacks', ], }, 'chainhook/faq', From f1e08bff93f5f08f319887f8bc656fef6e4fd433 Mon Sep 17 00:00:00 2001 From: Dean Chi <21262275+deantchi@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:41:33 -0700 Subject: [PATCH 07/18] add replacement pattern for platform --- .github/mlc_config.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/mlc_config.json b/.github/mlc_config.json index f7e34596d..8ac0071ee 100644 --- a/.github/mlc_config.json +++ b/.github/mlc_config.json @@ -29,6 +29,10 @@ { "pattern": "^/", "replacement": "https://docs.hiro.so/" + }, + { + "pattern": "https://platform.hiro.so/projects", + "replacement": "https://platform.hiro.so" } ], "timeout": "10s", From d721639de48aebae16a406e1177243d6db07f7b7 Mon Sep 17 00:00:00 2001 From: Dean Chi <21262275+deantchi@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:46:58 -0700 Subject: [PATCH 08/18] revert --- .github/mlc_config.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/mlc_config.json b/.github/mlc_config.json index 8ac0071ee..f7e34596d 100644 --- a/.github/mlc_config.json +++ b/.github/mlc_config.json @@ -29,10 +29,6 @@ { "pattern": "^/", "replacement": "https://docs.hiro.so/" - }, - { - "pattern": "https://platform.hiro.so/projects", - "replacement": "https://platform.hiro.so" } ], "timeout": "10s", From ecf62d2cc92149edb5227cf3aae64a0422d87d92 Mon Sep 17 00:00:00 2001 From: Dean Chi <21262275+deantchi@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:05:49 -0700 Subject: [PATCH 09/18] update hostnamealias to netlify's --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 50b3b3762..7bb04ba36 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -655,7 +655,7 @@ module.exports = { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', }, hostnameAliases: { - 'https://docs.hiro.so': 'docs.hiro.so' + 'https://docs.hiro.so': 'https://deploy-preview-427--docs-hiro.netlify.app' }, }), }; From ba8e58b91f0f15bfe4b52adc943cf203a6218b31 Mon Sep 17 00:00:00 2001 From: Dean Chi <21262275+deantchi@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:21:26 -0700 Subject: [PATCH 10/18] flip alias around --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 7bb04ba36..3efb89b66 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -655,7 +655,7 @@ module.exports = { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', }, hostnameAliases: { - 'https://docs.hiro.so': 'https://deploy-preview-427--docs-hiro.netlify.app' + 'https://deploy-preview-427--docs-hiro.netlify.app' : 'https://docs.hiro.so' }, }), }; From cb059dbfc1b82b7cbad088fb0cb4d15e0870ff94 Mon Sep 17 00:00:00 2001 From: Dean Chi <21262275+deantchi@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:22:03 -0700 Subject: [PATCH 11/18] rm extra space --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 3efb89b66..795223a28 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -655,7 +655,7 @@ module.exports = { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', }, hostnameAliases: { - 'https://deploy-preview-427--docs-hiro.netlify.app' : 'https://docs.hiro.so' + 'https://deploy-preview-427--docs-hiro.netlify.app': 'https://docs.hiro.so' }, }), }; From a97e30038f641352048204539cebdee4e8106f17 Mon Sep 17 00:00:00 2001 From: Lavanya Kasturi Date: Tue, 15 Aug 2023 14:16:44 -0500 Subject: [PATCH 12/18] Updated algolia config details --- docusaurus.config.js | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 795223a28..d720d22ca 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -630,26 +630,14 @@ module.exports = { //Algolio docsearch support algolia: { // The application ID provided by Algolia - appId: "WS3KPDA1LJ", + appId: UL2NZRAK8K, // Public API key: it is safe to commit it - apiKey: "e2a20acb668b5f3ecb3adc611ee4e6e5", + apiKey: "2b7f4af4606380e8e9d4a39aa9a4237f", - indexName: "netlify_d6cb4f8e-1222-4919-9d0b-53db3e321fc2_algolia-implementation_all", - - // Optional: see doc section below + indexName: "hiro", contextualSearch: true, - - // Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them. - //externalUrlRegex: 'external\\.com|domain\\.com', - - // Optional: Algolia search parameters - //searchParameters: {}, - - // Optional: path for search page that enabled by default (`false` to disable it) searchPagePath: "search", - - //... other Algolia params }, segment: { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', From c42550525a2b9ba0f20ed647ef984f2e24878eca Mon Sep 17 00:00:00 2001 From: Lavanya Kasturi Date: Tue, 15 Aug 2023 14:22:16 -0500 Subject: [PATCH 13/18] Added docsearch packages --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7bbe94097..de91bab12 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ }, "dependencies": { "@cmfcmf/docusaurus-search-local": "^0.11.0", + "@docsearch/js": "3", "@docusaurus/core": "^2.4.1", "@docusaurus/module-type-aliases": "^2.4.1", "@docusaurus/preset-classic": "^2.4.1", From ad6ce0f1dfec5636bed15fd38e1b80fff02733f8 Mon Sep 17 00:00:00 2001 From: janniks Date: Thu, 31 Aug 2023 16:37:43 +0200 Subject: [PATCH 14/18] chore: update config --- docusaurus.config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index a3551b6e8..e2bfeac15 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -636,20 +636,20 @@ module.exports = { //Algolio docsearch support algolia: { // The application ID provided by Algolia - appId: UL2NZRAK8K, + appId: 'UL2NZRAK8K', // Public API key: it is safe to commit it - apiKey: "2b7f4af4606380e8e9d4a39aa9a4237f", + apiKey: '2b7f4af4606380e8e9d4a39aa9a4237f', - indexName: "hiro", + indexName: 'hiro', contextualSearch: true, - searchPagePath: "search", + searchPagePath: 'search', }, segment: { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', }, hostnameAliases: { - 'https://deploy-preview-427--docs-hiro.netlify.app': 'https://docs.hiro.so' + 'https://deploy-preview-427--docs-hiro.netlify.app': 'https://docs.hiro.so', }, }), }; From 2f2bd4c4d8e4b75932b6e0122e38bd7681f75852 Mon Sep 17 00:00:00 2001 From: janniks Date: Thu, 31 Aug 2023 16:38:04 +0200 Subject: [PATCH 15/18] chore: remove netlify file --- netlify.toml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index b4e37c6d4..000000000 --- a/netlify.toml +++ /dev/null @@ -1,9 +0,0 @@ -[[plugins]] -package = "@algolia/netlify-plugin-crawler" - [plugins.inputs] - branches = ['*'] - disabled = false - pathPrefix = "/docs" - customDomain = "hiro.so" - renderJavaScript = true - template = "hierarchical" From 38b5bb2fdf9d220fda0ab270dc317b8b1f8f5ead Mon Sep 17 00:00:00 2001 From: janniks Date: Thu, 31 Aug 2023 16:45:01 +0200 Subject: [PATCH 16/18] chore: remove local search plugin --- .gitignore | 1 + docusaurus.config.js | 3 +- package.json | 1 - yarn.lock | 104 +++++++++++++------------------------------ 4 files changed, 32 insertions(+), 77 deletions(-) diff --git a/.gitignore b/.gitignore index b84e4f934..53b716a3d 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ docs/architecture.png docs/flowchart.png docs/subnets/ docs/chainhook/ +docs/ordinals-api/ diff --git a/docusaurus.config.js b/docusaurus.config.js index e2bfeac15..1c5811891 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -16,7 +16,6 @@ module.exports = { trailingSlash: false, plugins: [ - require.resolve('@cmfcmf/docusaurus-search-local'), require.resolve('docusaurus-plugin-segment'), ['./src/_plugins/google-tag-manager', { id: 'GTM-59XXGSG' }], [ @@ -633,7 +632,7 @@ module.exports = { darkTheme: darkCodeTheme, additionalLanguages: ['toml'], }, - //Algolio docsearch support + // Algolio DocSearch algolia: { // The application ID provided by Algolia appId: 'UL2NZRAK8K', diff --git a/package.json b/package.json index 072c0b945..eb67dd1fe 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "write-translations": "docusaurus write-translations" }, "dependencies": { - "@cmfcmf/docusaurus-search-local": "^0.11.0", "@docsearch/js": "3", "@docusaurus/core": "^2.4.1", "@docusaurus/module-type-aliases": "^2.4.1", diff --git a/yarn.lock b/yarn.lock index 2ea4a4384..77e59de4c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,14 +2,6 @@ # yarn lockfile v1 -"@algolia/autocomplete-core@1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.10.0.tgz#d9c7435e90993852e9aa159df7ed84d4342656cc" - integrity sha512-zaQ4ZOtGkeUvDGObZvaULuZmU4kAcVu/Wm9EP6Vzij5wQ98FAKz1uHn2EPiCI0aFIoUfZi/WhJvn5l6qVBdYEA== - dependencies: - "@algolia/autocomplete-plugin-algolia-insights" "1.10.0" - "@algolia/autocomplete-shared" "1.10.0" - "@algolia/autocomplete-core@1.9.3": version "1.9.3" resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.9.3.tgz#1d56482a768c33aae0868c8533049e02e8961be7" @@ -18,24 +10,6 @@ "@algolia/autocomplete-plugin-algolia-insights" "1.9.3" "@algolia/autocomplete-shared" "1.9.3" -"@algolia/autocomplete-js@^1.5.1": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-js/-/autocomplete-js-1.10.0.tgz#25fb429ee0883e525e19f7d116ce6a609a330265" - integrity sha512-PpDNZs6/H5u9yOvpZ1HWb5Uf40zXOGCmhjDEfODQ6Q506hxAKhquxNLI+o8Chgda4bvRai1gGfFdZ5RSr0oHbA== - dependencies: - "@algolia/autocomplete-core" "1.10.0" - "@algolia/autocomplete-preset-algolia" "1.10.0" - "@algolia/autocomplete-shared" "1.10.0" - htm "^3.1.1" - preact "^10.13.2" - -"@algolia/autocomplete-plugin-algolia-insights@1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-plugin-algolia-insights/-/autocomplete-plugin-algolia-insights-1.10.0.tgz#1c5ba934c166cba1de9a04c5777f8346dd929379" - integrity sha512-mXKrO9gBIgjLHKfIN9aGqdMfWEXlk+ttiR1mgXrUtyMp6IKhZiXoNpvG2Xg2SiQakmZOtxagut3Wq1DpdwCq6Q== - dependencies: - "@algolia/autocomplete-shared" "1.10.0" - "@algolia/autocomplete-plugin-algolia-insights@1.9.3": version "1.9.3" resolved "https://registry.yarnpkg.com/@algolia/autocomplete-plugin-algolia-insights/-/autocomplete-plugin-algolia-insights-1.9.3.tgz#9b7f8641052c8ead6d66c1623d444cbe19dde587" @@ -43,13 +17,6 @@ dependencies: "@algolia/autocomplete-shared" "1.9.3" -"@algolia/autocomplete-preset-algolia@1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.10.0.tgz#3ffd96441f3153d59e7aaaa52dbb6e78765cac0e" - integrity sha512-CABQm+VJvuwl5XeVYbPISc8OAac7+nX+yDzG0nJRsSd64IeI6e/Jxrg13quxpTvOe7JZXYdW1y1kV7srPuFpmA== - dependencies: - "@algolia/autocomplete-shared" "1.10.0" - "@algolia/autocomplete-preset-algolia@1.9.3": version "1.9.3" resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.9.3.tgz#64cca4a4304cfcad2cf730e83067e0c1b2f485da" @@ -57,21 +24,11 @@ dependencies: "@algolia/autocomplete-shared" "1.9.3" -"@algolia/autocomplete-shared@1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.10.0.tgz#3f068563c8e7c3ac369893da48a77a79408ca889" - integrity sha512-JKZGomjcUeKKtkymeZuWjKNIJU7UzuaCN3/eKlpOXxmvWCd5aJrVTDgbOm0pOjv0Ef9xVzIZx9cS/GL1Snxo1g== - "@algolia/autocomplete-shared@1.9.3": version "1.9.3" resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.9.3.tgz#2e22e830d36f0a9cf2c0ccd3c7f6d59435b77dfa" integrity sha512-Wnm9E4Ye6Rl6sTTqjoymD+l8DjSTHsHboVRYrKgEt8Q7UHm9nYbqhN/i0fhUYA3OAEH7WA8x3jfpnmJm3rKvaQ== -"@algolia/autocomplete-theme-classic@^1.5.1": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-theme-classic/-/autocomplete-theme-classic-1.10.0.tgz#f3e9c38920d73b6f0d4a7236f9404540e733c031" - integrity sha512-YiKqXxWoQdbcxHnC9TK2PSoEHQtlqfnhBnbfejjS3U//5ASLvkF/rAcSFGfcZUzo8IvDKA/oYgK1CDQJ3+lMMQ== - "@algolia/cache-browser-local-storage@4.19.1": version "4.19.1" resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.19.1.tgz#d29f42775ed4d117182897ac164519c593faf399" @@ -127,7 +84,7 @@ "@algolia/requester-common" "4.19.1" "@algolia/transporter" "4.19.1" -"@algolia/client-search@4.19.1", "@algolia/client-search@^4.12.0": +"@algolia/client-search@4.19.1": version "4.19.1" resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.19.1.tgz#5e54601aa5f5cea790cec3f2cde4af9d6403871e" integrity sha512-mBecfMFS4N+yK/p0ZbK53vrZbL6OtWMk8YmnOv1i0LXx4pelY8TFhqKoTit3NPVPwoSNN0vdSN9dTu1xr1XOVw== @@ -1272,20 +1229,6 @@ "@babel/helper-validator-identifier" "^7.22.5" to-fast-properties "^2.0.0" -"@cmfcmf/docusaurus-search-local@^0.11.0": - version "0.11.0" - resolved "https://registry.yarnpkg.com/@cmfcmf/docusaurus-search-local/-/docusaurus-search-local-0.11.0.tgz#95ebb004a51c3e09b9ec76a39b8062510920e1ac" - integrity sha512-UzJ0G7JfrhuXJ9h79vforQZs05C5rWhXqrK7C5ie1ImHLTC4RPW7FHagIpZULhcA2PbDkc4ewnWVIufLKq+KzA== - dependencies: - "@algolia/autocomplete-js" "^1.5.1" - "@algolia/autocomplete-theme-classic" "^1.5.1" - "@algolia/client-search" "^4.12.0" - algoliasearch "^4.12.0" - cheerio "^1.0.0-rc.9" - clsx "^1.1.1" - lunr-languages "^1.4.0" - mark.js "^8.11.1" - "@colors/colors@1.5.0": version "1.5.0" resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" @@ -1310,6 +1253,29 @@ resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.5.1.tgz#4adf9884735bbfea621c3716e80ea97baa419b73" integrity sha512-2Pu9HDg/uP/IT10rbQ+4OrTQuxIWdKVUEdcw9/w7kZJv9NeHS6skJx1xuRiFyoGKwAzcHXnLp7csE99sj+O1YA== +"@docsearch/css@3.5.2": + version "3.5.2" + resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.5.2.tgz#610f47b48814ca94041df969d9fcc47b91fc5aac" + integrity sha512-SPiDHaWKQZpwR2siD0KQUwlStvIAnEyK6tAE2h2Wuoq8ue9skzhlyVQ1ddzOxX6khULnAALDiR/isSF3bnuciA== + +"@docsearch/js@3": + version "3.5.2" + resolved "https://registry.yarnpkg.com/@docsearch/js/-/js-3.5.2.tgz#a11cb2e7e62890e9e940283fed6972ecf632629d" + integrity sha512-p1YFTCDflk8ieHgFJYfmyHBki1D61+U9idwrLh+GQQMrBSP3DLGKpy0XUJtPjAOPltcVbqsTjiPFfH7JImjUNg== + dependencies: + "@docsearch/react" "3.5.2" + preact "^10.0.0" + +"@docsearch/react@3.5.2": + version "3.5.2" + resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.5.2.tgz#2e6bbee00eb67333b64906352734da6aef1232b9" + integrity sha512-9Ahcrs5z2jq/DcAvYtvlqEBHImbm4YJI8M9y0x6Tqg598P40HTEkX7hsMcIuThI+hTFxRGZ9hll0Wygm2yEjng== + dependencies: + "@algolia/autocomplete-core" "1.9.3" + "@algolia/autocomplete-preset-algolia" "1.9.3" + "@docsearch/css" "3.5.2" + algoliasearch "^4.19.1" + "@docsearch/react@^3.1.1": version "3.5.1" resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.5.1.tgz#35f4a75f948211d8bb6830d2147c575f96a85274" @@ -2988,7 +2954,7 @@ algoliasearch-helper@^3.10.0: dependencies: "@algolia/events" "^4.0.1" -algoliasearch@^4.0.0, algoliasearch@^4.12.0, algoliasearch@^4.13.1: +algoliasearch@^4.0.0, algoliasearch@^4.13.1, algoliasearch@^4.19.1: version "4.19.1" resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.19.1.tgz#18111fb422eaf841737adb92d5ab12133d244218" integrity sha512-IJF5b93b2MgAzcE/tuzW0yOPnuUyRgGAtaPv5UUywXM8kzqfdwZTO4sPJBzoGz1eOy6H9uEchsJsBFTELZSu+g== @@ -3733,7 +3699,7 @@ cheerio@^0.22.0: lodash.reject "^4.4.0" lodash.some "^4.4.0" -cheerio@^1.0.0-rc.12, cheerio@^1.0.0-rc.9: +cheerio@^1.0.0-rc.12: version "1.0.0-rc.12" resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.12.tgz#788bf7466506b1c6bf5fae51d24a2c4d62e47683" integrity sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q== @@ -5860,11 +5826,6 @@ hpack.js@^2.1.6: readable-stream "^2.0.1" wbuf "^1.1.0" -htm@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/htm/-/htm-3.1.1.tgz#49266582be0dc66ed2235d5ea892307cc0c24b78" - integrity sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ== - html-entities@^2.3.2: version "2.4.0" resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.4.0.tgz#edd0cee70402584c8c76cc2c0556db09d1f45061" @@ -6897,11 +6858,6 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -lunr-languages@^1.4.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/lunr-languages/-/lunr-languages-1.12.0.tgz#c44d8f2127054a55c62e1aebe0b1eaea6dfc1d91" - integrity sha512-C2z02jt74ymrDocBwxYB4Cr1LNZj9rHGLTH/00+JuoT6eJOSSuPBzeqQG8kjnlPUQe+/PAWv1/KHbDT+YYYRnA== - lunr@^2.3.9: version "2.3.9" resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" @@ -8248,10 +8204,10 @@ postman-url-encoder@3.0.5: dependencies: punycode "^2.1.1" -preact@^10.13.2: - version "10.16.0" - resolved "https://registry.yarnpkg.com/preact/-/preact-10.16.0.tgz#68a06d70b191b8a313ea722d61e09c6b2a79a37e" - integrity sha512-XTSj3dJ4roKIC93pald6rWuB2qQJO9gO2iLLyTe87MrjQN+HklueLsmskbywEWqCHlclgz3/M4YLL2iBr9UmMA== +preact@^10.0.0: + version "10.17.1" + resolved "https://registry.yarnpkg.com/preact/-/preact-10.17.1.tgz#0a1b3c658c019e759326b9648c62912cf5c2dde1" + integrity sha512-X9BODrvQ4Ekwv9GURm9AKAGaomqXmip7NQTZgY7gcNmr7XE83adOMJvd3N42id1tMFU7ojiynRsYnY6/BRFxLA== prepend-http@^2.0.0: version "2.0.0" From ad82779dbd9e58b05e501e670d8f369eef62f680 Mon Sep 17 00:00:00 2001 From: janniks Date: Thu, 31 Aug 2023 16:50:56 +0200 Subject: [PATCH 17/18] chore: remove docsearch package --- package.json | 1 - yarn.lock | 30 +----------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/package.json b/package.json index eb67dd1fe..b3d96a8c8 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "write-translations": "docusaurus write-translations" }, "dependencies": { - "@docsearch/js": "3", "@docusaurus/core": "^2.4.1", "@docusaurus/module-type-aliases": "^2.4.1", "@docusaurus/preset-classic": "^2.4.1", diff --git a/yarn.lock b/yarn.lock index 77e59de4c..746d6ff27 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1253,29 +1253,6 @@ resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.5.1.tgz#4adf9884735bbfea621c3716e80ea97baa419b73" integrity sha512-2Pu9HDg/uP/IT10rbQ+4OrTQuxIWdKVUEdcw9/w7kZJv9NeHS6skJx1xuRiFyoGKwAzcHXnLp7csE99sj+O1YA== -"@docsearch/css@3.5.2": - version "3.5.2" - resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.5.2.tgz#610f47b48814ca94041df969d9fcc47b91fc5aac" - integrity sha512-SPiDHaWKQZpwR2siD0KQUwlStvIAnEyK6tAE2h2Wuoq8ue9skzhlyVQ1ddzOxX6khULnAALDiR/isSF3bnuciA== - -"@docsearch/js@3": - version "3.5.2" - resolved "https://registry.yarnpkg.com/@docsearch/js/-/js-3.5.2.tgz#a11cb2e7e62890e9e940283fed6972ecf632629d" - integrity sha512-p1YFTCDflk8ieHgFJYfmyHBki1D61+U9idwrLh+GQQMrBSP3DLGKpy0XUJtPjAOPltcVbqsTjiPFfH7JImjUNg== - dependencies: - "@docsearch/react" "3.5.2" - preact "^10.0.0" - -"@docsearch/react@3.5.2": - version "3.5.2" - resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.5.2.tgz#2e6bbee00eb67333b64906352734da6aef1232b9" - integrity sha512-9Ahcrs5z2jq/DcAvYtvlqEBHImbm4YJI8M9y0x6Tqg598P40HTEkX7hsMcIuThI+hTFxRGZ9hll0Wygm2yEjng== - dependencies: - "@algolia/autocomplete-core" "1.9.3" - "@algolia/autocomplete-preset-algolia" "1.9.3" - "@docsearch/css" "3.5.2" - algoliasearch "^4.19.1" - "@docsearch/react@^3.1.1": version "3.5.1" resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.5.1.tgz#35f4a75f948211d8bb6830d2147c575f96a85274" @@ -2954,7 +2931,7 @@ algoliasearch-helper@^3.10.0: dependencies: "@algolia/events" "^4.0.1" -algoliasearch@^4.0.0, algoliasearch@^4.13.1, algoliasearch@^4.19.1: +algoliasearch@^4.0.0, algoliasearch@^4.13.1: version "4.19.1" resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.19.1.tgz#18111fb422eaf841737adb92d5ab12133d244218" integrity sha512-IJF5b93b2MgAzcE/tuzW0yOPnuUyRgGAtaPv5UUywXM8kzqfdwZTO4sPJBzoGz1eOy6H9uEchsJsBFTELZSu+g== @@ -8204,11 +8181,6 @@ postman-url-encoder@3.0.5: dependencies: punycode "^2.1.1" -preact@^10.0.0: - version "10.17.1" - resolved "https://registry.yarnpkg.com/preact/-/preact-10.17.1.tgz#0a1b3c658c019e759326b9648c62912cf5c2dde1" - integrity sha512-X9BODrvQ4Ekwv9GURm9AKAGaomqXmip7NQTZgY7gcNmr7XE83adOMJvd3N42id1tMFU7ojiynRsYnY6/BRFxLA== - prepend-http@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" From db3cb0b7902122720bb4c5afd5e6dba97512a2ec Mon Sep 17 00:00:00 2001 From: Lavanya Kasturi Date: Wed, 6 Sep 2023 16:07:44 -0500 Subject: [PATCH 18/18] Removed Netlify related content --- .gitignore | 1 - docusaurus.config.js | 3 --- package.json | 1 - 3 files changed, 5 deletions(-) diff --git a/.gitignore b/.gitignore index 53b716a3d..b84e4f934 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,3 @@ docs/architecture.png docs/flowchart.png docs/subnets/ docs/chainhook/ -docs/ordinals-api/ diff --git a/docusaurus.config.js b/docusaurus.config.js index 1c5811891..11efeb41a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -647,8 +647,5 @@ module.exports = { segment: { apiKey: 'qabJfWPhi2L9CeMk22A1XlYmabsNtgKy', }, - hostnameAliases: { - 'https://deploy-preview-427--docs-hiro.netlify.app': 'https://docs.hiro.so', - }, }), }; diff --git a/package.json b/package.json index b3d96a8c8..c35ea077f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "@docusaurus/preset-classic": "^2.4.1", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^6.3.1", - "algolia": "^0.0.0", "clsx": "^1.1.1", "docusaurus-plugin-openapi": "^0.6.4", "docusaurus-plugin-remote-content": "^3.1.0",