Skip to content

Commit

Permalink
docs: dir rfc according to doc site routes (umijs#61)
Browse files Browse the repository at this point in the history
* docs: dir rfc according to doc site routes

* docs: extract concepts to multiple single files
  • Loading branch information
PeachScript authored Feb 18, 2020
1 parent d6d0ccb commit cbb3e9e
Show file tree
Hide file tree
Showing 47 changed files with 219 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/config/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Config
---
3 changes: 3 additions & 0 deletions docs/config/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Config
---
13 changes: 13 additions & 0 deletions docs/docs/advanced.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: umi 进阶
---

## 自定义 webpack 配置

## 自定义 babel 配置

## 按需加载

## Test

## TypeScript
13 changes: 13 additions & 0 deletions docs/docs/advanced.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: umi 进阶
---

## 自定义 webpack 配置

## 自定义 babel 配置

## 按需加载

## Test

## TypeScript
3 changes: 3 additions & 0 deletions docs/docs/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: API 索引
---
3 changes: 3 additions & 0 deletions docs/docs/api.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: API 索引
---
5 changes: 5 additions & 0 deletions docs/docs/concepts/app-structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: 目录结构
nav:
title: Umi 基础
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/app-structure.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 目录结构
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 配置
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/config.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 配置
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/env-variables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 环境变量
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/env-variables.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 环境变量
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/html-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: HTML 模板
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/html-template.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: HTML 模板
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/mock-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 数据 Mock
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/mock-data.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 数据 Mock
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/navigate-between-pages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 页面跳转
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/navigate-between-pages.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 页面跳转
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 页面
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/page.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 页面
---
Empty file added docs/docs/concepts/plugin.md
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions docs/docs/concepts/router.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 路由
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/router.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 路由
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/runtime-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 运行时配置
---
3 changes: 3 additions & 0 deletions docs/docs/concepts/runtime-config.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 运行时配置
---
7 changes: 7 additions & 0 deletions docs/docs/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 贡献
---

## 如何贡献

## 如何创建 umi 插件
7 changes: 7 additions & 0 deletions docs/docs/contributing.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 贡献
---

## 如何贡献

## 如何创建 umi 插件
3 changes: 3 additions & 0 deletions docs/docs/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: FAQ
---
3 changes: 3 additions & 0 deletions docs/docs/faq.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: FAQ
---
12 changes: 12 additions & 0 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- 此目录为 /docs 下的所有子路由 -->
---
title: 介绍
---

## 介绍

## 快速上手

## umi 如何工作

## 部署
11 changes: 11 additions & 0 deletions docs/docs/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: 介绍
---

## 介绍

## 快速上手

## umi 如何工作

## 部署
13 changes: 13 additions & 0 deletions docs/docs/styles-assets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: 样式和资源文件
---

## 使用 CSS

## 添加自定义字体

## 添加额外的脚本

## 添加 SVG Icons

## 使用图片
13 changes: 13 additions & 0 deletions docs/docs/styles-assets.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: 样式和资源文件
---

## 使用 CSS

## 添加自定义字体

## 添加额外的脚本

## 添加 SVG Icons

## 使用图片
File renamed without changes.
3 changes: 3 additions & 0 deletions docs/guides/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 指南
---
3 changes: 3 additions & 0 deletions docs/guides/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 指南
---
3 changes: 3 additions & 0 deletions docs/guides/migrate-from-cra.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 迁移 create-react-app 项目到 umi
---
3 changes: 3 additions & 0 deletions docs/guides/migrate-from-cra.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 迁移 create-react-app 项目到 umi
---
3 changes: 3 additions & 0 deletions docs/guides/ssr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: SSR 指南
---
3 changes: 3 additions & 0 deletions docs/guides/ssr.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: SSR 指南
---
3 changes: 3 additions & 0 deletions docs/guides/with-antd-dva.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 创建 umi + antd + dva 的项目
---
3 changes: 3 additions & 0 deletions docs/guides/with-antd-dva.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: 创建 umi + antd + dva 的项目
---
3 changes: 3 additions & 0 deletions docs/guides/with-micro-frontend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Umi 和微前端
---
3 changes: 3 additions & 0 deletions docs/guides/with-micro-frontend.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Umi 和微前端
---
13 changes: 13 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
hero:
title: UmiJS
desc: balabala
actions:
- title: Get Started →
link: /
features:
- title: Balabala
desc: Balabala
---

Umi Home page
13 changes: 13 additions & 0 deletions docs/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
hero:
title: UmiJS
desc: balabala
actions:
- title: Get Started →
link: /
features:
- title: Balabala
desc: Balabala
---

Umi 首页

0 comments on commit cbb3e9e

Please sign in to comment.