Skip to content

Commit

Permalink
正确的设置中文版rst目录
Browse files Browse the repository at this point in the history
条目

目录树里的标题是由 toctree 指令自动罗列其包含文档的标题. 如果不合适, 可以使用与reST超链接相似的标签符号自定义一个标题,(或使用Sphinx的 cross-referencing syntax). 如下:
  • Loading branch information
yonghuming committed Mar 9, 2018
1 parent 018e619 commit ce43cc3
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,31 @@ Pygame Zero可以让人们轻松无障碍创建游戏。
.. toctree::
:maxdepth: 2

introduction
from-scratch
简介 <introduction>
从Scratch到Python <from-scratch>

.. This one is not yet complete
.. learn-programming
.. flappy-bird
.. 学习编程 <learn-programming>
.. flappy-bird <flappy-bird>
Reference
Pygame Zero参考
---------

.. toctree::
:maxdepth: 3

hooks
builtins
事件钩子hooks <hooks>
Pgzero内置模块 <builtins>

User Guide
用户指引
----------

.. toctree::
:maxdepth: 2

installation
ide-mode
contributing
changelog
安装教程 <installation>
编辑器模式 <ide-mode>
参与开源项目 <contributing>
更新日志 <changelog>

网易少儿编程郎郎老师提供翻译

0 comments on commit ce43cc3

Please sign in to comment.