1 Star 0 Fork 0

Hyperledger/fabric-docs-i18n

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
# Adds support per each translation
docs-lang-es: TRANSLATION = ar
docs-linkcheck-lang-ar: TRANSLATION = ar
docs-clean-lang-ar: TRANSLATION = ar
docs-lang-es: TRANSLATION = es
docs-linkcheck-lang-es: TRANSLATION = es
docs-clean-lang-es: TRANSLATION = es
docs-lang-fa_IR: TRANSLATION = fa_IR
docs-linkcheck-lang-fa_IR: TRANSLATION = fa_IR
docs-clean-lang-fa_IR: TRANSLATION = fa_IR
docs-lang-fr_FR: TRANSLATION = fr_FR
docs-linkcheck-lang-fr_FR: TRANSLATION = fr_FR
docs-clean-lang-fr_FR: TRANSLATION = fr_FR
docs-lang-it_IT: TRANSLATION = it_IT
docs-linkcheck-lang-it_IT: TRANSLATION = it_IT
docs-clean-lang-it_IT: TRANSLATION = it_IT
docs-lang-ja_JP: TRANSLATION = ja_JP
docs-linkcheck-lang-ja_JP: TRANSLATION = ja_JP
docs-clean-lang-ja_JP: TRANSLATION = ja_JP
docs-lang-ko_KR: TRANSLATION = ko_KR
docs-linkcheck-lang-ko_KR: TRANSLATION = ko_KR
docs-clean-lang-ko_KR: TRANSLATION = ko_KR
docs-lang-ml_IN: TRANSLATION = ml_IN
docs-linkcheck-lang-ml_IN: TRANSLATION = ml_IN
docs-clean-lang-ml_IN: TRANSLATION = ml_IN
docs-lang-pt_BR: TRANSLATION = pt_BR
docs-linkcheck-lang-pt_BR: TRANSLATION = pt_BR
docs-clean-lang-pt_BR: TRANSLATION = pt_BR
docs-lang-ru_RU: TRANSLATION = ru_RU
docs-linkcheck-lang-ru_RU: TRANSLATION = ru_RU
docs-clean-lang-ru_RU: TRANSLATION = ru_RU
docs-lang-ta_IN: TRANSLATION = ta_IN
docs-linkcheck-lang-ta_IN: TRANSLATION = ta_IN
docs-clean-lang-ta_IN: TRANSLATION = ta_IN
docs-lang-ur_UR: TRANSLATION = ur_UR
docs-linkcheck-lang-ur_UR: TRANSLATION = ur_UR
docs-clean-lang-ur_UR: TRANSLATION = ur_UR
docs-lang-vi_VN: TRANSLATION = vi_VN
docs-linkcheck-lang-vi_VN: TRANSLATION = vi_VN
docs-clean-lang-vi_VN: TRANSLATION = vi_VN
docs-lang-zh_CN: TRANSLATION = zh_CN
docs-linkcheck-lang-zh_CN: TRANSLATION = zh_CN
docs-clean-lang-zh_CN: TRANSLATION = zh_CN
# check if the translation language exists
TRANSLATION = no_value
.PHONY: verificate-translation
verificate-translation:
@if [ $(TRANSLATION) = no_value ]; then \
echo "Please use a language specific 'make' target such as: 'docs-lang-<language>' where '<language> is the i18n short code for your language"; \
exit 1; \
fi;
.PHONY: docs-lang-%
docs-lang-%: verificate-translation
@echo "Generating translation for $(TRANSLATION)"
@docker run -v $$(pwd)/docs:/docs n42org/tox:3.4.0 sh -c 'cd /docs/locale/$(TRANSLATION)/ && tox -e docs'
.PHONY: docs-linkcheck-lang-%
docs-linkcheck-lang-%: verificate-translation
@docker run -v $$(pwd)/docs:/docs hyperledger-fabric.jfrog.io/fabric-tox sh -c 'cd /docs/locale/$(TRANSLATION)/ && tox -e docs-linkcheck'
.PHONY: clean
docs-clean-lang-%: verificate-translation
@rm -rf docs/locale/$(TRANSLATION)/_build/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hyperledger/fabric-docs-i18n.git
[email protected]:hyperledger/fabric-docs-i18n.git
hyperledger
fabric-docs-i18n
fabric-docs-i18n
release-2.5

搜索帮助