chore: 初始化文档部分

This commit is contained in:
unanmed 2025-03-09 15:55:09 +08:00
parent ef8d3e9e2e
commit cca10a429c
2 changed files with 29 additions and 2 deletions

4
.gitignore vendored
View File

@ -46,7 +46,7 @@ meeting.md
*.csv
script/special.ts
script/people.ts
docs/
user.ts
.antlr
graph.svg
graph.svg
docs/.vitepress

27
docs/index.md Normal file
View File

@ -0,0 +1,27 @@
---
# https://vitepress.dev/reference/default-theme-home-page
layout: home
hero:
name: 'mota-js'
text: 'HTML5魔塔样板V2.A'
tagline: HTML5魔塔样板从 2.x 到 3.0 的过渡版本
actions:
- theme: brand
text: 快速开始
link: /guide/diff
- theme: alt
text: API列表
link: /api/index
- theme: alt
text: 旧样板文档
link: https://h5mota.com/games/template/_docs/#/
features:
- title: 高适配性
details: 不论你是在电脑上还是手机上甚至是电视上游戏机上只要有一个浏览器就能游玩HTML5魔塔不论你使用触屏还是键盘不论是鼠标还是手柄都能流畅地操作
- title: 高扩展性
details: HTML5魔塔样板提供了非常丰富的API借助于插件API你可以做出任何你想要的东西
- title: 上手难度低
details: 哪怕你不会代码你也可以轻松地造出一个HTML5魔塔借助于样板的事件系统与网站插件库你也可以让你的魔塔更有个性
---