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 GitHub
parent d19137a429
commit 5c17bf3d78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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',