Skip to content

Commit

Permalink
release 2.6.0 (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Nov 2, 2021
1 parent 3fc61ee commit a09d50c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish docs via GitHub Pages
on:
push:
branches:
- master
- v2.6.0

jobs:
deploy:
Expand Down Expand Up @@ -37,15 +37,16 @@ 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: |
git branch
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
Expand Down
10 changes: 5 additions & 5 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a09d50c

Please sign in to comment.