Browse Source

📝 Add stub for extra Starlette

pull/11/head
Sebastián Ramírez 6 years ago
parent
commit
f8f91a1dbb
  1. 4
      docs/index.md
  2. 1
      docs/tutorial/extra-starlette.md
  3. 1
      mkdocs.yml
  4. 2
      scripts/rename_tutorial_src_files.py

4
docs/index.md

@ -290,9 +290,9 @@ Try changing the line with:
![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
For a more complete example including more features, [see the tutorial](tutorial/intro/).
For a more complete example including more features, [see the tutorial - user guide](tutorial/intro/).
**Spoiler alert**: the tutorial includes:
**Spoiler alert**: the tutorial - user guide includes:
* Declaration of **parameters** from other different places as: **headers**, **cookies**, **form fields** and **files**.
* How to set **validation constrains** as `maximum_length` or `regex`.

1
docs/tutorial/extra-starlette.md

@ -0,0 +1 @@
Coming soon...

1
mkdocs.yml

@ -50,6 +50,7 @@ nav:
- OAuth2 with Password (and hashing), Bearer with JWT tokens: 'tutorial/security/oauth2-jwt.md'
- Bigger Applications - Multiple Files: 'tutorial/bigger-applications.md'
- Application Configuration: 'tutorial/application-configuration.md'
- Extra Starlette options: 'tutorial/extra-starlette.md'
- Concurrency and async / await: 'async.md'
- Deployment: 'deployment.md'

2
scripts/rename_tutorial_src_files.py

@ -2,8 +2,6 @@
from pathlib import Path, PurePath
from string import digits
#%%
directory = Path("./docs/tutorial/src")
dirs = sorted([Path(f) for f in directory.iterdir()])
d: PurePath

Loading…
Cancel
Save