Skip to contentSkip to conversation

docs/networking: fix formatting of Intel drivers documentation

PATCH New Jeff Kirsher 2 participants 2 messages Dec 12, 2018 – Feb 1, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs/networking: fix formatting of Intel drivers documentation

From: Mike Rapoport <[email protected]>

The documentation of Intel drivers is missing the heading adornment for document titles.

This causes the generated html to have TOC entries from these documents to appear as top level TOC entries:

* Linux* Base Driver for Intel(R) Ethernet Network Connection
* Contents
* Identifying Your Adapter
* Command Line Parameters
* AutoNeg
* Duplex
...

Add overline heading adornment to document titles.

---
v2: update the Documentation path with the current net-next tree

Another interesting thing is that many of these documents have very similar or even identical titles.
It would be nice to include the adapter name in the titles to make them distinguishable.

 Documentation/networking/device_drivers/intel/e100.rst    | 1 +
 Documentation/networking/device_drivers/intel/e1000.rst   | 1 +
 Documentation/networking/device_drivers/intel/e1000e.rst  | 1 +
 Documentation/networking/device_drivers/intel/fm10k.rst   | 1 +
 Documentation/networking/device_drivers/intel/i40e.rst    | 1 +
 Documentation/networking/device_drivers/intel/iavf.rst    | 1 +
 Documentation/networking/device_drivers/intel/ice.rst     | 1 +
 Documentation/networking/device_drivers/intel/igb.rst     | 1 +
 Documentation/networking/device_drivers/intel/igbvf.rst   | 1 +
 Documentation/networking/device_drivers/intel/ixgb.rst    | 1 +
 Documentation/networking/device_drivers/intel/ixgbe.rst   | 1 +
 Documentation/networking/device_drivers/intel/ixgbevf.rst | 1 +
 12 files changed, 12 insertions(+)
Documentation/networking/device_drivers/intel/e100.rst +1 -0
index 5e2839b..2b9f488 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+==============================================================
 Linux* Base Driver for the Intel(R) PRO/100 Family of Adapters
 ==============================================================
 
Documentation/networking/device_drivers/intel/e1000.rst +1 -0
index 6379d4d..956560b 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+===========================================================
 Linux* Base Driver for Intel(R) Ethernet Network Connection
 ===========================================================
 
Documentation/networking/device_drivers/intel/e1000e.rst +1 -0
index 33554e5..01999f0 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+======================================================
 Linux* Driver for Intel(R) Ethernet Network Connection
 ======================================================
 
Documentation/networking/device_drivers/intel/fm10k.rst +1 -0
index bf5e594..ac3269e 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+==============================================================
 Linux* Base Driver for Intel(R) Ethernet Multi-host Controller
 ==============================================================
 
Documentation/networking/device_drivers/intel/i40e.rst +1 -0
index 0cc16c5..848fd38 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+==================================================================
 Linux* Base Driver for the Intel(R) Ethernet Controller 700 Series
 ==================================================================
 
Documentation/networking/device_drivers/intel/iavf.rst +1 -0
index f8b42b6..2d0c3ba 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+==================================================================
 Linux* Base Driver for Intel(R) Ethernet Adaptive Virtual Function
 ==================================================================
 
Documentation/networking/device_drivers/intel/ice.rst +1 -0
index 4d118b8..c220aa2 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+===================================================================
 Linux* Base Driver for the Intel(R) Ethernet Connection E800 Series
 ===================================================================
 
Documentation/networking/device_drivers/intel/igb.rst +1 -0
index ba16b86..e8f99af 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+===========================================================
 Linux* Base Driver for Intel(R) Ethernet Network Connection
 ===========================================================
 
Documentation/networking/device_drivers/intel/igbvf.rst +1 -0
index a8a9ffa..9cddabe 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+============================================================
 Linux* Base Virtual Function Driver for Intel(R) 1G Ethernet
 ============================================================
 
Documentation/networking/device_drivers/intel/ixgb.rst +1 -0
index 8bd80e27..9450182 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+=====================================================================
 Linux Base Driver for 10 Gigabit Intel(R) Ethernet Network Connection
 =====================================================================
 
Documentation/networking/device_drivers/intel/ixgbe.rst +1 -0
index 725fc69..255bfe1 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+=============================================================================
 Linux* Base Driver for the Intel(R) Ethernet 10 Gigabit PCI Express Adapters
 =============================================================================
 
Documentation/networking/device_drivers/intel/ixgbevf.rst +1 -0
index 56cde63..5d49773 100644
@@ -1,5 +1,6 @@
 .. SPDX-License-Identifier: GPL-2.0+
 
+=============================================================
 Linux* Base Virtual Function Driver for Intel(R) 10G Ethernet
 =============================================================
 
#1 lore raw

PATCH v2 1/1 docs/networking: fix formatting of Intel drivers documentation

Quoted 36 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Jeff Kirsher
Sent: Wednesday, December 12, 2018 2:44 PM
To: intel-wired-lan at lists.osuosl.org
Cc: Mike Rapoport <[email protected]>
Subject: [Intel-wired-lan] [next v2] docs/networking: fix formatting of Intel drivers documentation

From: Mike Rapoport <[email protected]>

The documentation of Intel drivers is missing the heading adornment for document titles.

This causes the generated html to have TOC entries from these documents to
appear as top level TOC entries:

* Linux* Base Driver for Intel(R) Ethernet Network Connection
* Contents
* Identifying Your Adapter
* Command Line Parameters
* AutoNeg
* Duplex
...

Add overline heading adornment to document titles.

---
v2: update the Documentation path with the current net-next tree

Another interesting thing is that many of these documents have very similar or even identical titles.
It would be nice to include the adapter name in the titles to make them distinguishable.

Quoted 14 lines
 Documentation/networking/device_drivers/intel/e100.rst    | 1 +
 Documentation/networking/device_drivers/intel/e1000.rst   | 1 +
 Documentation/networking/device_drivers/intel/e1000e.rst  | 1 +
 Documentation/networking/device_drivers/intel/fm10k.rst   | 1 +
 Documentation/networking/device_drivers/intel/i40e.rst    | 1 +
 Documentation/networking/device_drivers/intel/iavf.rst    | 1 +
 Documentation/networking/device_drivers/intel/ice.rst     | 1 +
 Documentation/networking/device_drivers/intel/igb.rst     | 1 +
 Documentation/networking/device_drivers/intel/igbvf.rst   | 1 +
 Documentation/networking/device_drivers/intel/ixgb.rst    | 1 +
 Documentation/networking/device_drivers/intel/ixgbe.rst   | 1 +
 Documentation/networking/device_drivers/intel/ixgbevf.rst | 1 +
 12 files changed, 12 insertions(+)