fix(org): Make all documentation available
This commit is contained in:
parent
5451e30f98
commit
aebe311496
1 changed files with 2 additions and 3 deletions
|
@ -72,9 +72,8 @@ export async function getStaticProps({ locale, params }) {
|
||||||
* To learn more, see: https://nextjs.org/docs/basic-features/data-fetching
|
* To learn more, see: https://nextjs.org/docs/basic-features/data-fetching
|
||||||
*/
|
*/
|
||||||
export async function getStaticPaths() {
|
export async function getStaticPaths() {
|
||||||
const somePaths = Object.keys(pages)
|
const somePaths = Object.keys(pages).filter((path) => path !== 'docs')
|
||||||
.filter((path) => path.split('/').length < 5)
|
//.filter((path) => path.split('/').length < 5)
|
||||||
.filter((path) => path !== 'docs')
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
paths: [
|
paths: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue