Skip to content

Commit c873aa3

Browse files
authored
🔧 Upgrade MkDocs Material and update configs (#217)
1 parent 800a5f2 commit c873aa3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

mkdocs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ theme:
2828
repo_name: tiangolo/sqlmodel
2929
repo_url: https://github.com/tiangolo/sqlmodel
3030
edit_uri: ''
31-
google_analytics:
32-
- UA-205713594-2
33-
- auto
3431
nav:
3532
- SQLModel: index.md
3633
- features.md
@@ -104,12 +101,15 @@ markdown_extensions:
104101
custom_fences:
105102
- name: mermaid
106103
class: mermaid
107-
format: !!python/name:pymdownx.superfences.fence_div_format ''
104+
format: !!python/name:pymdownx.superfences.fence_code_format ''
108105
- pymdownx.tabbed:
109106
alternate_style: true
110107
- mdx_include
111108

112109
extra:
110+
analytics:
111+
provider: google
112+
property: UA-205713594-2
113113
social:
114114
- icon: fontawesome/brands/github-alt
115115
link: https://github.com/tiangolo/sqlmodel
@@ -129,6 +129,5 @@ extra_css:
129129
- css/custom.css
130130

131131
extra_javascript:
132-
- https://unpkg.com/[email protected]/dist/mermaid.min.js
133132
- js/termynal.js
134133
- js/custom.js

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ mypy = "0.930"
4141
flake8 = "^3.9.2"
4242
black = {version = "^21.5-beta.1", python = "^3.7"}
4343
mkdocs = "^1.2.1"
44-
mkdocs-material = "^7.1.9"
44+
mkdocs-material = "^8.1.4"
4545
mdx-include = "^1.4.1"
4646
coverage = {extras = ["toml"], version = "^5.5"}
4747
fastapi = "^0.68.0"

0 commit comments

Comments
 (0)