Skip to content

Commit

Permalink
Add/update documentation frontmatter
Browse files Browse the repository at this point in the history
Some documentation files had no frontmatter block, making them invisible
in the sidebar navigation on the website (since they were missing the
linkTitle property). Fixed by adding the frontmatter block.

Additionally, update weights to adjust the order of links:
- Installation at the top
- Deprecations at the bottom
- Migration guides just before Deprecations

Increase weight values to facilitate insertion of future documents.
  • Loading branch information
eliasnorrby authored and tekton-robot committed May 26, 2021
1 parent 2d05c9b commit 48c867b
Show file tree
Hide file tree
Showing 23 changed files with 48 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/auth.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Authentication"
weight: 7
weight: 1000
---
-->
# Authentication at Run Time
Expand Down
2 changes: 1 addition & 1 deletion docs/conditions.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Conditions"
weight: 11
weight: 2100
---
-->
# Conditions
Expand Down
2 changes: 1 addition & 1 deletion docs/container-contract.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Container Contract"
weight: 8
weight: 1700
---
-->
# Container Contract
Expand Down
2 changes: 1 addition & 1 deletion docs/deprecations.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Deprecations"
weight: 16
weight: 5000
---
-->

Expand Down
7 changes: 7 additions & 0 deletions docs/enabling-ha.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
---
linkTitle: "HA Support"
weight: 1500
---
-->

# HA Support for Tekton Pipeline Controllers

- [Overview](#overview)
Expand Down
2 changes: 1 addition & 1 deletion docs/events.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Events"
weight: 2
weight: 700
---
-->
# Events in Tekton
Expand Down
7 changes: 7 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
---
linkTitle: "Installation"
weight: 100
---
-->

# Installing Tekton Pipelines

This guide explains how to install Tekton Pipelines. It covers the following topics:
Expand Down
2 changes: 1 addition & 1 deletion docs/labels.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Labels"
weight: 10
weight: 1300
---
-->
# Labels
Expand Down
2 changes: 1 addition & 1 deletion docs/logs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Logs"
weight: 9
weight: 1100
---
-->
# Execution Logs
Expand Down
2 changes: 1 addition & 1 deletion docs/metrics.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Pipeline Metrics"
weight: 14
weight: 1200
---
-->
# Pipeline Controller Metrics
Expand Down
2 changes: 1 addition & 1 deletion docs/migrating-from-knative-build.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Migrating from Knative Build"
weight: 13
weight: 4100
---
-->
# Migrating from Knative Build
Expand Down
7 changes: 7 additions & 0 deletions docs/migrating-v1alpha1-to-v1beta1.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
---
linkTitle: "Migrating from Tekton v1alpha1"
weight: 4000
---
-->

# Migrating From Tekton `v1alpha1` to Tekton `v1beta1`

- [Changes to fields](#changes-to-fields)
Expand Down
2 changes: 1 addition & 1 deletion docs/pipelineruns.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "PipelineRuns"
weight: 4
weight: 500
---
-->
# PipelineRuns
Expand Down
2 changes: 1 addition & 1 deletion docs/pipelines.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Pipelines"
weight: 3
weight: 400
---
-->
# Pipelines
Expand Down
2 changes: 1 addition & 1 deletion docs/podtemplates.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Pod templates"
weight: 12
weight: 1400
---
-->
# Pod templates
Expand Down
2 changes: 1 addition & 1 deletion docs/resources.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "PipelineResources"
weight: 6
weight: 2000
---
-->
# PipelineResources
Expand Down
2 changes: 1 addition & 1 deletion docs/runs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Runs"
weight: 2
weight: 800
---
-->

Expand Down
2 changes: 1 addition & 1 deletion docs/taskruns.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "TaskRuns"
weight: 2
weight: 300
---
-->

Expand Down
2 changes: 1 addition & 1 deletion docs/tasks.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Tasks"
weight: 1
weight: 200
---
-->
# Tasks
Expand Down
4 changes: 2 additions & 2 deletions docs/tekton-bundle-contracts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Tekton Bundles Contract"
weight: 8
weight: 1800
---
-->

Expand Down Expand Up @@ -97,4 +97,4 @@ layers:
Except as otherwise noted, the content of this page is licensed under the
[Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/),
and code samples are licensed under the
[Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
[Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
7 changes: 7 additions & 0 deletions docs/tekton-controller-performance-configuration.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
---
linkTitle: "Tekton Controller Performance Configuration"
weight: 1600
---
-->

# Tekton Controller Performance Configuration
Configure ThreadsPerController, QPS and Burst

Expand Down
2 changes: 1 addition & 1 deletion docs/variables.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Variable Substitutions"
weight: 15
weight: 900
---
-->
# Variable Substitutions Supported by `Tasks` and `Pipelines`
Expand Down
2 changes: 1 addition & 1 deletion docs/workspaces.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
---
linkTitle: "Workspaces"
weight: 5
weight: 600
---
-->
# Workspaces
Expand Down

0 comments on commit 48c867b

Please sign in to comment.