mirror of https://github.com/dapr/docs.git
Merge pull request #1286 from newbe36524/v1.0
Add content that translated into zh_Hans
This commit is contained in:
commit
ba144bc820
|
@ -10,3 +10,7 @@
|
||||||
[submodule "sdkdocs/dotnet"]
|
[submodule "sdkdocs/dotnet"]
|
||||||
path = sdkdocs/dotnet
|
path = sdkdocs/dotnet
|
||||||
url = https://github.com/dapr/dotnet-sdk.git
|
url = https://github.com/dapr/dotnet-sdk.git
|
||||||
|
[submodule "translations/docs-zh"]
|
||||||
|
path = translations/docs-zh
|
||||||
|
url = https://github.com/dapr/docs-zh.git
|
||||||
|
branch = v1.0_content
|
||||||
|
|
|
@ -10,6 +10,18 @@ enableGitInfo = true
|
||||||
# Language Configuration
|
# Language Configuration
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
|
|
||||||
|
[languages]
|
||||||
|
[languages.en]
|
||||||
|
title = "Dapr Docs"
|
||||||
|
weight = 1
|
||||||
|
contentDir = "content/en"
|
||||||
|
languageName = "English"
|
||||||
|
[languages.zh-hans]
|
||||||
|
title = "Dapr 文档库"
|
||||||
|
weight = 2
|
||||||
|
contentDir = "content/zh-hans"
|
||||||
|
languageName = "简体中文"
|
||||||
|
|
||||||
# Disable categories & tags
|
# Disable categories & tags
|
||||||
disableKinds = ["taxonomy", "term"]
|
disableKinds = ["taxonomy", "term"]
|
||||||
|
|
||||||
|
@ -22,6 +34,7 @@ id = "UA-149338238-3"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "content/en"
|
source = "content/en"
|
||||||
target = "content"
|
target = "content"
|
||||||
|
lang = "en"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "static"
|
source = "static"
|
||||||
target = "static"
|
target = "static"
|
||||||
|
@ -37,21 +50,48 @@ id = "UA-149338238-3"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "archetypes"
|
source = "archetypes"
|
||||||
target = "archetypes"
|
target = "archetypes"
|
||||||
|
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "../sdkdocs/python/daprdocs/content/en/python-sdk-docs"
|
source = "../sdkdocs/python/daprdocs/content/en/python-sdk-docs"
|
||||||
target = "content/developing-applications/sdks/python"
|
target = "content/developing-applications/sdks/python"
|
||||||
|
lang = "en"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "../sdkdocs/python/daprdocs/content/en/python-sdk-contributing"
|
source = "../sdkdocs/python/daprdocs/content/en/python-sdk-contributing"
|
||||||
target = "content/contributing/"
|
target = "content/contributing/"
|
||||||
|
lang = "en"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "../sdkdocs/php/daprdocs/content/en/php-sdk-docs"
|
source = "../sdkdocs/php/daprdocs/content/en/php-sdk-docs"
|
||||||
target = "content/developing-applications/sdks/php"
|
target = "content/developing-applications/sdks/php"
|
||||||
|
lang = "en"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "../sdkdocs/dotnet/daprdocs/content/en/dotnet-sdk-docs"
|
source = "../sdkdocs/dotnet/daprdocs/content/en/dotnet-sdk-docs"
|
||||||
target = "content/developing-applications/sdks/dotnet"
|
target = "content/developing-applications/sdks/dotnet"
|
||||||
|
lang = "en"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "../sdkdocs/dotnet/daprdocs/content/en/dotnet-sdk-contributing"
|
source = "../sdkdocs/dotnet/daprdocs/content/en/dotnet-sdk-contributing"
|
||||||
target = "content/contributing/"
|
target = "content/contributing/"
|
||||||
|
lang = "en"
|
||||||
|
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "../translations/docs-zh/content/zh-hans"
|
||||||
|
target = "content"
|
||||||
|
lang = "zh-hans"
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "../translations/docs-zh/content/contributing"
|
||||||
|
target = "content/contributing/"
|
||||||
|
lang = "zh-hans"
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "../translations/docs-zh/content/sdks_python"
|
||||||
|
target = "content/developing-applications/sdks/python"
|
||||||
|
lang = "zh-hans"
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "../translations/docs-zh/content/sdks_php"
|
||||||
|
target = "content/developing-applications/sdks/php"
|
||||||
|
lang = "zh-hans"
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "../translations/docs-zh/content/sdks_dotnet"
|
||||||
|
target = "content/developing-applications/sdks/dotnet"
|
||||||
|
lang = "zh-hans"
|
||||||
|
|
||||||
# Markdown Engine - Allow inline html
|
# Markdown Engine - Allow inline html
|
||||||
[markup]
|
[markup]
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e26148b866552f94a148c5ad6fe81e066775b804
|
Loading…
Reference in New Issue