dubbo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu...@apache.org
Subject [dubbo-website] 16/38: fix typo
Date Wed, 21 Oct 2020 10:11:53 GMT
This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git

commit c89ce9b4c8bb01b91d0192637d0afa656e52bb78
Author: ken.lj <ken.lj.hz@gmail.com>
AuthorDate: Thu Aug 13 15:33:02 2020 +0800

    fix typo
---
 .github/workflows/deploy.yml | 2 +-
 mkdocs_zh.yml                | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index c0788a6..4b256d2 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -18,7 +18,7 @@ jobs:
           pip install \
               mkdocs-material>5.5.3 \
               mkdocs-minify-plugin>=0.3 \
-              mkdocs- redirects>=1.0
+              mkdocs-redirects>=1.0
           mkdocs --version
           mkdocs build -f mkdocs_en.yml -d ./output/en-us && mkdocs build -f mkdocs_zh.yml
-d ./output/zh-cn
           mkdir deploy-dist && cp -R img ./output/zh-cn/ && cp -R img ./output/en-us/
&& cp -R ./output/* deploy-dist/
diff --git a/mkdocs_zh.yml b/mkdocs_zh.yml
index 4b89ea4..6f8a0f0 100644
--- a/mkdocs_zh.yml
+++ b/mkdocs_zh.yml
@@ -207,6 +207,8 @@ theme:
 # Plugins
 plugins:
   - search
+  - minify:
+      minify_html: true
 
 # Customization
 extra:


Mime
View raw message