From fe1f468a3b46187ec31f26c5a62e32df234965f0 Mon Sep 17 00:00:00 2001 From: Bean Zhang Date: Mon, 21 Mar 2016 09:32:59 +0800 Subject: [PATCH] Update README.rst and the contents of Python Because of the adding of Shell Style Guide, the total number becomes five. Modify the contents of Python Style Guide, make it consistent with others. --- README.rst | 2 +- google-python-styleguide/contents.rst | 6 +++++- google-python-styleguide/index.rst | 12 +----------- 3 files changed, 7 insertions(+), 13 deletions(-) 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