@docusaurus/types 2.0.0-rc.1 → 2.1.0

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/i18n.d.ts +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "2.0.0-rc.1",
3
+ "version": "2.1.0",
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": "c8ddd02a8e68dfaf515c20465a049a83153bd205"
29
+ "gitHead": "be9b0942641184213485eba7fd75ceb0b328d3f4"
30
30
  }
package/src/i18n.d.ts CHANGED
@@ -11,8 +11,9 @@ export type I18nLocaleConfig = {
11
11
  /** The label displayed for this locale in the locales dropdown. */
12
12
  label: string;
13
13
  /**
14
- * BCP 47 language tag to use in `<html lang="...">` and in
15
- * `<link ... hreflang="...">`
14
+ * BCP 47 language tag to use in:
15
+ * - `<html lang="...">` (or any other DOM tag name)
16
+ * - `<link ... hreflang="...">`
16
17
  */
17
18
  htmlLang: string;
18
19
  /** Used to select the locale's CSS and html meta attribute. */