@docusaurus/types 0.0.0-5325 → 0.0.0-5328
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 +8 -1
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-5328",
|
|
4
4
|
"description": "Common types for Docusaurus packages.",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"react": "^16.8.4 || ^17.0.0",
|
|
27
27
|
"react-dom": "^16.8.4 || ^17.0.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "368620d8d9c44b58b2c66a200346da2492e97a5d"
|
|
30
30
|
}
|
package/src/config.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import type {RuleSetRule} from 'webpack';
|
|
9
9
|
import type {Required as RequireKeys, DeepPartial} from 'utility-types';
|
|
10
10
|
import type {I18nConfig} from './i18n';
|
|
11
|
-
import type {PluginConfig, PresetConfig} from './plugin';
|
|
11
|
+
import type {PluginConfig, PresetConfig, HtmlTagObject} from './plugin';
|
|
12
12
|
|
|
13
13
|
export type ReportingSeverity = 'ignore' | 'log' | 'warn' | 'throw';
|
|
14
14
|
|
|
@@ -192,6 +192,13 @@ export type DocusaurusConfig = {
|
|
|
192
192
|
* @default ["static"]
|
|
193
193
|
*/
|
|
194
194
|
staticDirectories: string[];
|
|
195
|
+
/**
|
|
196
|
+
* An array of tags that will be inserted in the HTML `<head>`.
|
|
197
|
+
*
|
|
198
|
+
* @see https://docusaurus.io/docs/api/docusaurus-config#head
|
|
199
|
+
* @default []
|
|
200
|
+
*/
|
|
201
|
+
headTags: HtmlTagObject[];
|
|
195
202
|
/**
|
|
196
203
|
* An array of scripts to load. The values can be either strings or plain
|
|
197
204
|
* objects of attribute-value maps. The `<script>` tags will be inserted in
|