Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
58b0841a
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
58b0841a
编写于
5月 02, 2017
作者:
A
Achilleas Pipinellis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Create the rest of the wiki docs
上级
1cb827ee
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
51 addition
and
5 deletion
+51
-5
doc/user/project/wiki/img/wiki_create_home_page.png
doc/user/project/wiki/img/wiki_create_home_page.png
+0
-0
doc/user/project/wiki/img/wiki_create_new_page.png
doc/user/project/wiki/img/wiki_create_new_page.png
+0
-0
doc/user/project/wiki/img/wiki_create_new_page_modal.png
doc/user/project/wiki/img/wiki_create_new_page_modal.png
+0
-0
doc/user/project/wiki/img/wiki_page_history.png
doc/user/project/wiki/img/wiki_page_history.png
+0
-0
doc/user/project/wiki/img/wiki_sidebar.png
doc/user/project/wiki/img/wiki_sidebar.png
+0
-0
doc/user/project/wiki/index.md
doc/user/project/wiki/index.md
+51
-5
未找到文件。
doc/user/project/wiki/img/wiki_create_home_page.png
0 → 100644
浏览文件 @
58b0841a
12.1 KB
doc/user/project/wiki/img/wiki_create_new_page.png
查看替换文件 @
1cb827ee
浏览文件 @
58b0841a
12.3 KB
|
W:
|
H:
37.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/user/project/wiki/img/wiki_create_new_page_modal.png
0 → 100644
浏览文件 @
58b0841a
12.9 KB
doc/user/project/wiki/img/wiki_page_history.png
0 → 100644
浏览文件 @
58b0841a
25.9 KB
doc/user/project/wiki/img/wiki_sidebar.png
0 → 100644
浏览文件 @
58b0841a
7.3 KB
doc/user/project/wiki/index.md
浏览文件 @
58b0841a
...
...
@@ -24,28 +24,74 @@ when viewing a Wiki. You only have to fill in the **Content** section and click
**Create page**
. You can always edit it later, so go ahead and write a welcome
message.
![
New home page
](
img/wiki_create_new_page.png
)
Read more in the
[
Creating a new wiki page
](
#creating-a-new-wiki-page
)
section.
![
New home page
](
img/wiki_create_home_page.png
)
## Creating a new wiki page
Create a new page by clicking the
**New page**
button that can be found
in all wiki pages. You will be asked to fill in the page name from which GitLab
will create the path to the page. You can specify a full path for the new file
and any missing directories will be created automatically.
![
New page modal
](
img/wiki_create_new_page_modal.png
)
Once you enter the page name, it's time to fill in its content. GitLab wikis
support Markdown, RDoc and AsciiDoc. For Markdown based pages, all the
[
Markdown features
](
../../markdown.md
)
are supported and for links there is
some
[
wiki specific
](
../../markdown.md#wiki-specific-markdown
)
behavior.
>**Note:**
The wiki is based on a Git repository and contains only text files. Uploading
files via the web interface will upload them in GitLab itself, and they will
not be available if you clone the wiki repo locally.
In the web interface the commit message is optional, but the GitLab Wiki is
based on Git and needs a commit message, so one will be created for you if you
do not enter one.
When you're ready, click the
**Create page**
and the new page will be created.
![
New page
](
img/wiki_create_new_page.png
)
## Editing a wiki page
To edit a page, simply click on the
**Edit**
button. From there on, you can
change its content. When done, click
**Save changes**
for the changes to take
effect.
## Deleting a wiki page
You can find the
**Delete**
button only when editing a page. Click on it and
confirm you want the page to be deleted.
## Viewing a list of all created wiki pages
Every wiki has a sidebar from which a short list of the created pages can be
found. The list is ordered alphabetically.
![
Wiki sidebar
](
img/wiki_sidebar.png
)
If you have many pages, not all will be listed in the sidebar. Click on
**More pages**
to see all of them.
## Viewing the history of a wiki page
## Using different markup languages
The changes of a wiki page over time are recorded in the wiki's Git repository,
and you can view them by clicking the
**Page history**
button.
From the history page you can see the revision of the page (Git commit SHA), its
author, the commit message, when it was last updated and the page markup format.
To see how a previous version of the page looked like, click on a revision
number.
![
Wiki page history
](
img/wiki_page_history.png
)
## Adding and editing wiki pages locally
## Disabling the wiki from your project
Since wikis are based on Git repositories, you can clone them locally and edit
them like you would do with every other Git repository.
On the right sidebar, click on
**Clone repository**
and follow the on-screen
instructions.
[
permissions
]:
../../permissions.md
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录