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.
pull/10874/head
Wilken Rivera 5 years ago committed by GitHub
parent f65e1d5d55
commit 260906c3e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save