Enable versioned and translated docs

This commit is contained in:
Robbie Trencheny 2019-05-16 13:16:37 -07:00
parent 21f3c13df4
commit 2399e88f9f
No known key found for this signature in database
GPG Key ID: 1E236BB235BF0021
2 changed files with 5 additions and 0 deletions

View File

@ -47,3 +47,7 @@ files:
source: '/website/i18n/en.json'
translation: '/website/i18n/%locale%.json'
languages_mapping: *anchor
-
source: '/website/versioned_docs/**/*.md'
translation: '/website/translated_docs/%locale%/**/%original_file_name%'
languages_mapping: *anchor

View File

@ -44,6 +44,7 @@ const siteConfig = {
{doc: 'development_index', label: 'Backend'},
{doc: 'misc', label: 'Misc'},
{ blog: true, label: 'Blog' },
{ languages: true },
],
// If you have users set above, you add it here: