Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment the set-default in deploy #2315

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/deploy-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/deploy-zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ 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
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

Expand Down Expand Up @@ -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/
Expand Down