⬆ Upgrade MkDocs Material and configs (#4385)

This commit is contained in:
Sebastián Ramírez 2022-01-07 11:24:00 +01:00 committed by GitHub
parent 4e9f75912f
commit 764ecae2d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 81 additions and 65 deletions

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -70,8 +67,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -71,8 +68,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -176,8 +173,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -80,8 +77,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -85,8 +82,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -70,8 +67,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -70,8 +67,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -110,8 +107,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -80,8 +77,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -70,8 +67,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -90,8 +87,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -70,8 +67,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -70,8 +67,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -73,8 +70,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -70,8 +67,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -29,9 +29,6 @@ theme:
repo_name: tiangolo/fastapi repo_name: tiangolo/fastapi
repo_url: https://github.com/tiangolo/fastapi repo_url: https://github.com/tiangolo/fastapi
edit_uri: '' edit_uri: ''
google_analytics:
- UA-133183413-1
- auto
plugins: plugins:
- search - search
- markdownextradata: - markdownextradata:
@ -120,8 +117,12 @@ markdown_extensions:
- name: mermaid - name: mermaid
class: mermaid class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed - pymdownx.tabbed:
alternate_style: true
extra: extra:
analytics:
provider: google
property: UA-133183413-1
social: social:
- icon: fontawesome/brands/github-alt - icon: fontawesome/brands/github-alt
link: https://github.com/tiangolo/fastapi link: https://github.com/tiangolo/fastapi

View File

@ -69,7 +69,7 @@ test = [
] ]
doc = [ doc = [
"mkdocs >=1.1.2,<2.0.0", "mkdocs >=1.1.2,<2.0.0",
"mkdocs-material >=7.1.9,<8.0.0", "mkdocs-material >=8.1.4,<9.0.0",
"mdx-include >=1.4.1,<2.0.0", "mdx-include >=1.4.1,<2.0.0",
"mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0", "mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0",
"typer-cli >=0.0.12,<0.0.13", "typer-cli >=0.0.12,<0.0.13",