@docusaurus/types 0.0.0-5786 → 0.0.0-5793
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.
- package/package.json +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-
|
|
3
|
+
"version": "0.0.0-5793",
|
|
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": "
|
|
30
|
+
"gitHead": "23af22fd2f684be2f4b646ffc7f60b6c3c5efaa7"
|
|
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
|
*
|