代码拉取完成,页面将自动刷新
# 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/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。