Fix example

This commit is contained in:
long2ice
2021-04-28 22:51:53 +08:00
parent 5e230eca90
commit 8bb34f2032
9 changed files with 168 additions and 54 deletions

View File

@ -1,6 +1,6 @@
# Installation
# 安装
## From pypi
## pypi
You can install from pypi.
@ -8,7 +8,7 @@ You can install from pypi.
> pip install fastapi-admin
```
## From source
## 从源码
Or you can install from source with latest code.
@ -16,7 +16,7 @@ Or you can install from source with latest code.
> pip install git+https://github.com/fastapi-admin/fastapi-admin.git
```
### With requirements.txt
### 使用 requirements.txt
Add the following line.
@ -24,7 +24,7 @@ Add the following line.
-e https://github.com/fastapi-admin/fastapi-admin.git@develop#egg=fastapi-admin
```
### With poetry
### 使用 poetry
Add the following line in section `[tool.poetry.dependencies]`.

View File

@ -1,4 +1,4 @@
# Quickstart
# 入门指南
`FastAPI-Admin` is easy to mount your `FastAPI` app, just need a few configs.

View File

@ -8,7 +8,7 @@ theme:
logo: https://raw.githubusercontent.com/fastapi-admin/fastapi-admin/dev/images/icon-white.svg
favicon: https://raw.githubusercontent.com/fastapi-admin/fastapi-admin/dev/images/favicon.png
name: material
language: en
language: zh
icon:
repo: fontawesome/brands/github
palette:
@ -49,7 +49,11 @@ nav:
- reference/file_upload.md
- reference/middleware.md
- 自定义:
- custom/index.md
- custom/page.md
- custom/overwrite.md
- custom/login.md
- custom/file.md
- custom/widget.md
- 赞助者 Pro 版本:
- pro/index.md
- pro/sponsor.md
@ -69,5 +73,4 @@ copyright: Copyright © 2021 long2ice
plugins:
- git-revision-date-localized:
type: datetime
- markdownextradata
dev_addr: 127.0.0.1:7999