hid-alps docs heading cleanup
Subsystems (2)
cover hid-alps docs heading cleanup
Hi,
Here are two section headings cleanup patches for Alps HID documentation. Enjoy!
Bagas Sanjaya (2):
Documentation: hid-alps: Fix packet format section headings
Documentation: hid-alps: Format DataByte* subsection headings
Documentation/hid/hid-alps.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
base-commit: 828aeac92901c1f31b51ae0b9d792b9af5bd3e27
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 1/2 Documentation: hid-alps: Fix packet format section headings
In "Packet Format" section, only "StickPointer data byte" subsection heading is shown as such in htmldocs output; "Touchpad data byte" one is in normal paragraph on the other hand.
Properly format the headings to be consistent.
--- Documentation/hid/hid-alps.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/hid/hid-alps.rst +4 -2
@@ -104,8 +104,10 @@ Read value is stored in Value Byte. Packet Format +------------- + Touchpad data byte ------------------- +~~~~~~~~~~~~~~~~~~ ======= ======= ======= ======= ======= ======= ======= ======= =====
@@ -156,7 +158,7 @@ Zsn_6-0(7bit): StickPointer data byte ----------------------- +~~~~~~~~~~~~~~~~~~~~~~ ======= ======= ======= ======= ======= ======= ======= ======= ===== - b7 b6 b5 b4 b3 b2 b1 b0
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 2/2 Documentation: hid-alps: Format DataByte* subsection headings
In reply to Bagas Sanjaya"Command Read/Write" section has two DataByte* subsections describing command bytes format. Add markup to these subsection heading texts.
--- Documentation/hid/hid-alps.rst | 2 ++ 1 file changed, 2 insertions(+)
Documentation/hid/hid-alps.rst +2 -0
@@ -69,6 +69,7 @@ To read/write to RAM, need to send a command to the device. The command format is as below. DataByte(SET_REPORT) +~~~~~~~~~~~~~~~~~~~~ ===== ====================== Byte1 Command Byte
@@ -89,6 +90,7 @@ Value Byte is writing data when you send the write commands. When you read RAM, there is no meaning. DataByte(GET_REPORT) +~~~~~~~~~~~~~~~~~~~~ ===== ====================== Byte1 Response Byte
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 11 lines · Bagas Sanjaya
Hi,
Here are two section headings cleanup patches for Alps HID documentation. Enjoy!
Bagas Sanjaya (2):
Documentation: hid-alps: Fix packet format section headings
Documentation: hid-alps: Format DataByte* subsection headingsDocumentation/hid/hid-alps.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Much nicer. Thanks.
for both patches:
Signature · 1 line
~Randy
Quoted 9 lines · Bagas Sanjaya
Here are two section headings cleanup patches for Alps HID documentation. Enjoy!
Bagas Sanjaya (2):
Documentation: hid-alps: Fix packet format section headings
Documentation: hid-alps: Format DataByte* subsection headingsDocumentation/hid/hid-alps.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs