Procházet zdrojové kódy

Input: create a book with Linux Input documentation

Now that all files under Documentation/input follows the ReST markup
language, rename them to *.rst and create a book for the Linux Input
subsystem.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Mauro Carvalho Chehab před 8 roky
rodič
revize
e2ba573120

+ 2 - 0
Documentation/conf.py

@@ -348,6 +348,8 @@ latex_documents = [
      'The kernel development community', 'manual'),
     ('driver-api/index', 'driver-api.tex', 'The kernel driver API manual',
      'The kernel development community', 'manual'),
+    ('input/index', 'linux-input.tex', 'The Linux input driver subsystem',
+     'The kernel development community', 'manual'),
     ('kernel-documentation', 'kernel-documentation.tex', 'The Linux Kernel Documentation',
      'The kernel development community', 'manual'),
     ('process/index', 'development-process.tex', 'Linux Kernel Development Documentation',

+ 0 - 0
Documentation/input/alps.txt → Documentation/input/alps.rst


+ 0 - 0
Documentation/input/amijoy.txt → Documentation/input/amijoy.rst


+ 0 - 0
Documentation/input/appletouch.txt → Documentation/input/appletouch.rst


+ 0 - 0
Documentation/input/atarikbd.txt → Documentation/input/atarikbd.rst


+ 0 - 0
Documentation/input/bcm5974.txt → Documentation/input/bcm5974.rst


+ 0 - 0
Documentation/input/cd32.txt → Documentation/input/cd32.rst


+ 0 - 0
Documentation/input/cma3000_d0x.txt → Documentation/input/cma3000_d0x.rst


+ 10 - 0
Documentation/input/conf.py

@@ -0,0 +1,10 @@
+# -*- coding: utf-8; mode: python -*-
+
+project = "The Linux input driver subsystem"
+
+tags.add("subproject")
+
+latex_documents = [
+    ('index', 'linux-input.tex', project,
+     'The kernel development community', 'manual'),
+]

+ 0 - 0
Documentation/input/cs461x.txt → Documentation/input/cs461x.rst


+ 0 - 0
Documentation/input/edt-ft5x06.txt → Documentation/input/edt-ft5x06.rst


+ 0 - 0
Documentation/input/elantech.txt → Documentation/input/elantech.rst


+ 0 - 0
Documentation/input/event-codes.txt → Documentation/input/event-codes.rst


+ 0 - 0
Documentation/input/ff.txt → Documentation/input/ff.rst


+ 0 - 0
Documentation/input/gamepad.txt → Documentation/input/gamepad.rst


+ 0 - 0
Documentation/input/gameport-programming.txt → Documentation/input/gameport-programming.rst


+ 0 - 0
Documentation/input/gpio-tilt.txt → Documentation/input/gpio-tilt.rst


+ 0 - 0
Documentation/input/iforce-protocol.txt → Documentation/input/iforce-protocol.rst


+ 77 - 0
Documentation/input/index.rst

@@ -0,0 +1,77 @@
+=============================
+The Linux Input Documentation
+=============================
+
+Disclaimer
+==========
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2 of the License, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc., 59
+Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+For your convenience, the GNU General Public License version 2 is included
+in the package: See the file COPYING.
+
+
+Core API
+========
+
+.. toctree::
+   :maxdepth: 2
+   :numbered:
+
+   input
+   input-programming
+   event-codes
+   joystick
+   joystick-api
+   multi-touch-protocol
+   gamepad
+   gameport-programming
+   ff
+   notifier
+   userio
+
+Input drivers
+=============
+
+.. toctree::
+   :maxdepth: 2
+   :numbered:
+
+   alps
+   amijoy
+   appletouch
+   atarikbd
+   bcm5974
+   cd32
+   cma3000_d0x
+   cs461x
+   edt-ft5x06
+   elantech
+   iforce-protocol
+   joystick-parport
+   gpio-tilt
+   ntrig
+   rotary-encoder
+   sentelic
+   walkera0701
+   xpad
+   yealink
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`

+ 0 - 0
Documentation/input/input-programming.txt → Documentation/input/input-programming.rst


+ 0 - 20
Documentation/input/input.txt → Documentation/input/input.rst

@@ -6,30 +6,10 @@ Linux Input drivers
 
 :Copyright: |copy| 1999-2001 Vojtech Pavlik <vojtech@ucw.cz> - Sponsored by SuSE
 
-Disclaimer
-==========
-
-This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2 of the License, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-more details.
-
-You should have received a copy of the GNU General Public License along
-with this program; if not, write to the Free Software Foundation, Inc., 59
-Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
 Should you need to contact me, the author, you can do so either by e-mail
 - mail your message to <vojtech@ucw.cz>, or by paper mail: Vojtech Pavlik,
 Simunkova 1594, Prague 8, 182 00 Czech Republic
 
-For your convenience, the GNU General Public License version 2 is included
-in the package: See the file COPYING.
-
 Introduction
 ============
 

+ 0 - 0
Documentation/input/joystick-api.txt → Documentation/input/joystick-api.rst


+ 0 - 0
Documentation/input/joystick-parport.txt → Documentation/input/joystick-parport.rst


+ 0 - 0
Documentation/input/joystick.txt → Documentation/input/joystick.rst


+ 0 - 0
Documentation/input/multi-touch-protocol.txt → Documentation/input/multi-touch-protocol.rst


+ 0 - 0
Documentation/input/notifier.txt → Documentation/input/notifier.rst


+ 0 - 0
Documentation/input/ntrig.txt → Documentation/input/ntrig.rst


+ 0 - 0
Documentation/input/rotary-encoder.txt → Documentation/input/rotary-encoder.rst


+ 0 - 0
Documentation/input/sentelic.txt → Documentation/input/sentelic.rst


+ 0 - 0
Documentation/input/userio.txt → Documentation/input/userio.rst


+ 0 - 0
Documentation/input/walkera0701.txt → Documentation/input/walkera0701.rst


+ 0 - 0
Documentation/input/xpad.txt → Documentation/input/xpad.rst


+ 0 - 0
Documentation/input/yealink.txt → Documentation/input/yealink.rst


+ 2 - 2
MAINTAINERS

@@ -6488,7 +6488,7 @@ INPUT MULTITOUCH (MT) PROTOCOL
 M:	Henrik Rydberg <rydberg@bitmath.org>
 L:	linux-input@vger.kernel.org
 S:	Odd fixes
-F:	Documentation/input/multi-touch-protocol.txt
+F:	Documentation/input/multi-touch-protocol.rst
 F:	drivers/input/input-mt.c
 K:	\b(ABS|SYN)_MT_
 
@@ -13812,7 +13812,7 @@ YEALINK PHONE DRIVER
 M:	Henk Vergonet <Henk.Vergonet@gmail.com>
 L:	usbb2k-api-dev@nongnu.org
 S:	Maintained
-F:	Documentation/input/yealink.txt
+F:	Documentation/input/yealink.rst
 F:	drivers/input/misc/yealink.*
 
 Z8530 DRIVER FOR AX.25