Skip to content

Commit ec730e8

Browse files
committed
re-enable throw on broken links
clear cache in the right places in preprocess docs
1 parent 54793f7 commit ec730e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const config = {
5050
tagline: 'data load tool',
5151
url: 'https://dlthub.com',
5252
baseUrl: process.env.DOCUSAURUS_BASE_URL || '/docs',
53-
onBrokenLinks: 'warn',
53+
onBrokenLinks: 'throw',
5454
onBrokenMarkdownLinks: 'throw',
5555
favicon: 'img/favicon.ico',
5656
staticDirectories: ['public', 'static'],

docs/website/tools/preprocess_docs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ function syncExamples() {
358358
console.log(`Synced ${count} examples`)
359359
}
360360

361+
fs.rmSync(MD_TARGET_DIR, {force: true, recursive: true})
361362
syncExamples();
362363
preprocess_docs();
363364

0 commit comments

Comments
 (0)