diff --git a/docs/index.md b/docs/index.md index 492477bb3..b36541dc5 100644 --- a/docs/index.md +++ b/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`. diff --git a/docs/tutorial/extra-starlette.md b/docs/tutorial/extra-starlette.md new file mode 100644 index 000000000..fdf702fb0 --- /dev/null +++ b/docs/tutorial/extra-starlette.md @@ -0,0 +1 @@ +Coming soon... \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 93ea28b71..645e052e7 100644 --- a/mkdocs.yml +++ b/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' diff --git a/scripts/rename_tutorial_src_files.py b/scripts/rename_tutorial_src_files.py index 55bf72310..d3d57c167 100644 --- a/scripts/rename_tutorial_src_files.py +++ b/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