docs(nxdev): add /docs redirect rule (#12372)

This commit is contained in:
Benjamin Cabanes 2022-10-03 13:55:02 -04:00 committed by GitHub
parent 26e710180b
commit 09afb89a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,6 +178,13 @@ module.exports = withNx({
destination: '/',
permanent: true,
});
// Docs
rules.push({
source: '/docs',
destination: '/getting-started/intro',
permanent: true,
});
return rules;
},
});