Skip to content

Commit 2069889

Browse files
andytimesJonathan Corbet
authored andcommitted
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>
1 parent 0dacbc9 commit 2069889

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

Documentation/index.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ These books get into the details of how specific kernel subsystems work
4747
from the point of view of a kernel developer. Much of the information here
4848
is taken directly from the kernel source, with supplemental material added
4949
as needed (or at least as we managed to add it — probably *not* all that is
50-
needed).
50+
needed).
5151

5252
.. toctree::
5353
:maxdepth: 2
@@ -68,6 +68,14 @@ Korean translations
6868

6969
translations/ko_KR/index
7070

71+
Chinese translations
72+
--------------------
73+
74+
.. toctree::
75+
:maxdepth: 1
76+
77+
translations/zh_CN/index
78+
7179
Indices and tables
7280
==================
7381

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.. raw:: latex
2+
3+
\renewcommand\thesection*
4+
\renewcommand\thesubsection*
5+
6+
Chinese translations
7+
====================
8+
9+
.. toctree::
10+
:maxdepth: 1
11+
12+
coding-style

0 commit comments

Comments
 (0)