Skip to contentSkip to conversation

docs/networking: fix formatting of Intel drivers documentation

PATCH In review Mike Rapoport 3 participants 3 messages Dec 9, 2018 – Dec 12, 2018

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

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

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.

---

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/e100.rst    | 1 +
 Documentation/networking/e1000.rst   | 1 +
 Documentation/networking/e1000e.rst  | 1 +
 Documentation/networking/fm10k.rst   | 1 +
 Documentation/networking/i40e.rst    | 1 +
 Documentation/networking/iavf.rst    | 1 +
 Documentation/networking/ice.rst     | 1 +
 Documentation/networking/igb.rst     | 1 +
 Documentation/networking/igbvf.rst   | 1 +
 Documentation/networking/ixgb.rst    | 1 +
 Documentation/networking/ixgbe.rst   | 1 +
 Documentation/networking/ixgbevf.rst | 1 +
 12 files changed, 12 insertions(+)
Documentation/networking/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/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/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/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/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/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/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/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/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/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/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/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
 =============================================================
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw

From: Mike Rapoport <[email protected]>
Date: Sun, 9 Dec 2018 18:09:51 +0200

Quoted 14 lines

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
...

Quoted 3 lines

Add overline heading adornment to document titles.

Jeff, I am assuming you picked this up.

Let me know if you haven't and you want me to integrate it.

Thanks.

#2 lore raw
Quoted 19 lines · David Miller

From: Mike Rapoport <[email protected]>
Date: Sun, 9 Dec 2018 18:09:51 +0200

Quoted 16 lines

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
...

Quoted 7 lines
Quoted 3 lines

Add overline heading adornment to document titles.

Jeff, I am assuming you picked this up.

Let me know if you haven't and you want me to integrate it.

I got it covered, thanks!