From 4be3f45e20e6f3652572896fee062f44e1ff4ae5 Mon Sep 17 00:00:00 2001 From: Eric Jolibois Date: Tue, 12 Oct 2021 23:46:47 +0200 Subject: [PATCH] chore(deps): bump mkdocs (#3168) * chore(deps-dev): bump mkdocs requirements * fix: google analytics `google_analytics` is deprecated and mkdocs raises an error in strict mode Switched to new syntax https://github.com/squidfunk/mkdocs-material/issues/2055 https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics --- docs/requirements.txt | 4 ++-- mkdocs.yml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 2f15209..2f55e59 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,9 +4,9 @@ flake8-quotes==3.3.0 hypothesis==6.18.0 markdown-include==0.6.0 mdx-truly-sane-lists==1.2 -mkdocs==1.1.2 +mkdocs==1.2.2 mkdocs-exclude==1.0.2 -mkdocs-material==7.1.6 +mkdocs-material==7.2.6 sqlalchemy orjson ujson diff --git a/mkdocs.yml b/mkdocs.yml index fc97d1d..537bca4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,9 +27,10 @@ theme: repo_name: samuelcolvin/pydantic repo_url: https://github.com/samuelcolvin/pydantic -google_analytics: -- 'UA-62733018-4' -- 'auto' +extra: + analytics: + provider: google + property: UA-62733018-4 extra_css: - 'extra/terminal.css'