Merge pull request #19529 from antobinary/trailingSlashes
docs: enable trailingSlashes (2) and handle redirects
This commit is contained in:
commit
384fb8e37b
@ -67,23 +67,23 @@ const config = {
|
|||||||
fromExtensions: ['html', 'htm'],
|
fromExtensions: ['html', 'htm'],
|
||||||
redirects: [
|
redirects: [
|
||||||
{
|
{
|
||||||
to: "/2.6/new-features",
|
to: "/2.6/new-features/",
|
||||||
from: "/2.6/new"
|
from: "/2.6/new/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: "/2.6/new-features",
|
to: "/2.6/new-features/",
|
||||||
from: "/2.6/new.html"
|
from: "/2.6/new.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: "/new-features",
|
to: "/new-features/",
|
||||||
from: "/2.7/new-features"
|
from: "/2.7/new-features/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: "/development/api",
|
to: "/development/api/",
|
||||||
from: "/dev/api.html"
|
from: "/dev/api.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: "/greenlight/v3/migration",
|
to: "/greenlight/v3/migration/",
|
||||||
from: "/greenlight_v3/gl3-migration.html"
|
from: "/greenlight_v3/gl3-migration.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user