📝 Update details syntax with new pymdown extensions format (#713)

This commit is contained in:
Sebastián Ramírez
2023-11-28 23:12:33 +01:00
committed by GitHub
parent be464fba69
commit 799d0aa7a6
37 changed files with 409 additions and 614 deletions

View File

@@ -24,14 +24,13 @@ And we also create a `TeamUpdate` **data model**.
# Code below omitted 👇
```
<details>
<summary>👀 Full file preview</summary>
/// details | 👀 Full file preview
```Python
{!./docs_src/tutorial/fastapi/teams/tutorial001.py!}
```
</details>
///
We now also have **relationship attributes**. 🎉
@@ -47,14 +46,13 @@ Let's now update the `Hero` models too.
# Code below omitted 👇
```
<details>
<summary>👀 Full file preview</summary>
/// details | 👀 Full file preview
```Python
{!./docs_src/tutorial/fastapi/teams/tutorial001.py!}
```
</details>
///
We now have a `team_id` in the hero models.
@@ -74,14 +72,13 @@ Notice that the **relationship attributes**, the ones with `Relationship()`, are
# Code below omitted 👇
```
<details>
<summary>👀 Full file preview</summary>
/// details | 👀 Full file preview
```Python
{!./docs_src/tutorial/fastapi/teams/tutorial001.py!}
```
</details>
///
## Path Operations for Teams
@@ -97,14 +94,13 @@ These are equivalent and very similar to the **path operations** for the **heroe
# Code below omitted 👇
```
<details>
<summary>👀 Full file preview</summary>
/// details | 👀 Full file preview
```Python
{!./docs_src/tutorial/fastapi/teams/tutorial001.py!}
```
</details>
///
## Using Relationships Attributes