Docs: Fix aliases/redirects (#21241)

Makes all aliases rooted to /docs/grafana/latest.

Fixes #21240
This commit is contained in:
Marcus Efraimsson
2019-12-30 08:17:03 +01:00
committed by GitHub
parent e2375593fc
commit 4835539248
53 changed files with 54 additions and 54 deletions

View File

@@ -2,7 +2,7 @@
title = "HTTP API"
description = "Grafana HTTP API"
keywords = ["grafana", "http", "documentation", "api", "overview"]
aliases = ["/overview"]
aliases = ["/docs/grafana/latest/overview"]
type = "docs"
[menu.docs]
name = "HTTP API"

View File

@@ -2,7 +2,7 @@
title = "Admin HTTP API "
description = "Grafana Admin HTTP API"
keywords = ["grafana", "http", "documentation", "api", "admin"]
aliases = ["/http_api/admin/"]
aliases = ["/docs/grafana/latest/http_api/admin/"]
type = "docs"
[menu.docs]
name = "Admin"

View File

@@ -2,7 +2,7 @@
title = "Alerting HTTP API "
description = "Grafana Alerts HTTP API"
keywords = ["grafana", "http", "documentation", "api", "alerting", "alerts"]
aliases = ["/http_api/alerting/"]
aliases = ["/docs/grafana/latest/http_api/alerting/"]
type = "docs"
[menu.docs]
name = "Alerting"

View File

@@ -2,7 +2,7 @@
title = "Annotations HTTP API "
description = "Grafana Annotations HTTP API"
keywords = ["grafana", "http", "documentation", "api", "annotation", "annotations", "comment"]
aliases = ["/http_api/annotations/"]
aliases = ["/docs/grafana/latest/http_api/annotations/"]
type = "docs"
[menu.docs]
name = "Annotations"

View File

@@ -2,7 +2,7 @@
title = "Authentication HTTP API "
description = "Grafana Authentication HTTP API"
keywords = ["grafana", "http", "documentation", "api", "authentication"]
aliases = ["/http_api/authentication/"]
aliases = ["/docs/grafana/latest/http_api/authentication/"]
type = "docs"
[menu.docs]
name = "Authentication HTTP API"

View File

@@ -2,7 +2,7 @@
title = "Dashboard HTTP API "
description = "Grafana Dashboard HTTP API"
keywords = ["grafana", "http", "documentation", "api", "dashboard"]
aliases = ["/http_api/dashboard/"]
aliases = ["/docs/grafana/latest/http_api/dashboard/"]
type = "docs"
[menu.docs]
name = "Dashboard"

View File

@@ -2,7 +2,7 @@
title = "Dashboard Permissions HTTP API "
description = "Grafana Dashboard Permissions HTTP API"
keywords = ["grafana", "http", "documentation", "api", "dashboard", "permission", "permissions", "acl"]
aliases = ["/http_api/dashboardpermissions/"]
aliases = ["/docs/grafana/latest/http_api/dashboardpermissions/"]
type = "docs"
[menu.docs]
name = "Dashboard Permissions"

View File

@@ -2,7 +2,7 @@
title = "Dashboard Versions HTTP API "
description = "Grafana Dashboard Versions HTTP API"
keywords = ["grafana", "http", "documentation", "api", "dashboard", "versions"]
aliases = ["/http_api/dashboardversions/"]
aliases = ["/docs/grafana/latest/http_api/dashboardversions/"]
type = "docs"
[menu.docs]
name = "Dashboard Versions"

View File

@@ -2,7 +2,7 @@
title = "Data source HTTP API "
description = "Grafana Data source HTTP API"
keywords = ["grafana", "http", "documentation", "api", "data source"]
aliases = ["/http_api/datasource/"]
aliases = ["/docs/grafana/latest/http_api/datasource/"]
type = "docs"
[menu.docs]
name = "Data source"

View File

@@ -2,7 +2,7 @@
title = "Datasource Permissions HTTP API "
description = "Data Source Permissions API"
keywords = ["grafana", "http", "documentation", "api", "datasource", "permission", "permissions", "acl", "enterprise"]
aliases = ["/http_api/datasourcepermissions/"]
aliases = ["/docs/grafana/latest/http_api/datasourcepermissions/"]
type = "docs"
[menu.docs]
name = "Datasource Permissions"

View File

@@ -2,7 +2,7 @@
title = "External Group Sync HTTP API "
description = "Grafana External Group Sync HTTP API"
keywords = ["grafana", "http", "documentation", "api", "team", "teams", "group", "member", "enterprise"]
aliases = ["/http_api/external_group_sync/"]
aliases = ["/docs/grafana/latest/http_api/external_group_sync/"]
type = "docs"
[menu.docs]
name = "External Group Sync"

View File

@@ -2,7 +2,7 @@
title = "Folder HTTP API "
description = "Grafana Folder HTTP API"
keywords = ["grafana", "http", "documentation", "api", "folder"]
aliases = ["/http_api/folder/"]
aliases = ["/docs/grafana/latest/http_api/folder/"]
type = "docs"
[menu.docs]
name = "Folder"

View File

@@ -2,7 +2,7 @@
title = "Folder/Dashboard Search HTTP API "
description = "Grafana Folder/Dashboard Search HTTP API"
keywords = ["grafana", "http", "documentation", "api", "search", "folder", "dashboard"]
aliases = ["/http_api/folder_dashboard_search/"]
aliases = ["/docs/grafana/latest/http_api/folder_dashboard_search/"]
type = "docs"
[menu.docs]
name = "Folder/dashboard search"

View File

@@ -2,7 +2,7 @@
title = "Folder Permissions HTTP API "
description = "Grafana Folder Permissions HTTP API"
keywords = ["grafana", "http", "documentation", "api", "folder", "permission", "permissions", "acl"]
aliases = ["/http_api/dashboardpermissions/"]
aliases = ["/docs/grafana/latest/http_api/dashboardpermissions/"]
type = "docs"
[menu.docs]
name = "Folder Permissions"

View File

@@ -2,7 +2,7 @@
title = "Organization HTTP API "
description = "Grafana Organization HTTP API"
keywords = ["grafana", "http", "documentation", "api", "organization"]
aliases = ["/http_api/organization/"]
aliases = ["/docs/grafana/latest/http_api/organization/"]
type = "docs"
[menu.docs]
name = "Organization"

View File

@@ -2,7 +2,7 @@
title = "Other HTTP API "
description = "Grafana Other HTTP API"
keywords = ["grafana", "http", "documentation", "api", "other"]
aliases = ["/http_api/other/"]
aliases = ["/docs/grafana/latest/http_api/other/"]
type = "docs"
[menu.docs]
name = "Other"

View File

@@ -2,7 +2,7 @@
title = "Playlist HTTP API "
description = "Playlist Admin HTTP API"
keywords = ["grafana", "http", "documentation", "api", "playlist"]
aliases = ["/http_api/playlist/"]
aliases = ["/docs/grafana/latest/http_api/playlist/"]
type = "docs"
[menu.docs]
name = "Playlist"

View File

@@ -2,7 +2,7 @@
title = "HTTP Preferences API "
description = "Grafana HTTP API"
keywords = ["grafana", "http", "documentation", "api", "preferences"]
aliases = ["/http_api/preferences/"]
aliases = ["/docs/grafana/latest/http_api/preferences/"]
type = "docs"
[menu.docs]
name = "Preferences"

View File

@@ -2,7 +2,7 @@
title = "HTTP Snapshot API "
description = "Grafana HTTP API"
keywords = ["grafana", "http", "documentation", "api", "snapshot"]
aliases = ["/http_api/snapshot/"]
aliases = ["/docs/grafana/latest/http_api/snapshot/"]
type = "docs"
[menu.docs]
name = "Snapshot"

View File

@@ -2,7 +2,7 @@
title = "Team HTTP API "
description = "Grafana Team HTTP API"
keywords = ["grafana", "http", "documentation", "api", "team", "teams", "group"]
aliases = ["/http_api/team/"]
aliases = ["/docs/grafana/latest/http_api/team/"]
type = "docs"
[menu.docs]
name = "Teams"

View File

@@ -2,7 +2,7 @@
title = "User HTTP API "
description = "Grafana User HTTP API"
keywords = ["grafana", "http", "documentation", "api", "user"]
aliases = ["/http_api/user/"]
aliases = ["/docs/grafana/latest/http_api/user/"]
type = "docs"
[menu.docs]
name = "Users"