Remove absolute aliases as it can cause unexpected redirects in future versions (#1793)

If a page is removed in a future version, the presence of a "latest"
absolute alias in a previous version can redirect that removed page.

**Notes for reviewer:**
I would like to make similar changes for older, previously published
versions.
I believe you are only publishing documentation on specific tag events
and are not maintaining long lived release branches for backporting
fixes into.
If my understanding is correct, I will make the changes in the website
repository
(https://github.com/grafana/website/tree/master/content/docs/oncall).

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
Jack Baldry 2023-06-05 10:03:38 +01:00 committed by GitHub
parent d8e42c731d
commit d3921a5386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 3 additions and 61 deletions

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/
canonical: https://grafana.com/docs/oncall/latest/
keywords:
- Grafana Cloud

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/escalation-chains-and-routes/
canonical: https://grafana.com/docs/oncall/latest/escalation-chains-and-routes/
title: Escalation Chains and Routes
weight: 600

View file

@ -1,6 +1,5 @@
---
aliases:
- /docs/oncall/latest/get-started/
- /getting-started/
canonical: https://grafana.com/docs/oncall/latest/get-started/
keywords:

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/integration-with-alert-sources/
canonical: https://grafana.com/docs/oncall/latest/integration-with-alert-sources/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,6 @@
---
aliases:
- add-alertmanager/
- /docs/oncall/latest/integrations/available-integrations/configure-alertmanager/
canonical: https://grafana.com/docs/oncall/latest/integrations/available-integrations/configure-alertmanager/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,6 @@
---
aliases:
- add-grafana-alerting/
- /docs/oncall/latest/integrations/available-integrations/configure-grafana-alerting/
canonical: https://grafana.com/docs/oncall/latest/integrations/available-integrations/configure-grafana-alerting/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,6 @@
---
aliases:
- inbound-email/
- /docs/oncall/latest/integrations/available-integrations/configure-inbound-email/
canonical: https://grafana.com/docs/oncall/latest/integrations/available-integrations/configure-inbound-email/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,6 @@
---
aliases:
- ../add-webhook-integration/
- /docs/oncall/latest/integrations/available-integrations/configure-webhook/
canonical: https://grafana.com/docs/oncall/latest/integrations/available-integrations/configure-webhook/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,6 @@
---
aliases:
- add-zabbix/
- /docs/oncall/latest/integrations/available-integrations/configure-zabbix/
canonical: https://grafana.com/docs/oncall/latest/integrations/available-integrations/configure-zabbix/
keywords:
- Grafana Cloud

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/jinja2-templating/
canonical: https://grafana.com/docs/oncall/latest/jinja2-templating/
title: Jinja2 templating
weight: 1000

View file

@ -1,7 +1,5 @@
---
title: Mobile App
aliases:
- /docs/oncall/latest/mobile-app/
canonical: https://grafana.com/docs/oncall/latest/mobile-app/
keywords:
- Mobile App

View file

@ -1,7 +1,6 @@
---
aliases:
- ../../chat-options/configure-teams/
- /docs/oncall/latest/integrations/chatops-integrations/configure-teams/
canonical: https://grafana.com/docs/oncall/latest/integrations/chatops-integrations/configure-teams/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,6 @@
---
aliases:
- ../../chat-options/configure-slack/
- /docs/oncall/latest/integrations/chatops-integrations/configure-slack/
canonical: https://grafana.com/docs/oncall/latest/integrations/chatops-integrations/configure-slack/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,6 @@
---
aliases:
- ../../chat-options/configure-telegram/
- /docs/oncall/latest/integrations/chatops-integrations/configure-telegram/
canonical: https://grafana.com/docs/oncall/latest/integrations/chatops-integrations/configure-telegram/
keywords:
- Grafana Cloud

View file

@ -1,14 +1,13 @@
---
title: iCal on-call schedules
aliases:
- /docs/oncall/latest/on-call-schedules/ical-schedules/
canonical: https://grafana.com/docs/oncall/latest/on-call-schedules/ical-schedules/
description: "Learn how to manage on-call schedules with iCal import"
keywords:
- Grafana
- oncall
- on-call
- calendar
- calendar
title: Import on-call schedules
weight: 300
---

View file

@ -1,7 +1,5 @@
---
title: Web-based on-call schedules
aliases:
- /docs/oncall/latest/on-call-schedules/web-schedule/
canonical: https://grafana.com/docs/oncall/latest/on-call-schedules/web-schedule/
description: "Learn more about Grafana OnCalls built in schedule tool"
keywords:
@ -9,6 +7,7 @@ keywords:
- oncall
- schedule
- calendar
title: Web-based schedules
weight: 100
---

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/
title: Grafana OnCall HTTP API reference
weight: 1500

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/alertgroups/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/alertgroups/
title: Alert groups HTTP API
weight: 400

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/alerts/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/alerts/
title: Alerts HTTP API
weight: 100

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/escalation_chains/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/
title: Escalation Chains HTTP API
weight: 200

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/escalation_policies/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/
title: Escalation Policies HTTP API
weight: 300

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/integrations/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/
title: Integrations HTTP API
weight: 500

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/on_call_shifts/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/on_call_shifts/
title: OnCall shifts HTTP API
weight: 600

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/outgoing_webhooks/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/
title: Outgoing webhooks HTTP API
weight: 700

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/personal_notification_rules/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/personal_notification_rules/
title: Personal Notification Rules HTTP API
weight: 800

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/postmortem_messages/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/postmortem_messages/
draft: true
title: Postmortem Messages HTTP API

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/postmortems/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/postmortems/
draft: true
title: Postmortem HTTP API

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/routes/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/routes/
title: Routes HTTP API
weight: 1100

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/schedules/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/
title: Schedule HTTP API
weight: 1200

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/slack_channels/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/
title: Slack Channels HTTP API
weight: 1300

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/user_groups/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/user_groups/
title: OnCall User Groups HTTP API
weight: 1400

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/oncall-api-reference/users/
canonical: https://grafana.com/docs/oncall/latest/oncall-api-reference/users/
title: Grafana OnCall Users HTTP API
weight: 1500

View file

@ -1,6 +1,4 @@
---
aliases:
- /docs/oncall/latest/open-source/
keywords:
- Open Source
title: Open Source

View file

@ -1,7 +1,6 @@
---
aliases:
- ../outgoing-webhooks/
- /docs/oncall/latest/outgoing-webhooks/
canonical: https://grafana.com/docs/oncall/latest/outgoing-webhooks/
keywords:
- Grafana Cloud

View file

@ -1,7 +1,5 @@
---
title: User and team management
aliases:
- /docs/oncall/latest/user-and-team-management/
keywords:
- oncall
- RBAC