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
path: root/Rules
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-01-24 14:07:25 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-01-24 14:07:25 +0300
commitf9b38f86e269a894c895651473abb2f1176c3d29 (patch)
tree7662484f476af10e4d331c3b5aae77f47c9d34f3 /Rules
parent27bb6ffe526f20a98c71b8143314fcd5c8558339 (diff)
Ignore yaml files before building the rest of the content
Diffstat (limited to 'Rules')
-rw-r--r--Rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules b/Rules
index c59e75ed..13e7ebed 100644
--- a/Rules
+++ b/Rules
@@ -126,15 +126,15 @@ route '/**/*.{html,md}' do
end
end
+# Leave yaml files out
+ignore '/_data/*.yaml'
+
compile '/**/*' do
unless item.identifier.ext == 'scss'
write item.identifier.to_s
end
end
-# Leave yaml files out
-ignore '/_data/*.yaml'
-
layout '/**/*', :erb
# Leave the favicon alone.