Skip to content

Commit 66395d4

Browse files
authored
update docusaurus (#567)
* update docusaurus and Add .nvmrc to specify Node.js 20 for Cloudflare Pages
1 parent 23bedfa commit 66395d4

File tree

3 files changed

+1340
-890
lines changed

3 files changed

+1340
-890
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

docs/docusaurus.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const config: Config = {
1818
organizationName: 'opsmill',
1919
projectName: 'infrahub-sdk-python',
2020
onBrokenLinks: 'throw',
21-
onBrokenMarkdownLinks: 'warn',
2221
onDuplicateRoutes: "throw",
2322
// Even if you don't use internationalization, you can use this field to set
2423
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -123,6 +122,9 @@ const config: Config = {
123122
});
124123
return transformedContent;
125124
},
125+
hooks: {
126+
onBrokenMarkdownLinks: 'warn',
127+
},
126128
},
127129
};
128130

0 commit comments

Comments
 (0)