diff --git a/README.rst b/README.rst index 66a4323..2c6a9f1 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ Google 开源项目风格指南 (中文版) 英文版项目维护的是在 Google 使用的编程风格指南. 如果你正在修改的项目源自 Google, 你可能会被引导至 英文版项目页面, 以了解项目所使用的风格. -我们已经发布了四份 **中文版** 的风格指南: +我们已经发布了五份 **中文版** 的风格指南: #. `Google C++ 风格指南 `_ diff --git a/google-python-styleguide/contents.rst b/google-python-styleguide/contents.rst index 11030ea..fefed63 100644 --- a/google-python-styleguide/contents.rst +++ b/google-python-styleguide/contents.rst @@ -7,4 +7,8 @@ Python 风格指南 - 内容目录 .. toctree:: - index + index + background + python_language_rules + python_style_rules + parting_words diff --git a/google-python-styleguide/index.rst b/google-python-styleguide/index.rst index 79b3ac6..6003f47 100644 --- a/google-python-styleguide/index.rst +++ b/google-python-styleguide/index.rst @@ -1,5 +1,4 @@ -================================ -Google Python 风格指南 - 中文版 +扉页 ================================ :版本: 2.59 @@ -24,12 +23,3 @@ Google Python 风格指南 - 中文版 - `Google Style Guide `_ - `Google 开源项目风格指南 - 中文版 `_ -目录 -================================ - -.. toctree:: - - background - python_language_rules - python_style_rules - parting_words