From a09d50c7447ab02f5101ac811deeff16829c5db3 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Tue, 2 Nov 2021 10:15:33 +0800 Subject: [PATCH] release 2.6.0 (#1145) --- .github/workflows/deploy.yaml | 7 ++++--- mkdocs.yml | 10 +++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index d81bfc3ad7a..d5b763cefeb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -2,7 +2,7 @@ name: Publish docs via GitHub Pages on: push: branches: - - master + - v2.6.0 jobs: deploy: @@ -37,7 +37,8 @@ jobs: mike list - name: Mike Deploy master run: | - mike deploy master -p --rebase + mike deploy 2.6.0 -p --rebase + mike set-default 2.6.0 -p --rebase mike list - name: show git branch run: | @@ -45,7 +46,7 @@ jobs: git checkout gh-pages - name: Compress run: | - tar -vczf nebula-docs.tar.gz master versions.json *.html + tar -vczf nebula-docs.tar.gz 2.6.0 versions.json *.html - name: Transfer # uses: garygrossgarten/github-action-scp@release diff --git a/mkdocs.yml b/mkdocs.yml index 67b47dbd65b..b350c496b99 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,7 +2,7 @@ site_name: Nebula Graph Database 手册 site_description: Documentation for Nebula Graph Database site_author: Nebula Graph site_url: https://docs.nebula-graph.com.cn/ -edit_uri: 'edit/master/docs-2.0/' +edit_uri: 'edit/v2.6.0/docs-2.0/' docs_dir: docs-2.0 # repository @@ -21,7 +21,7 @@ theme: palette: - scheme: default primary: teal - accent: light green + accent: brown toggle: icon: material/toggle-switch-off-outline name: Switch to dark mode @@ -43,12 +43,12 @@ extra_css: - stylesheets/extra.css extra: nebula: - release: master + release: 2.6.0 nightly: nightly master: master base20: 2.0 base200: 2.0.0 - branch: master + branch: v2.6.0 version: method: mike social: @@ -515,7 +515,7 @@ plugins: - with-pdf: copyright: 2021 Vesoft Inc. - cover_subtitle: master since master + cover_subtitle: 2.6.0 author: 吴敏,周瑶,梁振亚,杨怡璇,黄凤仙 cover: true back_cover: true