E569 Merge branch 'tiangolo:master' into de/docs/tutorial/static-files.md · fastapi/fastapi@6a9c45b · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a9c45b

Browse files
author
Nils Lindemann
authored
Merge branch 'tiangolo:master' into de/docs/tutorial/static-files.md
2 parents dfb11f9 + 040ad98 commit 6a9c45b

35 files changed

+818
-406
lines changed

.github/workflows/build-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
- docs/**
2929
- docs_src/**
3030
- requirements-docs.txt
31+
- .github/workflows/build-docs.yml
32+
- .github/workflows/deploy-docs.yml
3133
langs:
3234
needs:
3335
- changes
@@ -55,6 +57,8 @@ jobs:
5557
pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/squidfunk/mkdocs-material-insiders.git
5658
pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/pawamoy-insiders/griffe-typing-deprecated.git
5759
pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/pawamoy-insiders/mkdocstrings-python.git
60+
- name: Verify README
61+
run: python ./scripts/docs.py verify-readme
5862
- name: Export Language Codes
5963
id: show-langs
6064
run: |

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: cache
3030
with:
3131
path: ${{ env.pythonLocation }}
32-
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-pydantic-v2-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v06
32+
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-pydantic-v2-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v07
3333
- name: Install Dependencies
3434
if: steps.cache.outputs.cache-hit != 'true'
3535
run: pip install -r requirements-tests.txt
@@ -62,7 +62,7 @@ jobs:
6262
id: cache
6363
with:
6464
path: ${{ env.pythonLocation }}
65-
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ matrix.pydantic-version }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v06
65+
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ matrix.pydantic-version }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v07
6666
- name: Install Dependencies
6767
if: steps.cache.outputs.cache-hit != 'true'
6868
run: pip install -r requirements-tests.txt

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ The key features are:
5252
<a href="https://bump.sh/fastapi?utm_source=fastapi&utm_medium=referral&utm_campaign=sponsor" target="_blank" title="Automate FastAPI documentation generation with Bump.sh"><img src="https://fastapi.tiangolo.com/img/sponsors/bump-sh.svg"></a>
5353
<a href="https://reflex.dev" target="_blank" title="Reflex"><img src="https://fastapi.tiangolo.com/img/sponsors/reflex.png"></a>
5454
<a href="https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=main-badge" target="_blank" title="Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files"><img src="https://fastapi.tiangolo.com/img/sponsors/scalar.svg"></a>
55+
<a href="https://www.propelauth.com/?utm_source=fastapi&utm_campaign=1223&utm_medium=mainbadge" target="_blank" title="Auth, user management and more for your B2B product"><img src="https://fastapi.tiangolo.com/img/sponsors/propelauth.png"></a>
5556
<a href="https://www.deta.sh/?ref=fastapi" target="_blank" title="The launchpad for all your (team's) ideas"><img src="https://fastapi.tiangolo.com/img/sponsors/deta.svg"></a>
5657
<a href="https://training.talkpython.fm/fastapi-courses" target="_blank" title="FastAPI video courses on demand from people you trust"><img src="https://fastapi.tiangolo.com/img/sponsors/talkpython.png"></a>
5758
<a href="https://testdriven.io/courses/tdd-fastapi/" target="_blank" title="Learn to build high-quality web apps with best practices"><img src="https://fastapi.tiangolo.com/img/sponsors/testdriven.svg"></a>

docs/em/docs/advanced/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $ pip install jinja2
2727
* 📣 `Request` 🔢 *➡ 🛠️* 👈 🔜 📨 📄.
2828
* ⚙️ `templates` 👆 ✍ ✍ &amp; 📨 `TemplateResponse`, 🚶‍♀️ `request` 1️⃣ 🔑-💲 👫 Jinja2️⃣ "🔑".
2929

30-
```Python hl_lines="4 11 15-16"
30+
```Python hl_lines="4 11 15-18"
3131
{!../../../docs_src/templates/tutorial001.py!}
3232
```
3333

docs/en/data/github_sponsors.yml

Lines changed: 47 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
sponsors:
2-
- - login: bump-sh
2+
- - login: codacy
3+
avatarUrl: https://avatars.githubusercontent.com/u/1834093?v=4
4+
url: https://github.com/codacy
5+
- login: bump-sh
36
avatarUrl: https://avatars.githubusercontent.com/u/33217836?v=4
47
url: https://github.com/bump-sh
58
- login: cryptapi
@@ -11,9 +14,6 @@ sponsors:
1114
- login: fern-api
1215
avatarUrl: https://avatars.githubusercontent.com/u/102944815?v=4
1316
url: https://github.com/fern-api
14-
- login: nanram22
15-
avatarUrl: https://avatars.githubusercontent.com/u/116367316?v=4
16-
url: https://github.com/nanram22
1717
- - login: nihpo
1818
avatarUrl: https://avatars.githubusercontent.com/u/1841030?u=0264956d7580f7e46687a762a7baa629f84cf97c&v=4
1919
url: https://github.com/nihpo
@@ -32,12 +32,12 @@ sponsors:
3232
- login: deepset-ai
3333
avatarUrl: https://avatars.githubusercontent.com/u/51827949?v=4
3434
url: https://github.com/deepset-ai
35+
- login: databento
36+
avatarUrl: https://avatars.githubusercontent.com/u/64141749?v=4
37+
url: https://github.com/databento
3538
- login: svix
3639
avatarUrl: https://avatars.githubusercontent.com/u/80175132?v=4
3740
url: https://github.com/svix
38-
- login: databento-bot
39-
avatarUrl: https://avatars.githubusercontent.com/u/98378480?u=494f679996e39427f7ddb1a7de8441b7c96fb670&v=4
40-
url: https://github.com/databento-bot
4141
- login: VincentParedes
4242
avatarUrl: https://avatars.githubusercontent.com/u/103889729?v=4
4343
url: https://github.com/VincentParedes
@@ -65,10 +65,7 @@ sponsors:
6565
- login: Trivie
6666
avatarUrl: https://avatars.githubusercontent.com/u/8161763?v=4
6767
url: https://github.com/Trivie
68-
- - login: moellenbeck
69-
avatarUrl: https://avatars.githubusercontent.com/u/169372?v=4
70-
url: https://github.com/moellenbeck
71-
- login: birkjernstrom
68+
- - login: birkjernstrom
7269
avatarUrl: https://avatars.githubusercontent.com/u/281715?u=4be14b43f76b4bd497b1941309bb390250b405e6&v=4
7370
url: https://github.com/birkjernstrom
7471
- login: yasyf
@@ -83,15 +80,15 @@ sponsors:
8380
- login: mainframeindustries
8481
avatarUrl: https://avatars.githubusercontent.com/u/55092103?v=4
8582
url: https://github.com/mainframeindustries
83+
- login: deployplex
84+
avatarUrl: https://avatars.githubusercontent.com/u/57115726?v=4
85+
url: https://github.com/deployplex
8686
- - login: povilasb
8787
avatarUrl: https://avatars.githubusercontent.com/u/1213442?u=b11f58ed6ceea6e8297c9b310030478ebdac894d&v=4
8888
url: https://github.com/povilasb
8989
- login: primer-io
9090
avatarUrl: https://avatars.githubusercontent.com/u/62146168?v=4
9191
url: https://github.com/primer-io
92-
- - login: NateXVI
93-
avatarUrl: https://avatars.githubusercontent.com/u/48195620?u=4bc8751ae50cb087c40c1fe811764aa070b9eea6&v=4
94-
url: https://github.com/NateXVI
9592
- - login: Kludex
9693
avatarUrl: https://avatars.githubusercontent.com/u/7353520?u=62adc405ef418f4b6c8caa93d3eb8ab107bc4927&v=4
9794
url: https://github.com/Kludex
@@ -125,12 +122,12 @@ sponsors:
125122
- login: tcsmith
126123
avatarUrl: https://avatars.githubusercontent.com/u/989034?u=7d8d741552b3279e8f4d3878679823a705a46f8f&v=4
127124
url: https://github.com/tcsmith
128-
- login: mrkmcknz
129-
avatarUrl: https://avatars.githubusercontent.com/u/1089376?u=2b9b8a8c25c33a4f6c220095638bd821cdfd13a3&v=4
130-
url: https://github.com/mrkmcknz
131125
- login: mickaelandrieu
132126
avatarUrl: https://avatars.githubusercontent.com/u/1247388?u=599f6e73e452a9453f2bd91e5c3100750e731ad4&v=4
133127
url: https://github.com/mickaelandrieu
128+
- login: knallgelb
129+
avatarUrl: https://avatars.githubusercontent.com/u/2358812?u=c48cb6362b309d74cbf144bd6ad3aed3eb443e82&v=4
130+
url: https://github.com/knallgelb
134131
- login: Shark009
135132
avatarUrl: https://avatars.githubusercontent.com/u/3163309?u=0c6f4091b0eda05c44c390466199826e6dc6e431&v=4
136133
url: https://github.com/Shark009
@@ -174,7 +171,7 @@ sponsors:
174171
avatarUrl: https://avatars.githubusercontent.com/u/6152183?u=c485eefca5c6329600cae63dd35e4f5682ce6924&v=4
175172
url: https://github.com/iwpnd
176173
- login: FernandoCelmer
177-
avatarUrl: https://avatars.githubusercontent.com/u/6262214?u=ab6108a843a2fb9df0934f482375d2907609f3ff&v=4
174+
avatarUrl: https://avatars.githubusercontent.com/u/6262214?u=d29fff3fd862fda4ca752079f13f32e84c762ea4&v=4
178175
url: https://github.com/FernandoCelmer
179176
- login: simw
180177
avatarUrl: https://avatars.githubusercontent.com/u/6322526?v=4
@@ -188,6 +185,9 @@ sponsors:
188185
- login: wdwinslow
189186
avatarUrl: https://avatars.githubusercontent.com/u/11562137?u=dc01daafb354135603a263729e3d26d939c0c452&v=4
190187
url: https://github.com/wdwinslow
188+
- login: drcat101
189+
avatarUrl: https://avatars.githubusercontent.com/u/11951946?u=e714b957185b8cf3d301cced7fc3ad2842122c6a&v=4
190+
url: https://github.com/drcat101
191191
- login: jsoques
192192
avatarUrl: https://avatars.githubusercontent.com/u/12414216?u=620921d94196546cc8b9eae2cc4cbc3f95bab42f&v=4
193193
url: https://github.com/jsoques
@@ -212,9 +212,6 @@ sponsors:
212212
- login: Filimoa
213213
avatarUrl: https://avatars.githubusercontent.com/u/21352040?u=0be845711495bbd7b756e13fcaeb8efc1ebd78ba&v=4
214214
url: https://github.com/Filimoa
215-
- login: rahulsalgare
216-
avatarUrl: https://avatars.githubusercontent.com/u/21974430?u=ade6f182b94554ab8491d7421de5e78f711dcaf8&v=4
217-
url: https://github.com/rahulsalgare
218215
- login: BrettskiPy
219216
avatarUrl: https://avatars.githubusercontent.com/u/30988215?u=d8a94a67e140d5ee5427724b292cc52d8827087a&v=4
220217
url: https://github.com/BrettskiPy
@@ -269,9 +266,12 @@ sponsors:
269266
- login: pyt3h
270267
avatarUrl: https://avatars.githubusercontent.com/u/99658549?v=4
271268
url: https://github.com/pyt3h
272-
- - login: SebTota
273-
avatarUrl: https://avatars.githubusercontent.com/u/25122511?v=4
274-
url: https://github.com/SebTota
269+
- login: apitally
270+
avatarUrl: https://avatars.githubusercontent.com/u/138365043?v=4
271+
url: https://github.com/apitally
272+
- - login: getsentry
273+
avatarUrl: https://avatars.githubusercontent.com/u/1396951?v=4
274+
url: https://github.com/getsentry
275275
- - login: pawamoy
276276
avatarUrl: https://avatars.githubusercontent.com/u/3999221?u=b030e4c89df2f3a36bc4710b925bdeb6745c9856&v=4
277277
url: https://github.com/pawamoy
@@ -299,6 +299,9 @@ sponsors:
299299
- login: securancy
300300
avatarUrl: https://avatars.githubusercontent.com/u/606673?v=4
301301
url: https://github.com/securancy
302+
- login: natehouk
303+
avatarUrl: https://avatars.githubusercontent.com/u/805439?u=d8e4be629dc5d7efae7146157e41ee0bd129d9bc&v=4
304+
url: https://github.com/natehouk
302305
- login: browniebroke
303306
avatarUrl: https://avatars.githubusercontent.com/u/861044?u=5abfca5588f3e906b31583d7ee62f6de4b68aa24&v=4
304307
url: https://github.com/browniebroke
@@ -323,9 +326,9 @@ sponsors:
323326
- login: anthonycorletti
324327
avatarUrl: https://avatars.githubusercontent.com/u/3477132?v=4
325328
url: https://github.com/anthonycorletti
326-
- login: nikeee
327-
avatarUrl: https://avatars.githubusercontent.com/u/4068864?u=bbe73151f2b409c120160d032dc9aa6875ef0c4b&v=4
328-
url: https://github.com/nikeee
329+
- login: erhan
330+
avatarUrl: https://avatars.githubusercontent.com/u/3872888?u=cd9a20fcd33c5598d9d7797a78dedfc9148592f6&v=4
331+
url: https://github.com/erhan
329332
- login: Alisa-lisa
330333
avatarUrl: https://avatars.githubusercontent.com/u/4137964?u=e7e393504f554f4ff15863a1e01a5746863ef9ce&v=4
331334
url: https://github.com/Alisa-lisa
@@ -366,7 +369,7 @@ sponsors:
366369
avatarUrl: https://avatars.githubusercontent.com/u/8574425?u=aad2a9674273c9275fe414d99269b7418d144089&v=4
367370
url: https://github.com/albertkun
368371
- login: xncbf
369-
avatarUrl: https://avatars.githubusercontent.com/u/9462045?u=866a1311e4bd3ec5ae84185c4fcc99f397c883d7&v=4
372+
avatarUrl: https://avatars.githubusercontent.com/u/9462045?u=05cb2d7c797a02f666805ad4639d9582f31d432c&v=4
370373
url: https://github.com/xncbf
371374
- login: DMantis
372375
avatarUrl: https://avatars.githubusercontent.com/u/9536869?v=4
@@ -398,9 +401,6 @@ sponsors:
398401
- login: jangia
399402
avatarUrl: https://avatars.githubusercontent.com/u/17927101?u=9261b9bb0c3e3bb1ecba43e8915dc58d8c9a077e&v=4
400403
url: https://github.com/jangia
401-
- login: timzaz
402-
avatarUrl: https://avatars.githubusercontent.com/u/19709244?u=264d7db95c28156363760229c30ee1116efd4eeb&v=4
403-
url: https://github.com/timzaz
404404
- login: shuheng-liu
405405
avatarUrl: https://avatars.githubusercontent.com/u/22414322?u=813c45f30786c6b511b21a661def025d8f7b609e&v=4
406406
url: https://github.com/shuheng-liu
@@ -419,30 +419,27 @@ sponsors:
419419
- login: joerambo
420420
avatarUrl: https://avatars.githubusercontent.com/u/26282974?v=4
421421
url: https://github.com/joerambo
422-
- login: msniezynski
423-
avatarUrl: https://avatars.githubusercontent.com/u/27588547?u=0e3be5ac57dcfdf124f470bcdf74b5bf79af1b6c&v=4
424-
url: https://github.com/msniezynski
425422
- login: rlnchow
426423
avatarUrl: https://avatars.githubusercontent.com/u/28018479?u=a93ca9cf1422b9ece155784a72d5f2fdbce7adff&v=4
427424
url: https://github.com/rlnchow
428425
- login: mertguvencli
429426
avatarUrl: https://avatars.githubusercontent.com/u/29762151?u=16a906d90df96c8cff9ea131a575c4bc171b1523&v=4
430427
url: https://github.com/mertguvencli
428+
- login: White-Mask
429+
avatarUrl: https://avatars.githubusercontent.com/u/31826970?u=8625355dc25ddf9c85a8b2b0b9932826c4c8f44c&v=4
430+
url: https://github.com/White-Mask
431431
- login: HosamAlmoghraby
432432
avatarUrl: https://avatars.githubusercontent.com/u/32025281?u=aa1b09feabccbf9dc506b81c71155f32d126cefa&v=4
433433
url: https://github.com/HosamAlmoghraby
434434
- login: engineerjoe440
435435
avatarUrl: https://avatars.githubusercontent.com/u/33275230?u=eb223cad27017bb1e936ee9b429b450d092d0236&v=4
436436
url: https://github.com/engineerjoe440
437437
- login: bnkc
438-
avatarUrl: https://avatars.githubusercontent.com/u/34930566?u=1a104991a2ea90bfe304bc0b9ef191c7e4891a0e&v=4
438+
avatarUrl: https://avatars.githubusercontent.com/u/34930566?u=ea88e4bd668c984cff1bca3e71ab2deb37fafdc4&v=4
439439
url: https://github.com/bnkc
440440
- login: declon
441441
avatarUrl: https://avatars.githubusercontent.com/u/36180226?v=4
442442
url: https://github.com/declon
443-
- login: miraedbswo
444-
avatarUrl: https://avatars.githubusercontent.com/u/36796047?u=9e7a5b3e558edc61d35d0f9dfac37541bae7f56d&v=4
445-
url: https://github.com/miraedbswo
446443
- login: DSMilestone6538
447444
avatarUrl: https://avatars.githubusercontent.com/u/37230924?u=f299dce910366471523155e0cb213356d34aadc1&v=4
448445
url: https://github.com/DSMilestone6538
@@ -458,9 +455,6 @@ sponsors:
458455
- login: ArtyomVancyan
459456
avatarUrl: https://avatars.githubusercontent.com/u/44609997?v=4
460457
url: https://github.com/ArtyomVancyan
461-
- login: josehenriqueroveda
462-
avatarUrl: https://avatars.githubusercontent.com/u/46685746?u=2e672057a7dbe1dba47e57c378fc0cac336022eb&v=4
463-
url: https://github.com/josehenriqueroveda
464458
- login: hgalytoby
465459
avatarUrl: https://avatars.githubusercontent.com/u/50397689?u=f4888c2c54929bd86eed0d3971d09fcb306e5088&v=4
466460
url: https://github.com/hgalytoby
@@ -473,12 +467,18 @@ sponsors:
473467
- login: 0417taehyun
474468
avatarUrl: https://avatars.githubusercontent.com/u/63915557?u=47debaa860fd52c9b98c97ef357ddcec3b3fb399&v=4
475469
url: https://github.com/0417taehyun
470+
- login: fernandosmither
471+
avatarUrl: https://avatars.githubusercontent.com/u/66154723?u=a76a037b5d674938a75d2cff862fb6dfd63ec214&v=4
472+
url: https://github.com/fernandosmither
476473
- login: romabozhanovgithub
477474
avatarUrl: https://avatars.githubusercontent.com/u/67696229?u=e4b921eef096415300425aca249348f8abb78ad7&v=4
478475
url: https://github.com/romabozhanovgithub
479476
- login: mbukeRepo
480477
avatarUrl: https://avatars.githubusercontent.com/u/70356088?u=d2eb23e2b222a3b316c4183b05a3236b32819dc2&v=4
481478
url: https://github.com/mbukeRepo
479+
- login: PelicanQ
480+
avatarUrl: https://avatars.githubusercontent.com/u/77930606?v=4
481+
url: https://github.com/PelicanQ
482482
- - login: ssbarnea
483483
avatarUrl: https://avatars.githubusercontent.com/u/102495?u=b4bf6818deefe59952ac22fec6ed8c76de1b8f7c&v=4
484484
url: https://github.com/ssbarnea
@@ -491,18 +491,15 @@ sponsors:
491491
- login: sadikkuzu
492492
avatarUrl: https://avatars.githubusercontent.com/u/23168063?u=d179c06bb9f65c4167fcab118526819f8e0dac17&v=4
493493
url: https://github.com/sadikkuzu
494-
- login: samnimoh
495-
avatarUrl: https://avatars.githubusercontent.com/u/33413170?u=147bc516be6cb647b28d7e3b3fea3a018a331145&v=4
496-
url: https://github.com/samnimoh
494+
- login: msniezynski
495+
avatarUrl: https://avatars.githubusercontent.com/u/27588547?u=0e3be5ac57dcfdf124f470bcdf74b5bf79af1b6c&v=4
496+
url: https://github.com/msniezynski
497497
- login: danburonline
498498
avatarUrl: https://avatars.githubusercontent.com/u/34251194?u=2cad4388c1544e539ecb732d656e42fb07b4ff2d&v=4
499499
url: https://github.com/danburonline
500500
- login: rwxd
501501
avatarUrl: https://avatars.githubusercontent.com/u/40308458?u=cd04a39e3655923be4f25c2ba8a5a07b3da3230a&v=4
502502
url: https://github.com/rwxd
503-
- login: shywn-mrk
504-
avatarUrl: https://avatars.githubusercontent.com/u/51455763?u=389e2608e4056fe5e1f23e9ad56a9415277504d3&v=4
505-
url: https://github.com/shywn-mrk
506-
- login: almeida-matheus
507-
avatarUrl: https://avatars.githubusercontent.com/u/66216198?u=54335eaa0ced626be5c1ff52fead1ebc032286ec&v=4
508-
url: https://github.com/almeida-matheus
503+
- login: IvanReyesO7
504+
avatarUrl: https://avatars.githubusercontent.com/u/74359151?u=4b2c368f71e1411b462a8c2290c920ad35dc1af8&v=4
505+
url: https://github.com/IvanReyesO7

0 commit comments

Comments
 (0)
0