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:
authorMarcel Amirault <mamirault@gitlab.com>2020-10-23 06:10:36 +0300
committerEvan Read <eread@gitlab.com>2020-10-23 06:10:36 +0300
commit545328f32af7e1d1d85d7cc2689af96998e977e6 (patch)
tree1d54d222472172fdca98c2609439fc4972788ab5 /content
parentc9c969789347f37ded5a9c14bbc794820ca455d1 (diff)
Remove index.html entries from the navbar
Diffstat (limited to 'content')
-rw-r--r--content/_data/charts-nav.yaml4
-rw-r--r--content/_data/default-nav.yaml26
-rw-r--r--content/_data/omnibus-nav.yaml4
-rw-r--r--content/_data/runner-nav.yaml4
4 files changed, 23 insertions, 15 deletions
diff --git a/content/_data/charts-nav.yaml b/content/_data/charts-nav.yaml
index c0de0adf..433d85fd 100644
--- a/content/_data/charts-nav.yaml
+++ b/content/_data/charts-nav.yaml
@@ -3,7 +3,9 @@
### Rules
# - Do not start the URL with "/"
# - Do not add anchors to the links
-# - If the URL ends with index.html, leave it empty (e.g. section_url: 'index.html' --> section_url: '')
+# - If the URL ends with index.html, leave it empty (e.g. section_url: 'dir/index.html' --> section_url: 'dir/')
+# - If you're referring to a section within index.html, include only the anchor (e.g. section_url:`dir/#some-anchor`)
+# For more information, see https://docs.gitlab.com/ee/development/documentation/site_architecture/global_nav.html#urls
#
### Options
# - Use "ee_only: true" for categories and docs available only in EE.
diff --git a/content/_data/default-nav.yaml b/content/_data/default-nav.yaml
index f03c4048..b7b6e6c0 100644
--- a/content/_data/default-nav.yaml
+++ b/content/_data/default-nav.yaml
@@ -3,7 +3,9 @@
### Rules
# - Do not start the URL with "/"
# - Do not add anchors to the links
-# - If the URL ends with index.html, leave it empty (e.g. section_url: 'index.html' --> section_url: '')
+# - If the URL ends with index.html, leave it empty (e.g. section_url: 'dir/index.html' --> section_url: 'dir/')
+# - If you're referring to a section within index.html, include only the anchor (e.g. section_url:`dir/#some-anchor`)
+# For more information, see https://docs.gitlab.com/ee/development/documentation/site_architecture/global_nav.html#urls
#
### Options
# - Use "ee_only: true" for categories and docs available only in EE.
@@ -45,7 +47,7 @@ sections:
section_url: 'user/analytics/'
section_categories:
- category_title: Instance-level
- category_url: 'user/analytics/index.html#instance-level-analytics'
+ category_url: 'user/analytics/#instance-level-analytics'
docs:
- doc_title: DevOps Report
doc_url: 'user/admin_area/analytics/dev_ops_report.html'
@@ -54,29 +56,29 @@ sections:
- doc_title: User Cohorts
doc_url: 'user/admin_area/analytics/user_cohorts.html'
- category_title: Group-level
- category_url: 'user/analytics/index.html#group-level-analytics'
+ category_url: 'user/analytics/#group-level-analytics'
docs:
- doc_title: Contribution
- doc_url: 'user/group/contribution_analytics/index.html'
+ doc_url: 'user/group/contribution_analytics/'
- doc_title: Insights
- doc_url: 'user/group/insights/index.html'
+ doc_url: 'user/group/insights/'
- doc_title: Issue
- doc_url: 'user/group/issues_analytics/index.html'
+ doc_url: 'user/group/issues_analytics/'
- doc_title: Productivity
doc_url: 'user/analytics/productivity_analytics.html'
- doc_title: Value Stream
doc_url: 'user/analytics/value_stream_analytics.html'
- category_title: Project-level
- category_url: 'user/analytics/index.html#project-level-analytics'
+ category_url: 'user/analytics/#project-level-analytics'
docs:
- doc_title: CI/CD
- doc_url: 'ci/pipelines/index.html#pipeline-success-and-duration-charts'
+ doc_url: 'ci/pipelines/#pipeline-success-and-duration-charts'
- doc_title: Code Review
doc_url: 'user/analytics/code_review_analytics.html'
- doc_title: Insights
- doc_url: 'user/group/insights/index.html'
+ doc_url: 'user/project/insights/'
- doc_title: Issue
- doc_url: 'user/group/issues_analytics/index.html'
+ doc_url: 'user/group/issues_analytics/'
- doc_title: Merge Request
doc_url: 'user/analytics/merge_request_analytics.html'
- doc_title: Repository
@@ -116,7 +118,7 @@ sections:
- doc_title: Configuring Crossplane
doc_url: 'user/clusters/crossplane.html'
- category_title: Infrastructure as code
- category_url: 'user/infrastructure/index.html'
+ category_url: 'user/infrastructure/'
- category_title: Kubernetes Agent
category_url: 'user/clusters/agent/'
- category_title: Management project
@@ -1349,7 +1351,7 @@ sections:
- category_title: Activate and deactivate users
category_url: 'user/admin_area/activating_deactivating_users.html'
- category_title: Analytics
- category_url: 'user/admin_area/analytics/index.html'
+ category_url: 'user/admin_area/analytics/'
- category_title: Audit events
category_url: 'administration/audit_events.html'
ee_only: true
diff --git a/content/_data/omnibus-nav.yaml b/content/_data/omnibus-nav.yaml
index b89c6421..8a7da5d4 100644
--- a/content/_data/omnibus-nav.yaml
+++ b/content/_data/omnibus-nav.yaml
@@ -3,7 +3,9 @@
### Rules
# - Do not start the URL with "/"
# - Do not add anchors to the links
-# - If the URL ends with index.html, leave it empty (e.g. section_url: 'index.html' --> section_url: '')
+# - If the URL ends with index.html, leave it empty (e.g. section_url: 'dir/index.html' --> section_url: 'dir/')
+# - If you're referring to a section within index.html, include only the anchor (e.g. section_url:`dir/#some-anchor`)
+# For more information, see https://docs.gitlab.com/ee/development/documentation/site_architecture/global_nav.html#urls
#
### Options
# - Use "ee_only: true" for categories and docs available only in EE.
diff --git a/content/_data/runner-nav.yaml b/content/_data/runner-nav.yaml
index 73eb6633..fd666f31 100644
--- a/content/_data/runner-nav.yaml
+++ b/content/_data/runner-nav.yaml
@@ -3,7 +3,9 @@
### Rules
# - Do not start the URL with "/"
# - Do not add anchors to the links
-# - If the URL ends with index.html, leave it empty (e.g. section_url: 'index.html' --> section_url: '')
+# - If the URL ends with index.html, leave it empty (e.g. section_url: 'dir/index.html' --> section_url: 'dir/')
+# - If you're referring to a section within index.html, include only the anchor (e.g. section_url:`dir/#some-anchor`)
+# For more information, see https://docs.gitlab.com/ee/development/documentation/site_architecture/global_nav.html#urls
#
### Options
# - Use "ee_only: true" for categories and docs available only in EE.