mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-08 16:22:15 -04:00
Add redirect for Docker post-processor pages (#10872)
Remote plugin docs such as Docker now fall under a top level path named after the provider (e.g https://packer.io/docs/docker/...). This change adds a redirect for the old URLs to the new location.
This commit is contained in:
parent
f65e1d5d55
commit
260906c3e4
1 changed files with 5 additions and 0 deletions
|
|
@ -211,6 +211,11 @@ module.exports = [
|
|||
destination: '/docs/builders/vmware/vsphere-:path*',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/docs/post-processors/docker-:path',
|
||||
destination: '/docs/post-processors/docker/docker-:path*',
|
||||
permanent: true,
|
||||
},
|
||||
// disallow '.html' or '/index.html' in favor of cleaner, simpler paths
|
||||
{ source: '/:path*/index', destination: '/:path*', permanent: true },
|
||||
{ source: '/:path*.html', destination: '/:path*', permanent: true },
|
||||
|
|
|
|||
Loading…
Reference in a new issue