We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4ff099 commit 4080dd0Copy full SHA for 4080dd0
1 file changed
docusaurus.config.ts
@@ -20,7 +20,12 @@ const config: Config = {
20
projectName: "postcodes.io", // Usually your repo name.
21
22
onBrokenLinks: "throw",
23
- onBrokenMarkdownLinks: "warn",
+
24
+ markdown: {
25
+ hooks: {
26
+ onBrokenMarkdownLinks: "warn",
27
+ },
28
29
30
// Even if you don't use internationalization, you can use this field to set
31
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -35,7 +40,7 @@ const config: Config = {
35
40
"classic",
36
41
{
37
42
docs: {
38
- sidebarPath: require.resolve("./sidebars"),
43
+ sidebarPath: "./sidebars.ts",
39
44
docItemComponent: "@theme/ApiItem", // Fix for docusaurus-openapi-docs
45
},
46
theme: {
0 commit comments