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

publish 3.1.0 #1707

Merged
merged 2 commits into from
Apr 24, 2022
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
13 changes: 9 additions & 4 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
- v3.1.0

jobs:
deploy:
Expand Down Expand Up @@ -35,17 +35,19 @@ jobs:
- name: mike list delete
run: |
mike list
- name: Mike Deploy master
- name: Mike Deploy 3.1.0
run: |
mike deploy master -p --rebase
#mike delete v3.1.0 -p
mike deploy 3.1.0 -p --rebase
# mike set-default 3.1.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 3.1.0 versions.json *.html

- name: Transfer
# uses: garygrossgarten/github-action-scp@release
Expand All @@ -68,6 +70,9 @@ jobs:
script: |
mkdir -p /usr/web/nebula-docs/
tar -xzf /usr/web/nebula-docs.tar.gz -C /usr/web/nebula-docs/
mkdir -p /usr/web/nebula-docs/site/pdf/
cp -f /usr/web/nebula-docs/3.1.0/pdf/NebulaGraph-CN.pdf /usr/web/nebula-docs/site/pdf/NebulaGraph-book.pdf

# pip3 install --upgrade pip
# pip3 install -r /usr/web/nebula-docs/requirement.txt
# - name: Deploy
Expand Down
4 changes: 2 additions & 2 deletions docs-2.0/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

/* nebula 白天主题色 */
[data-md-color-scheme="nebula"]{
--md-primary-fg-color: #002FA7; /* 导航栏页面颜色 */
--md-accent-fg-color: #00FFFF; /* 选中/悬浮颜色 */
--md-primary-fg-color: #A3D49C; /* 导航栏页面颜色 */
--md-accent-fg-color: #EA618E; /* 选中/悬浮颜色 */

--md-code-fg-color: rgb(12, 21, 26); /* 代码段字体色 */
--md-code-bg-color: #eaebec;/* 代码段背景色 */
Expand Down
8 changes: 1 addition & 7 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ theme:
favicon: 'assets/images/favicon.ico'
# Change color in `stylesheets > extra.css`
palette:
- scheme: default
primary: teal
accent: light green
- scheme: nebula
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- scheme: slate
primary: deep orange
accent: red
toggle:
icon: material/toggle-switch
name: Switch to light mode
Expand Down Expand Up @@ -93,8 +89,6 @@ extra:
dockercompose:
release: 3.1.0
branch: release-3.1
common:
release: 2.5.0
dashboard:
release: 3.0.0
base100: 1.0.0
Expand Down
100 changes: 0 additions & 100 deletions overrides/partials/header.html

This file was deleted.