Browse Source

初始化文档

master
Cmen 3 years ago
parent
commit
c63cc8030e
  1. 31
      docs/.vitepress/config.js
  2. 1
      docs/changelog.md
  3. 5
      docs/index.md
  4. 13
      docs/start.md
  5. 5
      package.json

31
docs/.vitepress/config.js

@ -0,0 +1,31 @@
module.exports = {
title: 'Fine-GeoJSON-Editor',
description: '在线geojson编辑器.',
base: "/docs/",
themeConfig: {
sidebarDepth: 3,
sidebar: {
collapsable: false,
"/": [
{
title: "",
collapsable: false,
children: [
{
link: "/index",
text: "介绍"
},
{
link: "/start",
text: "开始使用"
},
{
link: "/changelog",
text: "更新日志"
}
]
}
]
}
}
}

1
docs/changelog.md

@ -0,0 +1 @@
# 更新日志

5
docs/index.md

@ -0,0 +1,5 @@
# 介绍
> Fine-GeoJSON-Editor 是一款基于高德JS API开发的geojson编辑器.
>
> 旨在提供更便捷的geojson编辑功能.

13
docs/start.md

@ -0,0 +1,13 @@
# 开始使用
## 菜单
### 文件
### 编辑
### 帮助
## 主编辑区
## 图层目录
## 图层属性

5
package.json

@ -5,7 +5,10 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,less,md}\""
"lint": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,less,md}\"",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs"
},
"dependencies": {
"@finevis/emitter": "^1.0.4",

Loading…
Cancel
Save