Skip to content

Commit

Permalink
docs(plugin): 添加插件开发教程文档
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Aug 25, 2024
1 parent e3df4f6 commit 7a5b6bf
Show file tree
Hide file tree
Showing 35 changed files with 1,196 additions and 110 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
temp
docs/snippets/siyuan-sdk
docs/public/schemas
.vscode/tasks.json

# VitePress
docs/.vitepress/dist
Expand Down
12 changes: 12 additions & 0 deletions cspell-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ blockicon
blockquote
blockref
breadcrumbmore
breakword
btns
callout
cest
commitlint
contenteditable
Expand All @@ -23,6 +26,7 @@ editorcontent
editortitleicon
endregion
epub
eventbus
fcontent
fileannotationref
filetree
Expand All @@ -34,11 +38,14 @@ fullscreen
fullwidth
gpive
graphviz
HOWTO
hpath
iconfont
iframe
jsdeliver
katex
keymap
lastmod
liandi
logf
mathf
Expand All @@ -53,13 +60,18 @@ protyle
reponame
setext
siyuan
solidjs
strnow
succ
terwer
textarea
textinput
textmark
topbar
tsdoc
Typora
uuidv
vdom
vitepress
vuepress
webdav
Expand Down
4 changes: 3 additions & 1 deletion docs/.vitepress/configs/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ export const themeConfig: DefaultTheme.Config = {
},
{
text: "Getting started",
items: [],
items: [
{ text: "SiYuan Plugin Development Quick Start", link: "/en/guide/plugin/sy-plugin-dev-quick-start" },
],
},
{
text: "Development",
Expand Down
1 change: 1 addition & 0 deletions docs/.vitepress/configs/zh-Hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const themeConfig: DefaultTheme.Config = {
text: "快速开始",
items: [
{ text: "入门", link: "/zh-Hans/guide/plugin/startup" },
{ text: "插件开发快速指南", link: "/zh-Hans/guide/plugin/sy-plugin-dev-quick-start" },
],
},
{
Expand Down
2 changes: 2 additions & 0 deletions docs/en/guide/plugin/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
outline: deep
---

- [SiYuan Plugin Development Quick Start](./sy-plugin-dev-quick-start.md)
Loading

0 comments on commit 7a5b6bf

Please sign in to comment.