docs: enable trailingSlashes (2) and handle redirects

This commit is contained in:
Anton Georgiev 2024-01-26 12:09:40 -05:00
parent 9def3d3872
commit d84a813457

View File

@ -68,23 +68,23 @@ const config = {
fromExtensions: ['html', 'htm'],
redirects: [
{
to: "/2.6/new-features",
from: "/2.6/new"
to: "/2.6/new-features/",
from: "/2.6/new/"
},
{
to: "/2.6/new-features",
to: "/2.6/new-features/",
from: "/2.6/new.html"
},
{
to: "/new-features",
from: "/2.7/new-features"
to: "/new-features/",
from: "/2.7/new-features/"
},
{
to: "/development/api",
to: "/development/api/",
from: "/dev/api.html"
},
{
to: "/greenlight/v3/migration",
to: "/greenlight/v3/migration/",
from: "/greenlight_v3/gl3-migration.html"
}
],