Skip to content

Commit

Permalink
chore: deploy the default site to GitHub Pages and Gitee Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ourai committed Apr 27, 2024
1 parent 491f1a2 commit 8f49cc4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
20 changes: 15 additions & 5 deletions .knosys/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
"command": "./.knosys/scripts",
"site": {
"default": {
"alias": "nop-github",
"generator": "hexo",
"data": {
"site": "./data",
"project-nop-entropy": "../nop-entropy/docs"
},
"git": {
"url": "https://github.com/nop-platform/nop-platform.github.io.git",
"branch": "main"
}
},
"cn": {
"source": "./.knosys/sites/default",
"alias": "nop-gitee",
"generator": "hexo",
"data": {
"site": "./data",
Expand All @@ -20,11 +34,7 @@
}
},
"en": {
"alias": "nop-en",
"git": {
"url": "https://github.com/nop-platform/nop-platform.github.io.git",
"branch": "main"
}
"alias": "nop-en"
}
}
}
8 changes: 4 additions & 4 deletions .knosys/sites/default/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ theme_config:
url: /community
- text: 团队
url: /team
- text: Gitee 组织
url: https://gitee.com/nop-platform
- text: English
url: https://nop-platform.github.io
navbar:
placement: right
footer:
Expand All @@ -130,6 +126,10 @@ theme_config:
url: /projects/nop-entropy/docs
- text: 社区
url: /community
- text: GitHub
url: https://github.com/nop-platform
- text: Gitee
url: https://gitee.com/nop-platform
analytics:
- provider: baidu
code: f8ce4b3ea0ca58886cf92248c093c7d9
Expand Down
2 changes: 1 addition & 1 deletion .knosys/sites/default/source/_data/local/members.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
website: https://linxoid.com/ourai
projects:
- name: Nop 官网
url: https://gitee.com/nop-platform/site
url: https://github.com/nop-platform/site
sponsor: https://ourai.ws/sponsor/
2 changes: 1 addition & 1 deletion .knosys/sites/default/source/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ title: 社区

| 项目 | Git 仓库 |
| --- | --- |
| 官方网站 | [`nop-platform/nop-platform`](https://gitee.com/nop-platform/nop-platform/issues) |
| 官方网站 | [`nop-platform/site`](https://github.com/nop-platform/site/issues) |
| Nop 平台 | [`canonical-entropy/nop-entropy`](https://gitee.com/canonical-entropy/nop-entropy/issues) |

## 讨论群组
Expand Down

0 comments on commit 8f49cc4

Please sign in to comment.