diff --git a/.babelrc b/.babelrc
index b782ce6fb..5c281eb49 100644
--- a/.babelrc
+++ b/.babelrc
@@ -9,6 +9,7 @@
"loose": true,
"modules": false
}
- ]
+ ],
+ "babel-preset-gatsby"
]
}
diff --git a/.gitignore b/.gitignore
index ca959b3d8..82d9edb39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,3 +73,5 @@ demos/debug.html
*.sw*
*.un~
+public
+.cache
diff --git a/docs/README.md b/docs/README.md
deleted file mode 100644
index f468b9c19..000000000
--- a/docs/README.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# F2
-
-* Chinese documents: https://antv.alipay.com/zh-cn/f2/3.x
-* English documents: https://antv.gitbook.io/f2
-
-* Demos: https://antv.alipay.com/zh-cn/f2/3.x/demo/index.html
-
-**Or scan the QR code to see demos in mobile:**
-
-
diff --git a/docs/api.zh.md b/docs/api.zh.md
new file mode 100644
index 000000000..ff96b1c2f
--- /dev/null
+++ b/docs/api.zh.md
@@ -0,0 +1,23 @@
+---
+title: API
+order: 1
+---
+当引入 F2 之后,就可以使用全局命名空间 `F2`。
+
+## 常量 Constants
+
+```javascript
+F2.version // 当前 F2 的版本号
+```
+
+## 类 Classes
+
+- [F2.Chart](api/chart):图表的入口类
+
+- [F2.G](api/g):底层绘图引擎(基于原生的 Html5 Canvas 接口封装)
+
+- [F2.Shape](api/shape):F2 Shape 图形扩展接口,用于自定义各种几何标记的 shape
+
+- [F2.Global](api/global):F2 的全局配置,包含图表的皮肤样式
+
+- [F2.Util](api/util):辅助类工具函数
diff --git a/docs/api/chart.en.md b/docs/api/chart.en.md
new file mode 100644
index 000000000..899abaec3
--- /dev/null
+++ b/docs/api/chart.en.md
@@ -0,0 +1,545 @@
+---
+title: Chart
+order: 0
+---
+
+## 创建 chart 实例
+
+绘制图表前必须创建一个 `