]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:memo: Add stub for extra Starlette
authorSebastián Ramírez <tiangolo@gmail.com>
Sat, 15 Dec 2018 17:45:57 +0000 (21:45 +0400)
committerSebastián Ramírez <tiangolo@gmail.com>
Sat, 15 Dec 2018 17:45:57 +0000 (21:45 +0400)
docs/index.md
docs/tutorial/extra-starlette.md [new file with mode: 0644]
mkdocs.yml
scripts/rename_tutorial_src_files.py

index 492477bb39b7374e6bccbdc218fa89c299dca996..b36541dc50ee0b22047787a78c4f7c9c7b0b4b86 100644 (file)
@@ -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 (file)
index 0000000..fdf702f
--- /dev/null
@@ -0,0 +1 @@
+Coming soon...
\ No newline at end of file
index 93ea28b710ff6b1af85218fe2ef91b165735fa35..645e052e74335ab228208e7fc8d7213e7ee00315 100644 (file)
@@ -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'
index 55bf7231051d8ec2b15ea481a74673d65eb86a38..d3d57c1673a7f9f39b469107e753067a96013933 100644 (file)
@@ -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