Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: broken links #134

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/development/api-wrapper/classes/context-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ new Spicetify.ContextMenu.SubMenu(
| Parameter | Type | Description |
| :--- | :--- | :--- |
| name | `string` | Name of the menu item. |
| subItems | [`Iterable<Item>`](/docs/development/api-wrapper/classes/context-menu/#item) | Array of `Item`s to be added to the sub menu. |
| subItems | [`Iterable<Item>`](#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. |

Expand Down
2 changes: 1 addition & 1 deletion docs/development/api-wrapper/methods/keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/development/api-wrapper/methods/local-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/development/api-wrapper/types/keyboard/validkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/development/custom-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
37 changes: 17 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.