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

chore: fix dead links like /themes #1886

Merged
merged 1 commit into from
Sep 29, 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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Presentation <b>slide</b>s for <b>dev</b>elopers 🧑‍💻👩‍💻👨‍
<a href="https://www.npmjs.com/package/@slidev/cli" target="__blank"><img src="https://img.shields.io/npm/v/@slidev/cli?color=2B90B6&label=" alt="NPM version"></a>
<a href="https://www.npmjs.com/package/@slidev/cli" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@slidev/cli?color=349dbe&label="></a>
<a href="https://sli.dev/" target="__blank"><img src="https://img.shields.io/static/v1?label=&message=docs%20%26%20demos&color=45b8cd" alt="Docs & Demos"></a>
<a href="https://sli.dev/themes/gallery.html" target="__blank"><img src="https://img.shields.io/static/v1?label=&message=themes&color=4ec5d4" alt="Themes"></a>
<a href="https://sli.dev/resources/theme-gallery" target="__blank"><img src="https://img.shields.io/static/v1?label=&message=themes&color=4ec5d4" alt="Themes"></a>
<br>
<a href="https://github.com/slidevjs/slidev" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/slidevjs/slidev?style=social"></a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion packages/create-theme/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Add the following frontmatter to your `slides.md`. Start Slidev then it will pro
theme: <b>{{name}}</b>
---</code></pre>

Learn more about [how to use a theme](https://sli.dev/themes/use).
Learn more about [how to use a theme](https://sli.dev/guide/theme-addon#use-theme).

## Layouts

Expand Down
4 changes: 2 additions & 2 deletions packages/slidev/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ theme: seriph

</div>

Read more about [How to use a theme](https://sli.dev/themes/use.html) and
check out the [Awesome Themes Gallery](https://sli.dev/themes/gallery.html).
Read more about [How to use a theme](https://sli.dev/guide/theme-addon#use-theme) and
check out the [Awesome Themes Gallery](https://sli.dev/resources/theme-gallery).

---
preload: false
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/frontmatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface HeadmatterConfig extends TransitionOptions {
/**
* Theme to use for the slides
*
* See https://sli.dev/themes/use.html
* See https://sli.dev/guide/theme-addon#use-theme
* @default 'default'
*/
theme?: string
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode/schema/headmatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
},
"theme": {
"type": "string",
"description": "Theme to use for the slides\n\nSee https://sli.dev/themes/use.html",
"markdownDescription": "Theme to use for the slides\n\nSee https://sli.dev/themes/use.html",
"description": "Theme to use for the slides\n\nSee https://sli.dev/guide/theme-addon#use-theme",
"markdownDescription": "Theme to use for the slides\n\nSee https://sli.dev/guide/theme-addon#use-theme",
"default": "default"
},
"addons": {
Expand Down
Loading