update docs

This commit is contained in:
long2ice
2021-05-01 21:20:09 +08:00
parent 1118e990a9
commit 2eee2715ad
8 changed files with 26 additions and 9 deletions

View File

@@ -164,4 +164,4 @@ class Content(Dropdown):
### What's next?
That's all, you can run your app now. For more reference you can see [Reference](/reference).
That's all, you can run your app now. For more reference you can see [reference](/reference).

View File

@@ -26,6 +26,17 @@ admin_app.add_middleware(BaseHTTPMiddleware, dispatch=LoginPasswordMaxTryMiddlew
## Error pages
### 403
You can catch all `403` error to show builtin `403` page.
```python
from fastapi_admin.exceptions import forbidden_error_exception
from starlette.status import HTTP_403_FORBIDDEN
admin_app.add_exception_handler(HTTP_403_FORBIDDEN, forbidden_error_exception)
```
### 404
You can catch all `404` error to show builtin `404` page.
@@ -57,8 +68,3 @@ admin_app.configure(maintenance=True)
```
## Admin Log
## Free consultation
Whenever you have any questions, you can send email to <long2ice@gmai.com> or open `issue` in `fastapi-admin-pro`
repository, I will answer your questions as soon as possible.

View File

@@ -0,0 +1,4 @@
# Support
Whenever you have any questions, you can send email to <long2ice@gmai.com> or open `issue` in `fastapi-admin-pro`
repository for help, I will answer your questions as soon as possible.

View File

@@ -0,0 +1 @@
# Actions

View File

@@ -0,0 +1 @@
# Bulk Actions

View File

@@ -0,0 +1 @@
# Global Search (💗 Pro only)

View File

@@ -40,7 +40,7 @@ nav:
- getting_started/installation.md
- getting_started/quick_start.md
- Reference:
- reference/configuration.md
- reference/index.md
- reference/resource.md
- Widget:
- reference/widget/filter.md
@@ -50,16 +50,20 @@ nav:
- reference/middleware.md
- reference/permission.md
- reference/admin_log.md
- Custom:
- reference/global_search.md
- reference/actions.md
- reference/bulk_actions.md
- Customization:
- custom/page.md
- custom/overwrite.md
- custom/login.md
- custom/file.md
- custom/widget.md
- Pro Version For Sponsor:
- pro/index.md
- pro/sponsor.md
- pro/exclusive.md
- pro/installation.md
- pro/support.md
extra:
alternate:
- name: English