Skip to content

Commit 8a41ef1

Browse files
authored
refactor: use translation by file name (#88)
* refactor: use translation by file name * fix: update docsy
1 parent 6c27bcd commit 8a41ef1

77 files changed

Lines changed: 1 addition & 5 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ theme = ["docsy"]
1010
enableGitInfo = true
1111

1212
# Language settings
13-
contentDir = "content/en"
1413
defaultContentLanguage = "en"
15-
defaultContentLanguageInSubdir = false
1614
# Useful when translating.
1715
enableMissingTranslationPlaceholders = true
1816

@@ -68,13 +66,11 @@ weight = 1
6866
title = "CP Editor"
6967
description = "专为算法竞赛设计的 IDE"
7068
languageName = "中文"
71-
contentDir = "content/zh"
7269
weight = 2
7370
[languages.ru]
7471
title = "CP Editor"
7572
description = "редактор, созданный для спортивного программирования"
7673
languageName = "Русский"
77-
contentDir = "content/ru"
7874
weight = 3
7975

8076
[markup]

0 commit comments

Comments
 (0)