Skip to content

Commit

Permalink
docs/zh_CN: Add coding-style into docs build system
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Deng authored and Jonathan Corbet committed Jan 26, 2017
1 parent 0dacbc9 commit 2069889
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ These books get into the details of how specific kernel subsystems work
from the point of view of a kernel developer. Much of the information here
is taken directly from the kernel source, with supplemental material added
as needed (or at least as we managed to add it — probably *not* all that is
needed).
needed).

.. toctree::
:maxdepth: 2
Expand All @@ -68,6 +68,14 @@ Korean translations

translations/ko_KR/index

Chinese translations
--------------------

.. toctree::
:maxdepth: 1

translations/zh_CN/index

Indices and tables
==================

Expand Down
12 changes: 12 additions & 0 deletions Documentation/translations/zh_CN/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. raw:: latex

\renewcommand\thesection*
\renewcommand\thesubsection*

Chinese translations
====================

.. toctree::
:maxdepth: 1

coding-style

0 comments on commit 2069889

Please sign in to comment.