@docusaurus/types 0.0.0-5785 → 0.0.0-5792

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/config.d.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "0.0.0-5785",
3
+ "version": "0.0.0-5792",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -27,5 +27,5 @@
27
27
  "react": "^18.0.0",
28
28
  "react-dom": "^18.0.0"
29
29
  },
30
- "gitHead": "ba50a4f9fe26120fbd9404908849661246b734ff"
30
+ "gitHead": "df52b60192f42bb72e56e6919afcc1a45fb202da"
31
31
  }
package/src/config.d.ts CHANGED
@@ -175,6 +175,13 @@ export type DocusaurusConfig = {
175
175
  * @default "throw"
176
176
  */
177
177
  onBrokenLinks: ReportingSeverity;
178
+ /**
179
+ * The behavior of Docusaurus when it detects any broken link.
180
+ *
181
+ * @see https://docusaurus.io/docs/api/docusaurus-config#onBrokenAnchors
182
+ * @default "warn"
183
+ */
184
+ onBrokenAnchors: ReportingSeverity;
178
185
  /**
179
186
  * The behavior of Docusaurus when it detects any broken markdown link.
180
187
  *