Skip to content

Commit

Permalink
docs: move all docs into folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosemoe committed Feb 13, 2024
1 parent e3d3c22 commit e186ba5
Show file tree
Hide file tree
Showing 34 changed files with 23 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.vitepress/cache
.vitepress/dist
node_modules
2 changes: 2 additions & 0 deletions docs/.vitepress/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cache
dist
5 changes: 3 additions & 2 deletions .vitepress/config/en.ts → docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import config from '../../package.json'
import config from '../../../package.json'
import { defineConfig, type DefaultTheme } from 'vitepress'


Expand Down Expand Up @@ -63,7 +63,8 @@ function guideReference(): DefaultTheme.SidebarItem[] {
{ text: 'Overview', link: 'editor-overview' },
{ text: 'Getting Started', link: 'getting-started' },
{ text: 'Language', link: 'using-language'},
{ text: 'Color Scheme', link: 'using-color-scheme' }
{ text: 'Color Scheme', link: 'using-color-scheme' },
{ text: 'Events and Components', link: 'events-and-components' }
]
}
]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .vitepress/config/ja.ts → docs/.vitepress/config/ja.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import config from '../../package.json'
import config from '../../../package.json'
import { defineConfig, type DefaultTheme } from 'vitepress'

export const ja = defineConfig({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .vitepress/config/zh.ts → docs/.vitepress/config/zh.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import config from '../../package.json'
import config from '../../../package.json'
import { defineConfig, type DefaultTheme } from 'vitepress'

export const zh = defineConfig({
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions docs/guide/events-and-components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
outline: deep
---
# Events and Components
## Event
### Type of Events
### Subscribe Events
## Components
### Auto Completion
### Text Action Window
### Magnifier
### Diagnostic Tooltip
### Context Menu
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"type": "module",
"description": "documentation for sora-editor",
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview"
"dev": "vitepress dev docs",
"build": "vitepress build docs",
"preview": "vitepress preview docs"
},
"devDependencies": {
"markdown-it-mathjax3": "^4.3.2",
Expand Down

0 comments on commit e186ba5

Please # to comment.