From 50189a220a594fb1149bfa60c1110da95747e44f Mon Sep 17 00:00:00 2001 From: Chris Chen Date: Wed, 25 Oct 2023 17:00:48 +0800 Subject: [PATCH] Comment the set-default in deploy --- .github/workflows/deploy-en.yml | 5 +++-- .github/workflows/deploy-zh.yml | 5 +++-- mkdocs.yml | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-en.yml b/.github/workflows/deploy-en.yml index 767468ed23f..1c4d0abf302 100644 --- a/.github/workflows/deploy-en.yml +++ b/.github/workflows/deploy-en.yml @@ -35,8 +35,9 @@ jobs: git fetch origin gh-pages --depth=1 # fix mike's CI update mike list mike deploy ${{ env.ACTIONTEST }} -p --rebase - mike set-default ${{ env.ACTIONTEST }} -p --rebase - mike list + # The set-default command is only applicable to the latest version and must be commented in older versions. + # mike set-default ${{ env.ACTIONTEST }} -p --rebase + # mike list # - name: Deploy # uses: peaceiris/actions-gh-pages@v3 diff --git a/.github/workflows/deploy-zh.yml b/.github/workflows/deploy-zh.yml index 4903977411b..dfe52b7ecde 100644 --- a/.github/workflows/deploy-zh.yml +++ b/.github/workflows/deploy-zh.yml @@ -43,8 +43,9 @@ jobs: git fetch origin gh-pages-zh --depth=1 # fix mike's CI update mike list mike deploy ${{ env.ACTIONTEST }} -b gh-pages-zh -p --rebase - mike set-default ${{ env.ACTIONTEST }} -b gh-pages-zh -p --rebase - mike list + # The set-default command is only applicable to the latest version and must be commented in older versions. + # mike set-default ${{ env.ACTIONTEST }} -b gh-pages-zh -p --rebase + # mike list - name: show Chinese git branches run: | diff --git a/mkdocs.yml b/mkdocs.yml index 403654c51db..a7d0499ca03 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,7 +7,7 @@ site_url: https://docs.nebula-graph.io/ docs_dir: docs-2.0-en copyright: Copyright © 2023 NebulaGraph # Modify this line in each version upgrade release -edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/v3.6.0/docs-2.0-en/' +edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/master/docs-2.0-en/' # en.end # zh.begin @@ -15,7 +15,7 @@ site_name: NebulaGraph Database 手册 site_url: https://docs.nebula-graph.com.cn/ docs_dir: docs-2.0-zh # Modify this line in each version upgrade release -edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/v3.6.0/docs-2.0-zh/' +edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/master/docs-2.0-zh/' copyright: Copyright © 2023 NebulaGraph - 浙ICP备20010487号 # zh.end @@ -88,7 +88,7 @@ plugins: # image lightbox plugin(https://github.com/blueswen/mkdocs-glightbox#usage) - glightbox: zoomable: true -# - search # This is the original mkdocs search plugin. To use algolia search, comment out this plugin. + - search # This is the original mkdocs search plugin. To use algolia search, comment out this plugin. - macros: # zh.begin include_dir: docs-2.0-zh/reuse/