Skip to content

Commit

Permalink
chore: Add docs for Turborepo plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
codinsonn committed Jul 24, 2024
1 parent e8b0a70 commit 13a72c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/docs/pages/plugins/[[...pluginBranchSlug]].mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export async function getStaticProps({ params }) {
props: {
...dynamicMeta,
...dynamicMDX,
}
},
revalidate: 60, // 1 hour in seconds
}
}

Expand Down
4 changes: 4 additions & 0 deletions apps/docs/pages/plugins/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@
"mdx-docs-nextra": {
"title": "MDX Docs (Nextra)",
"route": "/plugins/mdx-docs-nextra"
},
"turborepo": {
"title": "Turborepo",
"route": "/plugins/turborepo"
}
}
7 changes: 6 additions & 1 deletion apps/docs/remote/pluginsConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module.exports = {
'mdx',
'graphql-server-apollo',
'react-query',
'mdx-docs-nextra'
'mdx-docs-nextra',
'turborepo'
],
nestedMetaData: {
"nativewind": {
Expand All @@ -32,6 +33,10 @@ module.exports = {
"mdx-docs-nextra": {
"title": "MDX Docs (Nextra)",
"route": "/plugins/mdx-docs-nextra"
},
"turborepo": {
"title": "Turborepo",
"route": "/plugins/turborepo"
}
}
}
Expand Down

0 comments on commit 13a72c6

Please sign in to comment.