Compare commits

...

51 Commits

Author SHA1 Message Date
KingChan 5dc425a1ca Merge pull request '个人建站流程' (#32) from KingChan/gitlink_help_center:master into master 2023-12-21 16:49:24 +08:00
呱呱呱 ba351675bb 个人建站流程 2023-12-21 16:47:19 +08:00
xxq250 9b8e1eaca9 refactor: .devops/【生产环境】发布更新.yml 2023-10-30 12:00:32 +08:00
xxq250 9e9b3d3f6b feat: .devops/【生产环境】发布更新.yml 2023-10-30 11:59:27 +08:00
xxq250 82e142fe61 refactor: delete .devops/生产环境发布.yml 2023-10-30 11:59:26 +08:00
xxq250 d4d8fb0698 refactor: .devops/生产环境发布.yml 2023-10-30 11:54:28 +08:00
xxq250 1d600fdb8c refactor: .devops/生产环境发布.yml 2023-10-30 11:39:49 +08:00
xxq250 5e5e9132f9 refactor: .devops/生产环境发布.yml 2023-10-30 11:34:43 +08:00
xxq250 660d16c2f3 refactor: .devops/生产环境发布.yml 2023-10-30 11:33:36 +08:00
xxq250 93119c5a98 refactor: .devops/生产环境发布.yml 2023-10-30 11:33:19 +08:00
xxq250 b96039f842 refactor: .devops/生产环境发布.yml 2023-10-30 11:32:49 +08:00
xxq250 d8b7a009d4 refactor: .devops/生产环境发布.yml 2023-10-30 11:31:13 +08:00
xxq250 4d7553e423 refactor: .devops/生产环境发布.yml 2023-10-30 11:24:10 +08:00
xxq250 35089c7ea1 refactor: .devops/生产环境发布.yml 2023-10-30 11:11:28 +08:00
maxjhandsome 2d39777ef5 Update _category_.json 2023-10-27 09:58:58 +08:00
maxjhandsome f5f1fb8561 Update _category_.json 2023-10-27 09:58:41 +08:00
maxjhandsome 3e125bff36 add details 2023-10-25 14:38:12 +08:00
maxjhandsome 3c27c446a4 Update _category_.json 2023-10-25 14:30:02 +08:00
maxjhandsome 72d422c00b Merge pull request '增加个人主页建站工具说明' (#31) from maxjhandsome/gitlink_help_center:master into master 2023-10-25 14:27:22 +08:00
maxjhandsome 7e4bd1c729 add js 2023-10-25 14:23:55 +08:00
maxjhandsome fd972dd379 Update 建站工具.md 2023-10-25 14:21:09 +08:00
maxjhandsome 92a5b92318 add images 2023-10-25 14:17:22 +08:00
maxjhandsome e2c22f2b4a add img 2023-10-25 14:08:14 +08:00
maxjhandsome 7f61a57c0d ADD file via upload 2023-10-25 14:01:18 +08:00
maxjhandsome 66f93564e4 ADD file via upload 2023-10-25 14:00:29 +08:00
maxjhandsome bd0ab5c69e ADD file via upload 2023-10-25 13:59:57 +08:00
maxjhandsome 42885c0c51 ADD file via upload 2023-10-25 13:59:36 +08:00
maxjhandsome b562419c61 ADD file via upload 2023-10-25 13:59:19 +08:00
maxjhandsome 7a1f642f94 ADD file via upload 2023-10-25 13:58:43 +08:00
maxjhandsome 47494e7e8c ADD file via upload 2023-10-25 13:58:09 +08:00
maxjhandsome 6b04121d48 ADD file via upload 2023-10-25 13:57:55 +08:00
maxjhandsome 0a13a0cea6 ADD file via upload 2023-10-25 13:57:40 +08:00
maxjhandsome 6b9fe91f76 ADD file via upload 2023-10-25 12:01:40 +08:00
maxjhandsome c141c516cc ADD file via upload 2023-10-25 11:54:17 +08:00
maxjhandsome 9cad59ae43 add 个人主页建站 2023-10-25 11:42:42 +08:00
maxjhandsome 5225b382df Delete 'docs/个人主页建站' 2023-10-25 11:00:48 +08:00
maxjhandsome 7e466465da Add 个人主页建站 2023-10-25 11:00:31 +08:00
caishi 07625bc96e url 2023-09-15 18:09:26 +08:00
caishi 221b192361 底部信息调整 2023-09-15 17:37:51 +08:00
caishi 453a22dea1 head mate 2023-09-13 14:12:17 +08:00
caishi 210fd16129 head mate 2023-09-13 14:11:32 +08:00
xxq250 18cf77225b Update _category_.json 2023-09-08 14:20:49 +08:00
caishi 28040892f8 pull 2023-09-08 14:12:29 +08:00
caishi 500420ef77 logo的跳转地址 2023-09-08 14:11:25 +08:00
xxq250 de7d694972 refactor: .devops/生产环境发布.yml 2023-09-08 10:05:06 +08:00
xxq250 2c606be80c refactor: .devops/生产环境发布.yml 2023-09-08 10:02:58 +08:00
xxq250 437c803a8a feat: .devops/生产环境发布.yml 2023-09-08 10:01:28 +08:00
xxq250 02b74f20b3 refactor: delete .devops/未命名项目.yml 2023-09-08 10:01:27 +08:00
xxq250 9c4b476163 feat: .devops/未命名项目.yml 2023-09-08 09:59:14 +08:00
caishi cc72fdd7f3 pull 2023-09-08 09:25:50 +08:00
young 62c3efae4b Update 组织简介.md 2023-08-22 19:47:46 +08:00
30 changed files with 223 additions and 7 deletions

View File

@ -0,0 +1,85 @@
version: 2
name: 【生产环境】发布更新
description: "非管理员请勿操作 "
global:
concurrent: 1
workflow:
- ref: start
name: 开始
task: start
- ref: nodejs_build_0
name: nodejs构建
task: nodejs_build@1.7.0-node18
input:
workspace: ((git_clone_0.git_path))
build_action: '"build"'
build_args: '""'
install_args: '""'
registry_url: '""'
disturl_url: '""'
sass_binary_site_url: '""'
package_management_type: '"yarn"'
vc_package_dir: '"."'
cache_path: '"/cache"'
needs:
- git_clone_0
- ref: git_clone_0
name: git clone
task: git_clone@1.2.9
input:
remote_url: '"https://www.gitlink.org.cn/gitlink/gitlink_help_center.git"'
ref: '"refs/heads/master"'
commit_id: '""'
depth: 1
needs:
- dingtalk_notice_text_0
- ref: end
name: 结束
task: end
needs:
- dingtalk_notice_text_1
- ref: scp_resource_0
name: scp替换打包文件到服务器
task: scp_resource@1.4.3
input:
ssh_pass: ((help_pro_server.password))
ssh_ip: '"106.75.45.236"'
ssh_port: '"22"'
ssh_user: '"root"'
remote_file: '"/root/gitlink_help_center"'
local_file: ((git_clone_0.git_path))+"/build"
file_content: '""'
needs:
- nodejs_build_0
- ref: ssh_cmd_0
name: 重启nginx
task: ssh_cmd@1.1.1
input:
ssh_pass: ((help_pro_server.password))
ssh_ip: '"106.75.45.236"'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_cmd: '"service nginx restart"'
needs:
- scp_resource_0
- ref: dingtalk_notice_text_0
name: 钉钉通知-开始更新
task: dingtalk_notice_text@1.0.2
input:
boot_webhook_url: ((dingdingtalk.url))
msg_text: '"GitLink帮助中心-生产环境开始更新。。。"'
at_user_ids: '"[]"'
at_mobiles: '"[]"'
needs:
- start
- ref: dingtalk_notice_text_1
name: 钉钉通知-更新完成
task: dingtalk_notice_text@1.0.2
input:
boot_webhook_url: ((dingdingtalk.url))
msg_text: '"GitLink帮助中心-生产环境更新完成"'
at_user_ids: '"[]"'
at_mobiles: '"[]"'
needs:
- ssh_cmd_0

View File

@ -1,4 +1,4 @@
{
"label": "Bot市场",
"label": "机器人(Bot)",
"position": 8
}

View File

@ -0,0 +1,4 @@
{
"label": "个人主页建站",
"position": 13
}

View File

@ -0,0 +1,64 @@
---
sidebar_label: '建站工具'
sidebar_position: 2
---
# 个人建站工具
个人主页建站是一个免费的静态网页托管服务,可用于托管静态个人主页、个人博客等静态页面。个人建站不同工具如下
### Hugo工具
使用Hugo 工具创建的仓库需要将代码仓库中config.toml 文件中的 baseURL 修改
将值改成 个人建站服务中显示的网站地址,
例如: 现在有一个网站地址为 http://KingChan.gitlink.net
那么 config.toml 中的 baseURL 应该为 http://KingChan.gitlink.net
![img](../../static/img/个人主页建站/建站工具1.png)
修改完毕后点击提交
![img](../../static/img/个人主页建站/建站工具2.png)
提交完成后,开始部署
![img](../../static/img/建站工具3.png)
静态页面预览
![img](../../static/img/建站工具4.png)
### jekyll工具
如果是jekyll项目
使用jekyll工具创建的个人站点需要对代码仓库中 _config.yml文件中的 baseurl和url两个值进行修改jekyll的配置文件比较特殊需要根据 个人建站服务 中显示的 网站地址
内容修改两个值。
例如: 现在有一个网站地址为 http://KingChan.gitlink.net
那么结果如下:
baseurl: "/"
url: "http://KingChan.gitlink.net"
![img](../../static/img/建站工具5.png)
修改完成后点击 提交变更
![img](../../static/img/个人主页建站/建站工具2.png)
提交完成后,前往建站服务开始部署
![img](../../static/img/建站工具7.png)
![img](../../static/img/建站工具8.png)
### hexo工具
如果是 hexo项目
使用Hexo工具创建的仓库需要将代码仓库中_config.yml 文件中的 url修改
将值改成 个人建站服务中显示的网站地址,
例如: 现在有一个网站地址为 http://KingChan.gitlink.net
那么 _config.toml 中的 url应该为 http://KingChan.gitlink.net
![img](../../static/img/建站工具9.png)
修改完毕后提交变更
![img](../../static/img/个人主页建站/建站工具2.png)
提交完成后,前往建站服务开始部署
![img](../../static/img/建站工具11.png)
![img](../../static/img/建站工具12.png)
![img](../../static/img/建站工具13.png)

View File

@ -0,0 +1,50 @@
---
sidebar_label: '建站流程'
sidebar_position: 1
---
# 个人建站流程
### 我的站点
鼠标移动至右上角头像位置,点击设置进入我的设置界面
![img](../../static/img/建站工具/1.png)
点击左测面板中 个人建站 - 我的站点
![img](../../static/img/建站工具/3.png)
### 创建站点
在我的站点界面点击 新建站点 按钮,进入新建站点界面
在新建站点界面输入站点名称,此名称将在我的站点列表中展示
并且选择对应的建站工具与主题我们为您提供了3种不同的工具每个工具10种主题一共30种供您挑选
![img](../../static/img/建站工具/4.png)
填写完毕后,点击页面下方蓝色按钮: 创建站点
![img](../../static/img/建站工具/5.png)
这样您就拥有了一个网站,并且有了一个代码仓库。
在仓库的 服务 一栏中 个人建站服务的操作界面,这里您可以查看一些您的站点状态、站点名称、网站地址、建站工具、建站时间
### 部署站点
![img](../../static/img/建站工具/6.png)
点击去部署按钮,选择想要部署的分支后点击确定
![img](../../static/img/建站工具/7.png)
等待程序运行一会儿后,会返回一些服务器部署信息给您
部署成功后您就可以访问站点了。点击网站地址就可以跳转
![img](../../static/img/建站工具/8.png)
### 部署完成
![img](../../static/img/建站工具/9.png)

View File

@ -1,4 +1,4 @@
{
"label": "平台公告",
"position": 11
"position": 99
}

View File

@ -1,4 +1,4 @@
{
"label": "服务协议",
"position": 12
"position": 100
}

View File

@ -1,5 +1,5 @@
---
sidebar_label: 组织简介
sidebar_label: '组织简介'
sidebar_position: 1
---

View File

@ -6,7 +6,7 @@ import("@easyops-cn/docusaurus-search-local").PluginOptions;
module.exports = {
title: 'gitlink',
tagline:'gitlink帮助中心',
url: 'https://boxyhq.com',
url: 'https://help.gitlink.org.cn/',
baseUrl: '/',
onBrokenLinks: 'ignore',
onBrokenMarkdownLinks: 'ignore',
@ -16,6 +16,12 @@ module.exports = {
scripts: [],
// stylesheets: ['styles/dark-mode.css'],
themeConfig: {
metadata:[
{name:"Keywords",content:"Gitlink,forgeplus,GitLink,gitLink,GitLink,gitlink,帮助中心"},
{name:"hostname",content:"gitlink.org.cn"},
{property:"og:site_name",content:"GitLink"},
{property:"og:image:alt",content:"GitLink确实开源是中国计算机学会CCF官方指定的开源创新服务平台 - Gitlink/forgeplusGitLink确实开源是中国计算机学会CCF官方指定的开源创新服务平台 for gitlink Gitlink/forgeplus for git"}
],
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
@ -41,7 +47,8 @@ module.exports = {
// width: '32px',
// height: '32px',
alt: 'gitlink',
src: 'img/gitlink.png'
src: 'img/gitlink.png',
href:"https://www.gitlink.org.cn/"
// srcDark: 'img/logo-dark.png',
},
items: [

View File

@ -48,14 +48,16 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
background-color: #33416b;
}
.footer{
height: 473px;
height:450px;
position: relative;
background: #1e1e1e;
padding:0px;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.footer__bottom .margin-bottom--sm{
position: absolute;
@ -108,6 +110,10 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
}
.container .footer__links{
margin-left: 420px;
margin-top: 4rem;
}
.container .footer__logo{
margin-top: 5rem!important;
}
.container .footer__links .footer__col .footer__item{
color: #bdc2d1;

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB