aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Deng <theandy.deng@gmail.com>2017-01-24 23:14:33 -0500
committerJonathan Corbet <corbet@lwn.net>2017-01-26 17:30:34 -0500
commit2069889ff78cb00fa274818b03cec6d976b3187c (patch)
treedac74eea5f843094b154da0dff975f896f6c5a26
parent0dacbc9df5c9fc6037060fbb12c1d7da80f5b580 (diff)
docs/zh_CN: Add coding-style into docs build system
Tested by the command: make htmldocs During the compiling process, zh_CN/coding-style.rst has no errors and warnings generated, the generated html document has been checked. Signed-off-by: Andy Deng <theandy.deng@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/index.rst10
-rw-r--r--Documentation/translations/zh_CN/coding-style.rst (renamed from Documentation/translations/zh_CN/CodingStyle)0
-rw-r--r--Documentation/translations/zh_CN/index.rst12
3 files changed, 21 insertions, 1 deletions
diff --git a/Documentation/index.rst b/Documentation/index.rst
index cb5d77699c60..f6e641a54bbc 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -47,7 +47,7 @@ These books get into the details of how specific kernel subsystems work
47from the point of view of a kernel developer. Much of the information here 47from the point of view of a kernel developer. Much of the information here
48is taken directly from the kernel source, with supplemental material added 48is taken directly from the kernel source, with supplemental material added
49as needed (or at least as we managed to add it — probably *not* all that is 49as needed (or at least as we managed to add it — probably *not* all that is
50needed). 50needed).
51 51
52.. toctree:: 52.. toctree::
53 :maxdepth: 2 53 :maxdepth: 2
@@ -68,6 +68,14 @@ Korean translations
68 68
69 translations/ko_KR/index 69 translations/ko_KR/index
70 70
71Chinese translations
72--------------------
73
74.. toctree::
75 :maxdepth: 1
76
77 translations/zh_CN/index
78
71Indices and tables 79Indices and tables
72================== 80==================
73 81
diff --git a/Documentation/translations/zh_CN/CodingStyle b/Documentation/translations/zh_CN/coding-style.rst
index 1466aa64b8b4..1466aa64b8b4 100644
--- a/Documentation/translations/zh_CN/CodingStyle
+++ b/Documentation/translations/zh_CN/coding-style.rst
diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
new file mode 100644
index 000000000000..75956d669962
--- /dev/null
+++ b/Documentation/translations/zh_CN/index.rst
@@ -0,0 +1,12 @@
1.. raw:: latex
2
3 \renewcommand\thesection*
4 \renewcommand\thesubsection*
5
6Chinese translations
7====================
8
9.. toctree::
10 :maxdepth: 1
11
12 coding-style