mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-12 20:06:28 +00:00
Enable versioned and translated docs
This commit is contained in:
parent
21f3c13df4
commit
2399e88f9f
@ -47,3 +47,7 @@ files:
|
|||||||
source: '/website/i18n/en.json'
|
source: '/website/i18n/en.json'
|
||||||
translation: '/website/i18n/%locale%.json'
|
translation: '/website/i18n/%locale%.json'
|
||||||
languages_mapping: *anchor
|
languages_mapping: *anchor
|
||||||
|
-
|
||||||
|
source: '/website/versioned_docs/**/*.md'
|
||||||
|
translation: '/website/translated_docs/%locale%/**/%original_file_name%'
|
||||||
|
languages_mapping: *anchor
|
||||||
|
@ -44,6 +44,7 @@ const siteConfig = {
|
|||||||
{doc: 'development_index', label: 'Backend'},
|
{doc: 'development_index', label: 'Backend'},
|
||||||
{doc: 'misc', label: 'Misc'},
|
{doc: 'misc', label: 'Misc'},
|
||||||
{ blog: true, label: 'Blog' },
|
{ blog: true, label: 'Blog' },
|
||||||
|
{ languages: true },
|
||||||
],
|
],
|
||||||
|
|
||||||
// If you have users set above, you add it here:
|
// If you have users set above, you add it here:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user