diff --git a/website/docs/api/docusaurus.config.js.md b/website/docs/api/docusaurus.config.js.md index 28fed29987..d3d4939aea 100644 --- a/website/docs/api/docusaurus.config.js.md +++ b/website/docs/api/docusaurus.config.js.md @@ -133,10 +133,12 @@ module.exports = { en: { label: 'English', direction: 'ltr', + htmlLang: 'en-US', }, fr: { label: 'Français', direction: 'ltr', + htmlLang: 'fr-FR', }, }, }, @@ -145,6 +147,7 @@ module.exports = { - `label`: the label to use for this locale - `direction`: `ltr` (default) or `rtl` (for [right-to-left languages](https://developer.mozilla.org/en-US/docs/Glossary/rtl) like Arabic, Hebrew, etc.) +- `htmlLang`: BCP 47 language tag to use in `` and in `` ### `noIndex` {#noindex}