提交 043b0e89 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #28978 from riseshia/patch-2

Use target language's document.yaml [ci skip]
......@@ -15,7 +15,7 @@ def guide(name, url, options = {}, &block)
end
def documents_by_section
@documents_by_section ||= YAML.load_file(File.expand_path("../../source/#{@lang ? @lang + '/' : ''}documents.yaml", __FILE__))
@documents_by_section ||= YAML.load_file(File.expand_path("../../source/#{@language ? @language + '/' : ''}documents.yaml", __FILE__))
end
def documents_flat
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册