docs/nia: simplify api and cli url paths (#10199)

This commit is contained in:
Kim Ngo 2021-05-06 16:26:31 -05:00 committed by hc-github-team-consul-core
parent 2b5b54bd37
commit 7ae113656e
4 changed files with 12 additions and 2 deletions

View File

@ -584,7 +584,7 @@
"routes": [ "routes": [
{ {
"title": "Overview", "title": "Overview",
"path": "nia/api/api-overview" "path": "nia/api"
}, },
{ {
"title": "Status", "title": "Status",
@ -601,7 +601,7 @@
"routes": [ "routes": [
{ {
"title": "Overview", "title": "Overview",
"path": "nia/cli/cli-overview" "path": "nia/cli"
}, },
{ {
"title": "task", "title": "task",

View File

@ -1177,6 +1177,16 @@ module.exports = [
destination: '/docs/nia/configuration', destination: '/docs/nia/configuration',
permanent: true, permanent: true,
}, },
{
source: '/docs/nia/api/api-overview',
destination: '/docs/nia/api',
permanent: true,
},
{
source: '/docs/nia/cli/cli-overview',
destination: '/docs/nia/cli',
permanent: true,
},
{ {
source: '/use-cases/network-middleware-automation', source: '/use-cases/network-middleware-automation',
destination: '/use-cases/network-infrastructure-automation', destination: '/use-cases/network-infrastructure-automation',