Skip to content

Commit 06905f6

Browse files
committed
docs: standardize directory index to --- with overline
Use a standard heading format for the index.rst file in a directory. Using overlines makes it clear that individual documents can use e.g. === for chapter titles and --- for section titles, as suggested in the Linux kernel guidelines[1]. They could do it anyway, because documents included in a toctree are parsed separately and therefore are not tied to the same conventions for headings. However, keeping some consistency is useful since sometimes files are included from multiple places. [1] https://www.kernel.org/doc/html/latest/doc-guide/sphinx.html Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 8a1f7d2 commit 06905f6

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

docs/about/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
----------
12
About QEMU
2-
==========
3+
----------
34

45
QEMU is a generic and open source machine emulator and virtualizer.
56

docs/devel/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
---------------------
12
Developer Information
2-
=====================
3+
---------------------
34

45
This section of the manual documents various parts of the internals of QEMU.
56
You only need to read it if you are interested in reading or

docs/interop/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
------------------------------------------------
12
System Emulation Management and Interoperability
2-
================================================
3+
------------------------------------------------
34

45
This section of the manual contains documents and specifications that
56
are useful for making QEMU interoperate with other software.

docs/specs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
----------------------------------------------
12
System Emulation Guest Hardware Specifications
2-
==============================================
3+
----------------------------------------------
34

45
This section of the manual contains specifications of
56
guest hardware that is specific to QEMU.

docs/system/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
----------------
12
System Emulation
2-
================
3+
----------------
34

45
This section of the manual is the overall guide for users using QEMU
56
for full system emulation (as opposed to user-mode emulation).

docs/tools/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
-----
12
Tools
2-
=====
3+
-----
34

45
This section of the manual documents QEMU's "tools": its
56
command line utilities and other standalone programs.

docs/user/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
-------------------
12
User Mode Emulation
2-
===================
3+
-------------------
34

45
This section of the manual is the overall guide for users using QEMU
56
for user-mode emulation. In this mode, QEMU can launch

0 commit comments

Comments
 (0)