Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-09-15 09:21:06 +0300
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-09-15 09:21:06 +0300
commitaf5b92cf6de59682ab3d22a029bea001468bfd8d (patch)
tree3f0ff41df559eef0bde6a3027018511697947d7b /nanoc.yaml
parent19731dd89207fef53f2482eded7d269fc31809a6 (diff)
Add a gdk environment to override some default settings
That will simplify running the docs site in GDK https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/doc/howto/gitlab_docs.md
Diffstat (limited to 'nanoc.yaml')
-rw-r--r--nanoc.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/nanoc.yaml b/nanoc.yaml
index 26610b24..b07cf399 100644
--- a/nanoc.yaml
+++ b/nanoc.yaml
@@ -147,3 +147,16 @@ products:
dest_dir: 'content/runner'
doc_dir: 'docs'
expose: true
+
+# Override the products used in prod so that it can be used with GDK
+# https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/doc/howto/gitlab_docs.md
+environments:
+ gdk:
+ products:
+ docs:
+ full_name: 'GitLab Docs'
+ short_name: 'GitLab Docs'
+ slug: 'docs'
+ index_file: 'README.*'
+ description: 'Browse user and administration documentation and guides for GitLab Community Edition.'
+ expose: true