Skip to content

Commit ecb1045

Browse files
feat(API): add subsection support (#204)
* feat(API): add subsection support * Update snapshot * DRY up content matching helper * Add word boundary to regex finding example imports * Add subsection support to props API * Update documentation for subsection support * lint * Fix(API): kebab-case subsection before adding to page name
1 parent 5565fa8 commit ecb1045

24 files changed

Lines changed: 969 additions & 331 deletions

File tree

astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ export default defineConfig({
1111
vite: {
1212
ssr: {
1313
noExternal: ["@patternfly/*", "react-dropzone"],
14-
external: ["node:fs", "node:path"]
14+
external: ["node:fs", "node:path", "fs/promises", "path"]
1515
},
1616
server: {
1717
fs: {
1818
allow: ['./']
1919
}
20-
}
20+
},
2121
},
2222
adapter: cloudflare()
2323
});

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default [
1414
'.history/*',
1515
'**/.cache',
1616
"**/*.d.ts",
17+
'.wrangler/*',
1718
]
1819
},
1920
// add more generic rule sets here, such as:

0 commit comments

Comments
 (0)