Skip to content

Commit

Permalink
re-enable throw on broken links
Browse files Browse the repository at this point in the history
clear cache in the right places in preprocess docs
  • Loading branch information
sh-rp committed Sep 17, 2024
1 parent 54793f7 commit ec730e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const config = {
tagline: 'data load tool',
url: 'https://dlthub.com',
baseUrl: process.env.DOCUSAURUS_BASE_URL || '/docs',
onBrokenLinks: 'warn',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
favicon: 'img/favicon.ico',
staticDirectories: ['public', 'static'],
Expand Down
1 change: 1 addition & 0 deletions docs/website/tools/preprocess_docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ function syncExamples() {
console.log(`Synced ${count} examples`)
}

fs.rmSync(MD_TARGET_DIR, {force: true, recursive: true})
syncExamples();
preprocess_docs();

Expand Down

0 comments on commit ec730e8

Please sign in to comment.