Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bda5e70f
Commit
bda5e70f
authored
Dec 22, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add plain HTML to the GitLab pages docs.
parent
683a7954
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
doc/pages/README.md
doc/pages/README.md
+21
-3
No files found.
doc/pages/README.md
View file @
bda5e70f
...
...
@@ -71,8 +71,8 @@ To make use of GitLab Pages, your `.gitlab-ci.yml` must follow the rules below:
The pages are created after the build completes successfully and the artifacts
for the
`pages`
job are uploaded to GitLab.
The example below
is using
[
Jekyll
][]
and assumes that
the created HTML files
are generated
under the
`public/`
directory.
The example below
uses
[
Jekyll
][]
and generates
the created HTML files
under the
`public/`
directory.
```
yaml
image
:
ruby:2.1
...
...
@@ -86,11 +86,29 @@ pages:
-
public
```
The example below doesn't use any static site generator, but simply moves all files
from the root of the project to the
`public/`
directory.
```
yaml
pages
:
stage
:
deploy
script
:
-
mkdir .public
-
cp -r * .public
-
mv .public public
artifacts
:
paths
:
-
public
only
:
-
master
```
## Example projects
Below is a list of example projects
that make use of static
generators.
Below is a list of example projects
for GitLab Pages with a plain HTML website or various static site
generators.
Contributions are very welcome.
*
[
Plain HTML
](
https://gitlab.com/gitlab-examples/pages-plain-html
)
*
[
Jekyll
](
https://gitlab.com/gitlab-examples/pages-jekyll
)
## Custom error codes pages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment