Refactored to redirects instead of hard external links in side nav model

This commit is contained in:
DerekStrickland 2020-06-09 13:58:33 -04:00
parent 50fee40b53
commit 6de0dce33a
2 changed files with 19 additions and 10 deletions

View File

@ -24,8 +24,18 @@
/docs/command-line/* /docs/commands/:splat 200 /docs/command-line/* /docs/commands/:splat 200
/docs/extend/* /docs/extending/:splat 200 /docs/extend/* /docs/extending/:splat 200
/intro/getting-started/install /intro/getting-started 301! /intro/getting-started/install https://learn.hashicorp.com/packer/getting-started/install 301!
/intro/getting-started/install.html /intro/getting-started 301! /intro/getting-started/install.html https://learn.hashicorp.com/packer/getting-started/install 301!
/intro/getting-started/build-image https://learn.hashicorp.com/packer/getting-started/build-image 301!
/intro/getting-started/build-image.html https://learn.hashicorp.com/packer/getting-started/build-image 301!
/intro/getting-started/provision https://learn.hashicorp.com/packer/getting-started/provision 301!
/intro/getting-started/provision.html https://learn.hashicorp.com/packer/getting-started/provision 301!
/intro/getting-started/parallel-builds https://learn.hashicorp.com/packer/getting-started/parallel-builds 301!
/intro/getting-started/parallel-builds.html https://learn.hashicorp.com/packer/getting-started/parallel-builds 301!
/intro/getting-started/vagrant https://learn.hashicorp.com/packer/getting-started/vagrant 301!
/intro/getting-started/vagrant.html https://learn.hashicorp.com/packer/getting-started/vagrant 301!
/intro/getting-started/next https://learn.hashicorp.com/packer/getting-started/next 301!
/intro/getting-started/next.html https://learn.hashicorp.com/packer/getting-started/next 301!
/docs/basics/terminology /docs/terminology 301! /docs/basics/terminology /docs/terminology 301!
/docs/basics/terminology.html /docs/terminology 301! /docs/basics/terminology.html /docs/terminology 301!

View File

@ -13,29 +13,28 @@ export default [
name: 'Getting Started', name: 'Getting Started',
content: [ content: [
{ {
title: 'Overview', title: 'Install',
href: 'https://learn.hashicorp.com/packer/getting-started/install', href: '/intro/getting-started/install',
}, },
{ {
title: 'Build An Image', title: 'Build An Image',
href: 'https://learn.hashicorp.com/packer/getting-started/build-image', href: '/intro/getting-started/build-image',
}, },
{ {
title: 'Provision', title: 'Provision',
href: 'https://learn.hashicorp.com/packer/getting-started/provision', href: '/intro/getting-started/provision',
}, },
{ {
title: 'Parallel Builds', title: 'Parallel Builds',
href: href: '/intro/getting-started/parallel-builds',
'https://learn.hashicorp.com/packer/getting-started/parallel-builds',
}, },
{ {
title: 'Vagrant Boxes', title: 'Vagrant Boxes',
href: 'https://learn.hashicorp.com/packer/getting-started/vagrant', href: '/intro/getting-started/vagrant',
}, },
{ {
title: 'Next Steps', title: 'Next Steps',
href: 'https://learn.hashicorp.com/packer/getting-started/next', href: '/intro/getting-started/next',
}, },
], ],
}, },