Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
edc8782e
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,发现更多精彩内容 >>
提交
edc8782e
编写于
2月 24, 2016
作者:
A
Achilleas Pipinellis
提交者:
James Edwards-Jones
1月 31, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Split user and group sections
上级
81533b8f
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
13 addition
and
6 deletion
+13
-6
doc/pages/README.md
doc/pages/README.md
+13
-6
未找到文件。
doc/pages/README.md
浏览文件 @
edc8782e
...
@@ -19,7 +19,8 @@ deploy static pages for your individual projects, your user or your group.
...
@@ -19,7 +19,8 @@ deploy static pages for your individual projects, your user or your group.
**Table of Contents**
*generated with [DocToc](https://github.com/thlorenz/doctoc)*
**Table of Contents**
*generated with [DocToc](https://github.com/thlorenz/doctoc)*
-
[
Getting started with GitLab Pages
](
#getting-started-with-gitlab-pages
)
-
[
Getting started with GitLab Pages
](
#getting-started-with-gitlab-pages
)
-
[
GitLab pages per user or group
](
#gitlab-pages-per-user-or-group
)
-
[
GitLab pages per user
](
#gitlab-pages-per-user
)
-
[
GitLab pages per group
](
#gitlab-pages-per-group
)
-
[
GitLab pages per project
](
#gitlab-pages-per-project
)
-
[
GitLab pages per project
](
#gitlab-pages-per-project
)
-
[
Explore the contents of .gitlab-ci.yml
](
#explore-the-contents-of-gitlab-ci-yml
)
-
[
Explore the contents of .gitlab-ci.yml
](
#explore-the-contents-of-gitlab-ci-yml
)
-
[
Remove the contents of your pages
](
#remove-the-contents-of-your-pages
)
-
[
Remove the contents of your pages
](
#remove-the-contents-of-your-pages
)
...
@@ -68,7 +69,7 @@ as namespaces. There can be only one namespace in a GitLab instance.
...
@@ -68,7 +69,7 @@ as namespaces. There can be only one namespace in a GitLab instance.
> There are some known [limitations](#limitations) regarding namespaces served
> There are some known [limitations](#limitations) regarding namespaces served
> under the general domain name and HTTPS. Make sure to read that section.
> under the general domain name and HTTPS. Make sure to read that section.
### GitLab pages per user
or group
### GitLab pages per user
Head over your GitLab instance that supports GitLab Pages and create a
Head over your GitLab instance that supports GitLab Pages and create a
repository named
`username.example.io`
, where
`username`
is your username on
repository named
`username.example.io`
, where
`username`
is your username on
...
@@ -79,19 +80,25 @@ username, it won’t work, so make sure to get it right.
...
@@ -79,19 +80,25 @@ username, it won’t work, so make sure to get it right.
---
---
To create a group page the steps are exactly the same. Just make sure that
you are creating the project within the group's namespace.
After you upload some static content to your repository, you will be able to
After you upload some static content to your repository, you will be able to
access it under
`http(s)://username.example.io`
. Keep reading to find out how.
access it under
`http(s)://username.example.io`
. Keep reading to find out how.
### GitLab pages per group
To create a group page the steps are the same like when creating a website for
users. Just make sure that you are creating the project within the group's
namespace.
After you upload some static content to your repository, you will be able to
access it under
`http(s)://groupname.example.io`
.
### GitLab pages per project
### GitLab pages per project
> **Note:**
> **Note:**
> You do _not_ have to create a project named `username.example.io` in order to
> You do _not_ have to create a project named `username.example.io` in order to
> serve a project's page.
> serve a project's page.
GitLab Pages for projects
### Explore the contents of .gitlab-ci.yml
### Explore the contents of .gitlab-ci.yml
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录