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 <axil@gitlab.com>2018-05-16 10:24:45 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-05-16 10:24:45 +0300
commit905d01817f7b28b99755a0a4f8279340cc931012 (patch)
treed47b94fab824a008a5a0d82486673634d41966e3
parent55a83de31ee3d57fc860dfd4321e28a12b5b7724 (diff)
Fixes from https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/264
-rw-r--r--content/index.erb8
-rw-r--r--layouts/docsearch.html1
-rw-r--r--layouts/header.html2
-rw-r--r--nanoc.yaml10
4 files changed, 10 insertions, 11 deletions
diff --git a/content/index.erb b/content/index.erb
index c05ef128..bbda17f7 100644
--- a/content/index.erb
+++ b/content/index.erb
@@ -41,19 +41,19 @@ title: GitLab Documentation
<div class="popular-topics">
<h1>Most popular topics</h1>
<div class="topics-container flex-container">
- <a class="topic" href="/ee/ci/yaml">
+ <a class="topic" href="/ee/ci/yaml/">
<h4>CI/CD YAML reference</h4>
<p>Learn how to configure gitlab-ci.yml for your project.</p>
</a>
- <a class="topic" href="/ee/api">
+ <a class="topic" href="/ee/api/">
<h4>API</h4>
<p>Automate GitLab via a simple and powerful API.</p>
</a>
- <a class="topic" href="/ee/ssh">
+ <a class="topic" href="/ee/ssh/">
<h4>SSH</h4>
<p>Learn how to create an SSH key pair and configure GitLab to authenticate via SSH from your local computer.</p>
</a>
- <a class="topic" href="ee/user/gitlab_com">
+ <a class="topic" href="/ee/user/gitlab_com/">
<h4>GitLab.com Settings</h4>
<p>Information about the settings that are used on GitLab.com, like SSH keys fingerprints, shared Runners configuration, etc.</p>
</a>
diff --git a/layouts/docsearch.html b/layouts/docsearch.html
index 3b449fe3..a41c3396 100644
--- a/layouts/docsearch.html
+++ b/layouts/docsearch.html
@@ -16,6 +16,7 @@ var search = docsearch({
'autoselect': false
}
});
+
var mobileSearch = docsearch({
apiKey: 'ce1690e1421303458a1fcbea0cc4a927',
indexName: 'gitlab',
diff --git a/layouts/header.html b/layouts/header.html
index 57d45c51..13a14759 100644
--- a/layouts/header.html
+++ b/layouts/header.html
@@ -18,7 +18,7 @@
<ul class="nav">
<% unless @item.identifier.to_s.split('/')[1] == 'search' %>
<li class="nav-item">
- <form id="mobile-search-form" action="/mobileSearch/" method="get">
+ <form id="mobile-search-form" action="/search/" method="get">
<input type="text" name="q" class="docsearch docsearch-mobile" placeholder="Search" required/>
<input type="submit" style="visibility: hidden; position:absolute;" />
</form>
diff --git a/nanoc.yaml b/nanoc.yaml
index 2d3cd735..b8dc9787 100644
--- a/nanoc.yaml
+++ b/nanoc.yaml
@@ -81,12 +81,10 @@ checks:
# Exclude major.minor versions that are used under /archives
- '^/\d{1,2}\.\d{1,2}/$'
# Exclude the extra links listed in the home page
- - 'ee\/api\/'
- - 'ee\/ci\/'
- - 'ee\/ci\/yaml\/'
- - 'ee\/ssh\/'
- - 'ee\/user\/gitlab_com\/'
- - 'ee\/user\/project\/pages\/'
+ - '\/ee\/ci\/yaml\/'
+ - '\/ee\/api\/'
+ - '\/ee\/ssh\/'
+ - '\/ee\/user\/gitlab_com\/'
# Configuration for the “external_links” checker, which checks whether all
# external links are valid.