We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0a02c commit b28dbd3Copy full SHA for b28dbd3
app/docs/[plugin]/[version]/[...slug]/page.tsx
@@ -125,6 +125,9 @@ export async function generateStaticParams() {
125
// Add limited files for this version
126
if (version.limited_files) {
127
for (const file of version.limited_files) {
128
+ if (file.slug === 'index') {
129
+ continue; // skip index as it's already added
130
+ }
131
params.push({ plugin: repoSlug, version: versionSlug, slug: [file.slug] });
132
}
133
0 commit comments