Skip to content

Commit

Permalink
Merge pull request #83 from bob-collective/tom/fix-broken-links-and-r…
Browse files Browse the repository at this point in the history
…evert-config-change

revert config change and throw error if broken links found
  • Loading branch information
tomjeatt authored Nov 1, 2023
2 parents 57c9927 + 198983f commit f5d659e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const config = {
organizationName: "bob-collective",
projectName: "bob",

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

// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
Expand All @@ -35,14 +35,13 @@ const config = {

plugins: [
[
'docusaurus-plugin-typedoc',
"docusaurus-plugin-typedoc",
{
entryPoints: ['../sdk/src/*'],
out: 'api/ts-sdk',
tsconfig: 'tsconfig.json',
entryPoints: ["../sdk/src/*"],
out: "api/ts-sdk",
tsconfig: "tsconfig.json",
},
],

],
presets: [
[
Expand Down Expand Up @@ -163,15 +162,17 @@ const config = {
},
themes: [
"@docusaurus/theme-mermaid",
["@easyops-cn/docusaurus-search-local",
[
"@easyops-cn/docusaurus-search-local",
{
indexBlog: false,
indexDocs: true,
indexPages: false,
hashed: true,
highlightSearchTermsOnTargetPage: true,
language: ["en"],
}],
},
],
],
scripts: [
{
Expand Down

0 comments on commit f5d659e

Please sign in to comment.