Skip to content
Merged
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
7 changes: 6 additions & 1 deletion apps/docusaurus/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const config: Config = {
projectName: "react-hooks", // Usually your repo name.

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

// 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 All @@ -29,6 +28,12 @@ const config: Config = {
locales: ["en"],
},

markdown: {
hooks: {
onBrokenMarkdownLinks: "warn",
},
},

presets: [
[
"classic",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"clean": "turbo run clean && rm -rf .turbo node_modules .turbo-cookie .swc",
"build": "turbo run build",
"start": "turbo run start --no-cache --continue",
"start": "turbo run start --cache=local:r,remote:r --continue",
"format": "prettier --write \"**/*.{ts,tsx,md,mdx,json,js,css,scss,html,mjs}\"",
"lint": "turbo run lint",
"typecheck": "turbo run typecheck",
Expand All @@ -28,4 +28,4 @@
],
"license": "MIT",
"version": "0.0.1"
}
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8383,9 +8383,9 @@ node-fetch@^2.5.0:
whatwg-url "^5.0.0"

node-forge@^1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3"
integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==
version "1.3.2"
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.2.tgz#d0d2659a26eef778bf84d73e7f55c08144ee7750"
integrity sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==

node-releases@^2.0.27:
version "2.0.27"
Expand Down
Loading