diff --git a/docs/development/api-wrapper/classes/context-menu.md b/docs/development/api-wrapper/classes/context-menu.md index 6bc5189..5331afe 100644 --- a/docs/development/api-wrapper/classes/context-menu.md +++ b/docs/development/api-wrapper/classes/context-menu.md @@ -126,7 +126,7 @@ new Spicetify.ContextMenu.SubMenu( | Parameter | Type | Description | | :--- | :--- | :--- | | name | `string` | Name of the menu item. | -| subItems | [`Iterable`](/docs/development/api-wrapper/classes/context-menu/#item) | Array of `Item`s to be added to the sub menu. | +| subItems | [`Iterable`](#item) | Array of `Item`s to be added to the sub menu. | | shouldAdd | [`ShouldAddCallback`](/docs/development/api-wrapper/types/context-menu/should-add-callback) | Callback function to determine if the menu item should be added. | | disabled | `boolean` | Whether the menu item is disabled. | diff --git a/docs/development/api-wrapper/methods/keyboard.md b/docs/development/api-wrapper/methods/keyboard.md index 62f30ac..3092a52 100644 --- a/docs/development/api-wrapper/methods/keyboard.md +++ b/docs/development/api-wrapper/methods/keyboard.md @@ -7,7 +7,7 @@ Spicetify provides its own method for global keyboard shortcuts. You can specify :::tip -`Spicetify.Keyboard` is wrapper of [`Spicetify.Mousetrap`](/docs/development/api-wrapper/modules/#mousetrap) configured to be compatible with legacy Spotify. +`Spicetify.Keyboard` is wrapper of [`Spicetify.Mousetrap`](/docs/development/api-wrapper/modules#mousetrap) configured to be compatible with legacy Spotify. New extensions are advised to use the module instead. diff --git a/docs/development/api-wrapper/methods/local-storage.md b/docs/development/api-wrapper/methods/local-storage.md index a24ef51..2d17c2d 100644 --- a/docs/development/api-wrapper/methods/local-storage.md +++ b/docs/development/api-wrapper/methods/local-storage.md @@ -9,7 +9,7 @@ Spicetify provides a wrapper for `localStorage` to make it easier to use. All keys created via this method is generic and stored as-is. -If you wish to store values that are specific for each user account, you can use [`Platform.LocalStorageAPI`](./platform#localstorage) instead. +If you wish to store values that are specific for each user account, you can use [`Platform.LocalStorageAPI`](/docs/development/api-wrapper/methods/platform#localstorage) instead. ::: diff --git a/docs/development/api-wrapper/types/keyboard/validkey.md b/docs/development/api-wrapper/types/keyboard/validkey.md index 141e48f..b607758 100644 --- a/docs/development/api-wrapper/types/keyboard/validkey.md +++ b/docs/development/api-wrapper/types/keyboard/validkey.md @@ -5,7 +5,7 @@ description: A list of valid keys for keyboard shortcuts. :::tip -For the list of valid keys, refer to the [type definition](/docs/development/api-wrapper/types/keyboard/validkey/#type-definition). +For the list of valid keys, refer to the [type definition](#type-definition). ::: diff --git a/docs/development/custom-apps.md b/docs/development/custom-apps.md index 219cc69..6a78863 100644 --- a/docs/development/custom-apps.md +++ b/docs/development/custom-apps.md @@ -120,7 +120,7 @@ Spicetify.Platform.History.push({ }); ``` -In order to render a different page, you can check the `pathname` of the current page within `index.js`'s main render method, and render a different page component for different paths. The main path for your custom app will be the name of the folder (which is the same that needs to be used in the [`config-xpui.ini`](themes#configs) configuration file). +In order to render a different page, you can check the `pathname` of the current page within `index.js`'s main render method, and render a different page component for different paths. The main path for your custom app will be the name of the folder (which is the same that needs to be used in the [`config-xpui.ini`](./themes#configs) configuration file). In this example, if our `pathname` is "/marketplace/readme", we load the `ReadmePage` component, otherwise we load our main page component, `Grid`. ```js diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8d19e28..4021543 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ dependencies: version: 3.2.1(@docusaurus/types@3.2.1)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.4) '@docusaurus/preset-classic': specifier: ^3.2.1 - version: 3.2.1(@algolia/client-search@4.23.2)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.8.2)(typescript@5.4.4) + version: 3.2.1(@algolia/client-search@4.23.2)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.4) '@docusaurus/theme-common': specifier: ^3.2.1 version: 3.2.1(@docusaurus/types@3.2.1)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.4) @@ -92,10 +92,10 @@ packages: resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} engines: {node: '>=0.10.0'} - /@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.8.2): + /@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.13.0): resolution: {integrity: sha512-009HdfugtGCdC4JdXUbVJClA0q0zh24yyePn+KUGk3rP7j8FEe/m5Yo/z65gn6nP/cM39PxpzqKrL7A6fP6PPw==} dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.8.2) + '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.13.0) '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0) transitivePeerDependencies: - '@algolia/client-search' @@ -103,13 +103,13 @@ packages: - search-insights dev: false - /@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.8.2): + /@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.13.0): resolution: {integrity: sha512-a/yTUkcO/Vyy+JffmAnTWbr4/90cLzw+CC3bRbhnULr/EM0fGNvM13oQQ14f2moLMcVDyAx/leczLlAOovhSZg==} peerDependencies: search-insights: '>= 1 < 3' dependencies: '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0) - search-insights: 2.8.2 + search-insights: 2.13.0 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch @@ -1555,7 +1555,7 @@ packages: resolution: {integrity: sha512-SPiDHaWKQZpwR2siD0KQUwlStvIAnEyK6tAE2h2Wuoq8ue9skzhlyVQ1ddzOxX6khULnAALDiR/isSF3bnuciA==} dev: false - /@docsearch/react@3.5.2(@algolia/client-search@4.23.2)(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.8.2): + /@docsearch/react@3.5.2(@algolia/client-search@4.23.2)(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0): resolution: {integrity: sha512-9Ahcrs5z2jq/DcAvYtvlqEBHImbm4YJI8M9y0x6Tqg598P40HTEkX7hsMcIuThI+hTFxRGZ9hll0Wygm2yEjng==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' @@ -1572,14 +1572,14 @@ packages: search-insights: optional: true dependencies: - '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.8.2) + '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0)(search-insights@2.13.0) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.23.2)(algoliasearch@4.20.0) '@docsearch/css': 3.5.2 '@types/react': 18.2.74 algoliasearch: 4.20.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - search-insights: 2.8.2 + search-insights: 2.13.0 transitivePeerDependencies: - '@algolia/client-search' dev: false @@ -2044,7 +2044,7 @@ packages: - webpack-cli dev: false - /@docusaurus/preset-classic@3.2.1(@algolia/client-search@4.23.2)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.8.2)(typescript@5.4.4): + /@docusaurus/preset-classic@3.2.1(@algolia/client-search@4.23.2)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.4): resolution: {integrity: sha512-E3OHSmttpEBcSMhfPBq3EJMBxZBM01W1rnaCUTXy9EHvkmB5AwgTfW1PwGAybPAX579ntE03R+2zmXdizWfKnQ==} engines: {node: '>=18.0'} peerDependencies: @@ -2062,7 +2062,7 @@ packages: '@docusaurus/plugin-sitemap': 3.2.1(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.4) '@docusaurus/theme-classic': 3.2.1(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.4) '@docusaurus/theme-common': 3.2.1(@docusaurus/types@3.2.1)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.4) - '@docusaurus/theme-search-algolia': 3.2.1(@algolia/client-search@4.23.2)(@docusaurus/types@3.2.1)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.8.2)(typescript@5.4.4) + '@docusaurus/theme-search-algolia': 3.2.1(@algolia/client-search@4.23.2)(@docusaurus/types@3.2.1)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.4) '@docusaurus/types': 3.2.1(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -2190,14 +2190,14 @@ packages: - vue-template-compiler - webpack-cli - /@docusaurus/theme-search-algolia@3.2.1(@algolia/client-search@4.23.2)(@docusaurus/types@3.2.1)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.8.2)(typescript@5.4.4): + /@docusaurus/theme-search-algolia@3.2.1(@algolia/client-search@4.23.2)(@docusaurus/types@3.2.1)(@types/react@18.2.74)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0)(typescript@5.4.4): resolution: {integrity: sha512-bzhCrpyXBXzeydNUH83II2akvFEGfhsNTPPWsk5N7e+odgQCQwoHhcF+2qILbQXjaoZ6B3c48hrvkyCpeyqGHw==} engines: {node: '>=18.0'} peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 dependencies: - '@docsearch/react': 3.5.2(@algolia/client-search@4.23.2)(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.8.2) + '@docsearch/react': 3.5.2(@algolia/client-search@4.23.2)(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0)(search-insights@2.13.0) '@docusaurus/core': 3.2.1(@docusaurus/types@3.2.1)(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.4) '@docusaurus/logger': 3.2.1 '@docusaurus/plugin-content-docs': 3.2.1(eslint@9.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.4) @@ -3500,7 +3500,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.21.11 - caniuse-lite: 1.0.30001538 + caniuse-lite: 1.0.30001607 fraction.js: 4.3.6 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -3664,7 +3664,7 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001538 + caniuse-lite: 1.0.30001607 electron-to-chromium: 1.4.528 node-releases: 2.0.13 update-browserslist-db: 1.0.13(browserslist@4.21.11) @@ -3745,13 +3745,10 @@ packages: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} dependencies: browserslist: 4.21.11 - caniuse-lite: 1.0.30001538 + caniuse-lite: 1.0.30001607 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - /caniuse-lite@1.0.30001538: - resolution: {integrity: sha512-HWJnhnID+0YMtGlzcp3T9drmBJUVDchPJ08tpUGFLs9CYlwWPH2uLgpHn8fND5pCgXVtnGS3H4QR9XLMHVNkHw==} - /caniuse-lite@1.0.30001607: resolution: {integrity: sha512-WcvhVRjXLKFB/kmOFVwELtMxyhq3iM/MvmXcyCe2PNf166c39mptscOc/45TTS96n2gpNV2z7+NakArTWZCQ3w==} @@ -8668,8 +8665,8 @@ packages: ajv-formats: 2.1.1(ajv@8.12.0) ajv-keywords: 5.1.0(ajv@8.12.0) - /search-insights@2.8.2: - resolution: {integrity: sha512-PxA9M5Q2bpBelVvJ3oDZR8nuY00Z6qwOxL53wNpgzV28M/D6u9WUbImDckjLSILBF8F1hn/mgyuUaOPtjow4Qw==} + /search-insights@2.13.0: + resolution: {integrity: sha512-Orrsjf9trHHxFRuo9/rzm0KIWmgzE8RMlZMzuhZOJ01Rnz3D0YBAe+V6473t6/H6c7irs6Lt48brULAiRWb3Vw==} dev: false /section-matter@1.0.0: