From 3b13f0b6db65c40d163048627f15fc5e0842743c Mon Sep 17 00:00:00 2001 From: debugtalk Date: Tue, 28 Dec 2021 14:53:32 +0800 Subject: [PATCH] change: update docs --- docs/installation.md | 2 +- mkdocs.yml | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index e3d9a884..189acc85 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -15,7 +15,7 @@ If you want to keep up with the latest version, you can install with github repo $ pip3 install git+https://github.com/httprunner/httprunner.git@master ``` -If you have installed `HttpRunner` before and want to upgrade to the latest version, you can use the `-U` option. +If you have installed `HttpRunner` before and want to upgrade to the latest version, you can use the `-U` option. ```bash $ pip3 install -U httprunner diff --git a/mkdocs.yml b/mkdocs.yml index bd7817d2..dad25f14 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,6 +1,5 @@ -# install mkdocs -# $ pip install mkdocs # 1.1.2 -# $ pip install mkdocs-material # 5.2.2 +# install mkdocs and material design +# $ pip install mkdocs-material # usage # $ mkdocs serve # build docs and preview @@ -30,11 +29,6 @@ theme: text: 'Roboto' code: 'Roboto Mono' -# Google Analytics -google_analytics: - - 'UA-114587036-3' - - 'auto' - # Extensions markdown_extensions: - admonition @@ -55,6 +49,9 @@ extra: link: https://debugtalk.com - icon: fontawesome/brands/github-alt link: 'https://github.com/httprunner' + analytics: + provider: google # Google Analytics + property: UA-114587036-3 # index pages nav: