From 70f8795dcc208c96567585bbd898a37d66e25cdc Mon Sep 17 00:00:00 2001 From: long2ice Date: Thu, 6 May 2021 11:38:15 +0800 Subject: [PATCH] update docs link --- .github/workflows/deploy.yml | 3 ++- README-zh.md | 4 ++-- README.md | 2 +- docs/en/docs/pro/sponsor.md | 6 +++--- pyproject.toml | 6 +++--- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0b950e5..c286b86 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,5 @@ name: deploy -on: [push, pull_request] +on: [ push, pull_request ] jobs: example: runs-on: ubuntu-latest @@ -43,3 +43,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/zh/site destination_dir: zh + cname: fastapi-admin-docs.long2ice.cn diff --git a/README-zh.md b/README-zh.md index ed951dc..cc25b51 100644 --- a/README-zh.md +++ b/README-zh.md @@ -9,12 +9,12 @@ ## 线上 DEMO -你可以在[此处](https://fastapi-admin.long2ice.cn/admin/login)查看线上 demo。 +你可以在 [此处](https://fastapi-admin.long2ice.cn/admin/login) 查看线上 demo。 - 用户名: `admin` - 密码: `123456` -或者在[此处](https://fastapi-admin-pro.long2ice.cn/admin/login) 查看 Pro 版本 demo。 +或者在 [此处](https://fastapi-admin-pro.long2ice.cn/admin/login) 查看 Pro 版本 demo。 - 用户名: `admin` - 密码: `123456` diff --git a/README.md b/README.md index 2d4c29e..be729d2 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Or pro version online demo [here](https://fastapi-admin-pro.long2ice.cn/admin/lo ## Documentation -See documentation at [https://fastapi-admin.github.io/fastapi-admin](https://fastapi-admin.github.io/fastapi-admin). +See documentation at . ## License diff --git a/docs/en/docs/pro/sponsor.md b/docs/en/docs/pro/sponsor.md index 9bea684..780e8f2 100644 --- a/docs/en/docs/pro/sponsor.md +++ b/docs/en/docs/pro/sponsor.md @@ -1,14 +1,14 @@ # Sponsor The pro version is just for the sponsors. As a sponsor, you will be invited -to [fastapi-admin](https://github.com/fastapi-admin) organization as a outside collaborator with readonly access, and +to [fastapi-admin](https://github.com/fastapi-admin) organization as an outside collaborator with readonly access, and you can get the pro features and get updates for a time. ## How to become a sponsor Sponsor Link: -You can choice any sponsor way you like. After sponsor, you can email me with your github account +You can choose any sponsor way you like. After sponsor, you can email me with your GitHub account and sponsor way and account, then I will invite you to join [fastapi-admin](https://github.com/fastapi-admin) organization. @@ -26,7 +26,7 @@ You will be invited and keep collaborator role for half a year. You will be invited and keep collaborator role for a year. -## Waring +## Warning After you have be invited, you can read and clone and develop yourself, but please **don't distribute the source code** of pro version. Thanks! diff --git a/pyproject.toml b/pyproject.toml index 1b5ec69..1ccee96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,14 @@ [tool.poetry] authors = ["long2ice "] description = "A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin." -documentation = "https://github.com/fastapi-admin/fastapi-admin" +documentation = "https://fastapi-admin-docs.long2ice.cn" homepage = "https://github.com/fastapi-admin/fastapi-admin" include = ["LICENSE", "README.md", "CHANGELOG.md"] keywords = ["fastapi", "admin", "dashboard"] license = "Apache-2.0" name = "fastapi-admin" packages = [ - {include = "fastapi_admin"}, + { include = "fastapi_admin" }, ] readme = "README.md" repository = "https://github.com/fastapi-admin/fastapi-admin.git" @@ -24,7 +24,7 @@ jinja2 = "*" python = "^3.7" python-multipart = "*" tortoise-orm = "*" -uvicorn = {version = "*", extras = ["standard"]} +uvicorn = { version = "*", extras = ["standard"] } [tool.poetry.dev-dependencies] # test