未验证 提交 1e6dec90 编写于 作者: T tianshuo78520a 提交者: GitHub

update to index.rst method(#1765)

上级 64c12819
......@@ -13,7 +13,6 @@ API Reference
.. toctree::
:maxdepth: 1
../flags_en.rst
../api_guides/index_en.rst
fluid.rst
''')
......
......@@ -13,9 +13,9 @@ API Reference
:maxdepth: 1
''')
file_object.write(' ../api_guides/index.rst'+'\n')
file_object.write(' ../api_guides/index_cn.rst'+'\n')
file_object.write(' fluid_cn.rst'+'\n')
for file_name in sorted(glob.glob("*.rst")):
if file_name != ('index_cn.rst' and 'fluid_cn.rst'):
if file_name != 'index.rst' and file_name != 'index_cn.rst' and file_name != 'fluid_cn.rst':
file_object.write(' '+file_name + "\n")
file_object.close( )
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册