Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const config: Config = {
projectName: "Talon Community Wiki", // Usually your repo name.

onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
Expand Down Expand Up @@ -72,6 +71,9 @@ const config: Config = {
plugins: ["./plugins/repo-data-plugin.js"],
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: "throw",
},
},
themes: [
[
Expand Down
4 changes: 3 additions & 1 deletion docusaurus.ghpages.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const config = {
deploymentBranch: "gh-pages", // Specify gh-pages branch as deploy target.

onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
Expand Down Expand Up @@ -67,6 +66,9 @@ const config = {
],
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: "throw",
},
},
themes: [
[
Expand Down