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>2019-09-13 17:03:01 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-09-13 17:03:01 +0300
commit2f5e895aebfa5678e51db303b97de56c51e3cebe (patch)
treeaaa9574456900c0f74a51001318552c0e0d6ff26
parent477908eccd0cc7f19db0ef1b1eef2424e6180634 (diff)
Remove gitlab-foss Git URLs as we don't need them anymore
[ci skip]
-rw-r--r--README.md22
-rw-r--r--content/archives/index.html4
-rw-r--r--layouts/feedback.html6
-rw-r--r--lib/helpers/edit_on_gitlab.rb10
-rw-r--r--nanoc.yaml8
5 files changed, 21 insertions, 29 deletions
diff --git a/README.md b/README.md
index 926cf55f..8c108fb0 100644
--- a/README.md
+++ b/README.md
@@ -46,18 +46,18 @@ See [LICENSE](LICENSE).
## Projects we pull from
-There are currently 5 products that are pulled and generate the docs website:
+There are currently 4 products that are pulled and generate the docs website:
-- [GitLab Enterprise Edition](https://gitlab.com/gitlab-org/gitlab-ee)
-- [GitLab Community Edition](https://gitlab.com/gitlab-org/gitlab-ce)
+- [GitLab](https://gitlab.com/gitlab-org/gitlab)
- [Omnibus GitLab](https://gitlab.com/gitlab-org/omnibus-gitlab)
- [GitLab Runner](https://gitlab.com/gitlab-org/gitlab-runner)
- [GitLab Chart](https://gitlab.com/gitlab-org/charts/gitlab)
**Note:**
Although GitLab Community Edition is generated, it is hidden from the website
-as it's a subset of the Enterprise Edition. We generate it for consistency,
-until the [GitLab codebase is unified](https://gitlab.com/gitlab-org/gitlab-ee/issues/2952).
+as it's the same as the Enterprise Edition. We generate it for consistency,
+until [better redirects](https://gitlab.com/gitlab-org/gitlab-pages/issues/24)
+are implemented.
## Requirements
@@ -167,8 +167,7 @@ Then, it's time to clone the needed repositories.
```sh
## Using HTTPS (for members that do not have Developer access)
- git clone https://gitlab.com/<username>/gitlab-ce.git
- git clone https://gitlab.com/<username>/gitlab-ee.git
+ git clone https://gitlab.com/<username>/gitlab.git
git clone https://gitlab.com/<username>/gitlab-runner.git
git clone https://gitlab.com/<username>/omnibus-gitlab.git
git clone https://gitlab.com/<username>/gitlab.git charts
@@ -180,8 +179,7 @@ Then, it's time to clone the needed repositories.
```sh
## Using SSH (for members that have Developer access)
- git clone git@gitlab.com:gitlab-org/gitlab-ce.git
- git clone git@gitlab.com:gitlab-org/gitlab-ee.git
+ git clone git@gitlab.com:gitlab-org/gitlab.git
git clone git@gitlab.com:gitlab-org/gitlab-runner.git
git clone git@gitlab.com:gitlab-org/omnibus-gitlab.git
git clone git@gitlab.com:gitlab-org/charts/gitlab.git charts
@@ -200,8 +198,7 @@ the directory that holds the documentation content.
1. For each one of the products, create the symlink:
```sh
- ln -s ~/dev/gitlab/gitlab-ce/doc ~/dev/gitlab/gitlab-docs/content/ce
- ln -s ~/dev/gitlab/gitlab-ee/doc ~/dev/gitlab/gitlab-docs/content/ee
+ ln -s ~/dev/gitlab/gitlab/doc ~/dev/gitlab/gitlab-docs/content/ee
ln -s ~/dev/gitlab/omnibus-gitlab/doc ~/dev/gitlab/gitlab-docs/content/omnibus
ln -s ~/dev/gitlab/gitlab-runner/docs ~/dev/gitlab/gitlab-docs/content/runner
ln -s ~/dev/gitlab/charts/doc ~/dev/gitlab/gitlab-docs/content/charts
@@ -380,7 +377,7 @@ for its search function. This is how it works:
1. On the docs side, we use a [docsearch layout](/layouts/docsearch.html) which
is present on pretty much every page except https://docs.gitlab.com/search/,
which uses its [own layout](/layouts/instantsearch.html). In those layouts,
- there's a javascript snippet which initiates docsearch by using an API key
+ there's a Javascript snippet which initiates docsearch by using an API key
and an index name (`gitlab`) that are needed for Algolia to show the results.
**For GitLab employees:**
@@ -390,7 +387,6 @@ title "Email, Slack, and GitLab Groups and Aliases", search for `docsearch`,
and add a comment with your email to be added to the alias that gets the weekly
reports.
-[job]: https://gitlab.com/gitlab-org/gitlab-ce/blob/2c00d00ec1c39dbea0e0e54265027b5476b78e3c/.gitlab-ci.yml#L308-318
[pages]: https://about.gitlab.com/features/pages/
[environments page]: https://gitlab.com/gitlab-org/gitlab-docs/environments/folders/review
[env-url-button]: https://docs.gitlab.com/ce/ci/environments.html#making-use-of-the-environment-url
diff --git a/content/archives/index.html b/content/archives/index.html
index fe70b9a4..1393d4e8 100644
--- a/content/archives/index.html
+++ b/content/archives/index.html
@@ -21,8 +21,8 @@ locally.
The <a href="/">default version</a> of this website
is built from the <code>doc</code> directories on the <code>master</code> branches of
-<a href="https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc">GitLab Community Edition</a>,
-<a href="https://gitlab.com/gitlab-org/gitlab-ee/tree/master/doc">GitLab Enterprise Edition</a>,
+<a href="https://gitlab.com/gitlab-org/gitlab-foss/tree/master/doc">GitLab Community Edition</a>,
+<a href="https://gitlab.com/gitlab-org/gitlab/tree/master/doc">GitLab Enterprise Edition</a>,
<a href="https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc">Omnibus GitLab</a>, and
<a href="https://gitlab.com/gitlab-org/gitlab-runner/tree/master/docs">GitLab Runner</a>,
all of them brought together by the
diff --git a/layouts/feedback.html b/layouts/feedback.html
index 859dcab1..dfc9a72b 100644
--- a/layouts/feedback.html
+++ b/layouts/feedback.html
@@ -37,7 +37,7 @@
</p>
</div>
<div class="col-md-4 col-sm-12">
- <a role="button" class="comments-holder btn btn-default" href="https://gitlab.com/gitlab-org/gitlab-ce/issues/new?issue[title]=Docs%20-%20product%20feedback:%20Write%20your%20title&issue[description]=Describe%20what%20you%20would%20like%20to%20see%20improved.%0A%0A%3C!--%20Don%27t%20edit%20below%20this%20line%20--%3E%0A%0A%2Flabel%20~%22docs%5C-comments%22%20" target="_blank">
+ <a role="button" class="comments-holder btn btn-default" href="https://gitlab.com/gitlab-org/gitlab/issues/new?issue[title]=Docs%20-%20product%20feedback:%20Write%20your%20title&issue[description]=Describe%20what%20you%20would%20like%20to%20see%20improved.%0A%0A%3C!--%20Don%27t%20edit%20below%20this%20line%20--%3E%0A%0A%2Flabel%20~%22docs%5C-comments%22%20" target="_blank">
<i class="fa fa-info-circle" aria-hidden="true"></i>
CREATE AN ISSUE
</a>
@@ -50,7 +50,7 @@
</p>
</div>
<div class="col-md-4 col-sm-12">
- <a role="button" class="comments-holder btn btn-default" href="https://gitlab.com/gitlab-org/gitlab-ce/issues/new?issuable_template=Feature%20proposal&issue[title]=Docs%20feedback%20-%20feature%20proposal:%20Write%20your%20title" target="_blank">
+ <a role="button" class="comments-holder btn btn-default" href="https://gitlab.com/gitlab-org/gitlab/issues/new?issuable_template=Feature%20proposal&issue[title]=Docs%20feedback%20-%20feature%20proposal:%20Write%20your%20title" target="_blank">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
SUBMIT FEATURE PROPOSAL
</a>
@@ -188,7 +188,7 @@
</p>
</div>
<div class="col-md-4 col-sm-12">
- <a role="button" class="comments-holder btn btn-default" href="https://gitlab.com/gitlab-org/gitlab-ce/issues/new?issue[title]=Docs%20feedback:%20Write%20your%20title&issue[description]=Link%20the%20doc%20and%20describe%20what%20is%20wrong%20with%20it.%0A%0A%3C!--%20Don%27t%20edit%20below%20this%20line%20--%3E%0A%0A%2Flabel%20~Documentation%20~%22docs%5C-comments%22%20" target="_blank">
+ <a role="button" class="comments-holder btn btn-default" href="https://gitlab.com/gitlab-org/gitlab/issues/new?issue[title]=Docs%20feedback:%20Write%20your%20title&issue[description]=Link%20the%20doc%20and%20describe%20what%20is%20wrong%20with%20it.%0A%0A%3C!--%20Don%27t%20edit%20below%20this%20line%20--%3E%0A%0A%2Flabel%20~Documentation%20~%22docs%5C-comments%22%20" target="_blank">
<i class="fa fa-info-circle" aria-hidden="true"></i>
CREATE AN ISSUE
</a>
diff --git a/lib/helpers/edit_on_gitlab.rb b/lib/helpers/edit_on_gitlab.rb
index d6dbd8ad..5bc70f33 100644
--- a/lib/helpers/edit_on_gitlab.rb
+++ b/lib/helpers/edit_on_gitlab.rb
@@ -23,14 +23,10 @@ module Nanoc::Helpers
# GitLab Helm chart repo
gitlab_url = "https://gitlab.com/#{product}/gitlab/blob/master/doc/#{docs_content_filename}"
gitlab_ide_url = "https://gitlab.com/-/ide/project/#{product}/gitlab/edit/master/-/doc/#{docs_content_filename}"
+ # gitlab-foss and gitlab repos
elsif %w[ce ee].include?(product)
- # gitlab-ce and gitlab-ee repos
- if product == "ee"
- ce_file = File.join(root_dir, @item[:content_filename].sub(@config[:products][:ee][:dirs][:dest_dir], @config[:products][:ce][:dirs][:dest_dir]))
- product = "ce" if File.exists?(ce_file)
- end
- gitlab_url = "https://gitlab.com/gitlab-org/gitlab-#{product}/blob/master/doc/#{docs_content_filename}"
- gitlab_ide_url = "https://gitlab.com/-/ide/project/gitlab-org/gitlab-#{product}/edit/master/-/doc/#{docs_content_filename}"
+ gitlab_url = "https://gitlab.com/gitlab-org/gitlab/blob/master/doc/#{docs_content_filename}"
+ gitlab_ide_url = "https://gitlab.com/-/ide/project/gitlab-org/gitlab/edit/master/-/doc/#{docs_content_filename}"
else
# gitlab-docs pages
gitlab_url = "https://gitlab.com/gitlab-org/gitlab-docs/blob/master/#{@item[:content_filename]}"
diff --git a/nanoc.yaml b/nanoc.yaml
index 0e31849b..c8ec5dcd 100644
--- a/nanoc.yaml
+++ b/nanoc.yaml
@@ -128,13 +128,13 @@ debug: false
products:
ce:
- full_name: 'GitLab CE'
- short_name: 'GitLab CE'
+ full_name: 'GitLab FOSS'
+ short_name: 'GitLab FOSS'
slug: 'ce'
index_file: 'README.*'
img: '/assets/images/docs-gitlab.svg'
description: 'Browse user and administration documentation and guides for GitLab Community Edition.'
- repo: 'https://gitlab.com/gitlab-org/gitlab-ce.git'
+ repo: 'https://gitlab.com/gitlab-org/gitlab-foss.git'
dirs:
temp_dir: 'tmp/ce/'
dest_dir: 'content/ce'
@@ -147,7 +147,7 @@ products:
index_file: 'README.*'
img: '/assets/images/docs-gitlab.svg'
description: 'Usage and administration of GitLab Community Edition (CE), Enterprise Edition (EE), and GitLab.com.'
- repo: 'https://gitlab.com/gitlab-org/gitlab-ee.git'
+ repo: 'https://gitlab.com/gitlab-org/gitlab.git'
dirs:
temp_dir: 'tmp/ee/'
dest_dir: 'content/ee'