Compare commits
29 Commits
Author | SHA1 | Date |
---|---|---|
xxq250 | eb52bfae5a | |
xxq250 | 87d711cc46 | |
xxq250 | 171438666c | |
E4wel83hu | 1a49548848 | |
E4wel83hu | cfd30d2098 | |
E4wel83hu | 6ca9d53755 | |
wuxin21 | 1c2bfc2df9 | |
wuxin21 | cff83d6414 | |
wuxin21 | bb7a588914 | |
SheYuWu03 | 2007e6743b | |
SheYuWu03 | 8c50638373 | |
SheYuWu03 | fe0ed5e2c2 | |
SheYuWu03 | 4147bc9881 | |
luoyi21a | 52a2772907 | |
pzthu8lr3 | a28a256aac | |
qinxiaonan_branch | 8784a49c47 | |
qinxiaonan_branch | 006daf7d4d | |
pzthu8lr3 | f0ae1156c6 | |
wuxin21 | 9d45037685 | |
SheYuWu03 | 6986c0e8b5 | |
SheYuWu03 | 6674748d21 | |
liushi | cd47e47fd7 | |
Dongjiaqi | a3eb671abf | |
djq | fc95f9272e | |
liushi | ec35e2a27c | |
djq | 104a2e633c | |
Dongjiaqi | edf2c30fce | |
Dongjiaqi | 3154a54b6b | |
djq | aa00f60189 |
|
@ -0,0 +1,58 @@
|
|||
version: 2
|
||||
name: test
|
||||
description: ""
|
||||
global:
|
||||
concurrent: 1
|
||||
trigger:
|
||||
webhook: gitlink@1.0.0
|
||||
event:
|
||||
- ref: pr
|
||||
ruleset:
|
||||
- param-ref: source_branch
|
||||
operator: EQ
|
||||
value: '""'
|
||||
ruleset-operator: AND
|
||||
workflow:
|
||||
- ref: start
|
||||
name: 开始
|
||||
task: start
|
||||
- ref: end
|
||||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- ssh_cmd_0
|
||||
- ref: git_clone_0
|
||||
name: git clone
|
||||
task: git_clone@1.2.9
|
||||
input:
|
||||
remote_url: '"https://gitlink.org.cn/SheYuWu03/gitlink_help_center.git"'
|
||||
ref: '"refs/heads/master"'
|
||||
commit_id: '""'
|
||||
depth: 1
|
||||
needs:
|
||||
- start
|
||||
- ref: docker_image_build_0
|
||||
name: docker镜像构建
|
||||
task: docker_image_build@1.6.0
|
||||
input:
|
||||
image_name: '""'
|
||||
image_tag: '"latest"'
|
||||
registry_address: '""'
|
||||
docker_file: '"Dockerfile"'
|
||||
docker_build_path: '"."'
|
||||
workspace: '"."'
|
||||
image_push: true
|
||||
build_args: '""'
|
||||
needs:
|
||||
- git_clone_0
|
||||
- ref: ssh_cmd_0
|
||||
name: ssh执行命令
|
||||
task: ssh_cmd@1.1.1
|
||||
input:
|
||||
ssh_ip: '""'
|
||||
ssh_port: '"22"'
|
||||
ssh_user: '"root"'
|
||||
ssh_cmd: '""'
|
||||
needs:
|
||||
- docker_image_build_0
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
version: 2
|
||||
name: 发布更新
|
||||
description: ""
|
||||
global:
|
||||
concurrent: 1
|
||||
trigger:
|
||||
webhook: gitlink@1.0.0
|
||||
event:
|
||||
- ref: push
|
||||
ruleset-operator: AND
|
||||
workflow:
|
||||
- ref: start
|
||||
name: 开始
|
||||
task: start
|
||||
- ref: end
|
||||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- git_push_0
|
||||
- ref: docker_image_build_0
|
||||
name: docker镜像构建
|
||||
task: docker_image_build@1.6.0
|
||||
input:
|
||||
image_name: '""'
|
||||
image_tag: '"latest"'
|
||||
registry_address: '""'
|
||||
docker_file: '"Dockerfile"'
|
||||
docker_build_path: '"."'
|
||||
workspace: '"."'
|
||||
image_push: true
|
||||
build_args: '""'
|
||||
needs:
|
||||
- start
|
||||
- ref: ssh_cmd_0
|
||||
name: ssh执行命令
|
||||
task: ssh_cmd@1.1.1
|
||||
input:
|
||||
ssh_ip: '""'
|
||||
ssh_port: '"22"'
|
||||
ssh_user: '"root"'
|
||||
ssh_cmd: '""'
|
||||
needs:
|
||||
- docker_image_build_0
|
||||
- ref: git_push_0
|
||||
name: git_push
|
||||
task: sailstar/git_push@1.0.6
|
||||
input:
|
||||
remote_url: '""'
|
||||
remote_branch: '"master"'
|
||||
source_path: '""'
|
||||
target_dir: '""'
|
||||
commit_message: '"jianmu default commit message"'
|
||||
committer_name: '"jianmu"'
|
||||
committer_email: '"jianmu@example.com"'
|
||||
needs:
|
||||
- ssh_cmd_0
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
FROM node:18-alpine
|
||||
LABEL maintainer="yuankaifneg <2894340009@qq.com>"
|
||||
|
||||
WORKDIR /gitlink_help_center
|
||||
|
||||
COPY ./ /gitlink_help_center/
|
||||
|
||||
RUN yarn install
|
||||
RUN npm run build -- --locale zh-cn
|
||||
CMD ["npm", "run", "serve"]
|
|
@ -69,6 +69,25 @@ GitLink(确实开源)是CCF官方指定的开源创新服务平台,旨在
|
|||
<h2 class="text--truncate cardTitle" title="第三方服务">第三方服务</h2>
|
||||
<p>第三方服务使用及设置[3个文档]</p>
|
||||
</a></article>
|
||||
<article class="col col--6 margin-bottom--lg">
|
||||
<a class="card padding--lg cardContainer" href="/通知/通知简介">
|
||||
<h2 class="text--truncate cardTitle" title="通知">通知</h2>
|
||||
<p>通知简介及设置[2个文档]</p>
|
||||
</a></article>
|
||||
<article class="col col--6 margin-bottom--lg">
|
||||
<a class="card padding--lg cardContainer" href="/个人主页建站/建站流程">
|
||||
<h2 class="text--truncate cardTitle" title="个人主页建站">个人主页建站</h2>
|
||||
<p>个人主页建站使用及设置[2个文档]</p>
|
||||
</a></article>
|
||||
<article class="col col--6 margin-bottom--lg">
|
||||
<a class="card padding--lg cardContainer" href="/平台公告">
|
||||
<h2 class="text--truncate cardTitle" title="平台公告">平台公告</h2>
|
||||
</a></article>
|
||||
<article class="col col--6 margin-bottom--lg">
|
||||
<a class="card padding--lg cardContainer" href="/服务协议/GitLink服务协议">
|
||||
<h2 class="text--truncate cardTitle" title="服务协议">服务协议</h2>
|
||||
<p>GitLink服务协议[1个文档]</p>
|
||||
</a></article>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
|
@ -1,4 +1,15 @@
|
|||
---
|
||||
sidebar_label: '分支管理'
|
||||
sidebar_position: 5
|
||||
---
|
||||
---
|
||||
### **1. 分支管理方式(1)**
|
||||
在代码库栏下,如下图所示,用户可以点击代码库分支从而查看当前项目的所有分支,并且选择对其进行操作。
|
||||
![](../../static/img/代码库管理/分支管理/分支管理方式(1).png)<br/>
|
||||
|
||||
### **2. 分支管理方式(2)**
|
||||
在仓库设置栏下,如下图所示,用户可以对当前项目的分支进行设置。
|
||||
![](../../static/img/代码库管理/分支管理/分支管理方式(2).png)<br/>
|
||||
|
||||
### **3. 新建分支**
|
||||
在代码库栏下点击“代码库分支”后,如下图所示,用户可以点击右上方“新建分支”按钮快捷建立新的分支。
|
||||
![](../../static/img/代码库管理/分支管理/新建分支.png)<br/>
|
|
@ -1,4 +1,15 @@
|
|||
---
|
||||
sidebar_label: '文件管理'
|
||||
sidebar_position: 4
|
||||
---
|
||||
---
|
||||
### **1. 文件内容快捷查看**
|
||||
在代码库栏下,如下图所示,用户可以点击左侧目录文件或者代码库栏下方文件,直接快捷查看文件内容。
|
||||
![](../../static/img/代码库管理/文件管理/点击文件快捷查看内容.png)<br/>
|
||||
|
||||
### **2. 上传文件**
|
||||
在代码库栏下,点击“文件”按钮,选择“上传文件”,随后会直接跳转至下图所示界面。
|
||||
![](../../static/img/代码库管理/文件管理/上传文件.png)<br/>
|
||||
|
||||
### **3. 创建文件**
|
||||
在代码库栏下,点击“文件”按钮,选择“创建文件”,随后会直接跳转至下图所示界面。
|
||||
![](../../static/img/代码库管理/文件管理/创建文件.png)<br/>
|
|
@ -3,4 +3,11 @@ sidebar_label: '代码评审'
|
|||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# 代码评审
|
||||
# 代码评审
|
||||
### **1. 进入代码评审**
|
||||
如下图所示,点击“代码评审”按钮可以进入代码评审
|
||||
![](../../static/img/PR/进入代码评审.png)<br/>
|
||||
|
||||
### **2. 代码评审界面**
|
||||
如下图所示,用户可以在该界面下查看该PR操作要合并的新的代码,并对其进行评审。
|
||||
![](../../static/img/PR/具体代码评审.png)<br/>
|
||||
|
|
|
@ -62,6 +62,6 @@ sidebar_position: 1
|
|||
|
||||
## 用户操作流程
|
||||
|
||||
![](../../static/img/di_san_fang/重晴鸟代码溯源/用户操作流程.png)<br/>
|
||||
![](../../static/img/di_san_fang/重晴鸟代码溯源/用户操作流程(新).png)<br/>
|
||||
|
||||
<center>用户操作流程</center><br/>
|
||||
|
|
|
@ -12,6 +12,7 @@ sidebar_position: 2
|
|||
![](/img/notice/home_notice.png)
|
||||
<br/>
|
||||
或在头像下拉列表中选择设置可以进入消息通知设置界面;
|
||||
|
||||
![](/img/notice/into_notice.png)
|
||||
|
||||
#### 2.进行通知设置
|
||||
|
|
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 66 KiB |