Skip to contentSkip to conversation

docs/devel: Organize devel manual into further subsections

PATCH New John Snow 1 participant 8 messages Sep 23, 2021

lore
Share & tools
lore

John Snow

author
#0 lore raw

v3 cover docs/devel: Organize devel manual into further subsections

It's a bit cluttered. On my way to converting the QAPI/QMP documents to ReST I thought it could do with another organizational level to help make sense of things a bit more quickly.

V3:
- Rebase/resend.

V2:
- Move decodetree into TCG subsection
- Rebase, add QOM/QAPI/QMP docs into API subsection

John Snow (7):
docs/devel: create "Community & Governance" subsection docs/devel: create "Developing QEMU" subsection docs/devel: create "Testing & Debugging" subsection docs/devel: create TCG subsection
docs/devel: create "Subsystem APIs" subsection docs/devel: create "QEMU API" section docs/devel: create "Miscellaneous Topics" subsection

 docs/devel/index.rst                        | 42 ++++-----------------
 docs/devel/section-api.rst                  | 10 +++++
 docs/devel/section-community-governance.rst |  9 +++++
 docs/devel/section-development.rst          | 12 ++++++
 docs/devel/section-misc.rst                 | 13 +++++++
 docs/devel/section-subsystems.rst           | 16 ++++++++
 docs/devel/section-tcg.rst                  | 12 ++++++
 docs/devel/section-testing-debugging.rst    | 12 ++++++
 8 files changed, 91 insertions(+), 35 deletions(-)
 create mode 100644 docs/devel/section-api.rst
 create mode 100644 docs/devel/section-community-governance.rst
 create mode 100644 docs/devel/section-development.rst
 create mode 100644 docs/devel/section-misc.rst
 create mode 100644 docs/devel/section-subsystems.rst
 create mode 100644 docs/devel/section-tcg.rst
 create mode 100644 docs/devel/section-testing-debugging.rst
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH v3 1/7 docs/devel: create "Community & Governance" subsection

Plonk the Code of Conduct and Conflict Resolution Policy guides into a new "Community & Governance" subsection.

---
 docs/devel/index.rst                        | 3 +--
 docs/devel/section-community-governance.rst | 9 +++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)
 create mode 100644 docs/devel/section-community-governance.rst
docs/devel/index.rst +1 -2
index f95df10b3eb..b5cb57124d3 100644
@@ -10,8 +10,7 @@ modifying QEMU's source code.
    :maxdepth: 2
    :includehidden:
 
-   code-of-conduct
-   conflict-resolution
+   section-community-governance
    build-system
    style
    kconfig
docs/devel/section-community-governance.rst new file +9 -0
new file mode 100644
index 00000000000..2c7e07257d1
@@ -0,0 +1,9 @@
+Community & Governance
+======================
+
+.. toctree::
+   :maxdepth: 2
+   :includehidden:
+
+   code-of-conduct
+   conflict-resolution
Signature · 1 line
2.31.1
author
#2 lore raw

PATCH v3 2/7 docs/devel: create "Developing QEMU" subsection

In reply to John Snow
---
 docs/devel/index.rst               |  6 +-----
 docs/devel/section-development.rst | 12 ++++++++++++
 2 files changed, 13 insertions(+), 5 deletions(-)
 create mode 100644 docs/devel/section-development.rst
docs/devel/index.rst +1 -5
index b5cb57124d3..915e44f05f9 100644
@@ -11,9 +11,7 @@ modifying QEMU's source code.
    :includehidden:
 
    section-community-governance
-   build-system
-   style
-   kconfig
+   section-development
    testing
    fuzzing
    control-flow-integrity
@@ -21,11 +19,9 @@ modifying QEMU's source code.
    memory
    migration
    atomics
-   stable-process
    ci
    qtest
    decodetree
-   secure-coding-practices
    tcg
    tcg-icount
    tracing
docs/devel/section-development.rst new file +12 -0
new file mode 100644
index 00000000000..bba4fea30cb
@@ -0,0 +1,12 @@
+Developing QEMU
+===============
+
+.. toctree::
+   :maxdepth: 2
+   :includehidden:
+
+   build-system
+   kconfig
+   style
+   secure-coding-practices
+   stable-process
Signature · 1 line
2.31.1
author
#3 lore raw

PATCH v3 3/7 docs/devel: create "Testing & Debugging" subsection

In reply to John Snow
---
 docs/devel/index.rst                     |  6 +-----
 docs/devel/section-testing-debugging.rst | 12 ++++++++++++
 2 files changed, 13 insertions(+), 5 deletions(-)
 create mode 100644 docs/devel/section-testing-debugging.rst
docs/devel/index.rst +1 -5
index 915e44f05f9..35a7de4d0a4 100644
@@ -12,19 +12,15 @@ modifying QEMU's source code.
 
    section-community-governance
    section-development
-   testing
-   fuzzing
+   section-testing-debugging
    control-flow-integrity
    loads-stores
    memory
    migration
    atomics
-   ci
-   qtest
    decodetree
    tcg
    tcg-icount
-   tracing
    multi-thread-tcg
    tcg-plugins
    bitops
docs/devel/section-testing-debugging.rst new file +12 -0
new file mode 100644
index 00000000000..e59ddab4cf5
@@ -0,0 +1,12 @@
+Testing & Debugging
+===================
+
+.. toctree::
+   :maxdepth: 2
+   :includehidden:
+
+   ci
+   fuzzing
+   qtest
+   testing
+   tracing
Signature · 1 line
2.31.1
author
#4 lore raw

PATCH v3 4/7 docs/devel: create TCG subsection

In reply to John Snow
---
 docs/devel/index.rst       |  6 +-----
 docs/devel/section-tcg.rst | 12 ++++++++++++
 2 files changed, 13 insertions(+), 5 deletions(-)
 create mode 100644 docs/devel/section-tcg.rst
docs/devel/index.rst +1 -5
index 35a7de4d0a4..3ec699c8410 100644
@@ -13,16 +13,12 @@ modifying QEMU's source code.
    section-community-governance
    section-development
    section-testing-debugging
+   section-tcg
    control-flow-integrity
    loads-stores
    memory
    migration
    atomics
-   decodetree
-   tcg
-   tcg-icount
-   multi-thread-tcg
-   tcg-plugins
    bitops
    ui
    reset
docs/devel/section-tcg.rst new file +12 -0
new file mode 100644
index 00000000000..dec4ab984b6
@@ -0,0 +1,12 @@
+TCG - Tiny Code Generator
+=========================
+
+.. toctree::
+   :maxdepth: 2
+   :includehidden:
+
+   tcg
+   tcg-icount
+   multi-thread-tcg
+   decodetree
+   tcg-plugins
Signature · 1 line
2.31.1
author
#5 lore raw

PATCH v3 5/7 docs/devel: create "Subsystem APIs" subsection

In reply to John Snow
---
 docs/devel/index.rst              | 10 +---------
 docs/devel/section-subsystems.rst | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 9 deletions(-)
 create mode 100644 docs/devel/section-subsystems.rst
docs/devel/index.rst +1 -9
index 3ec699c8410..d6df483fce6 100644
@@ -14,18 +14,10 @@ modifying QEMU's source code.
    section-development
    section-testing-debugging
    section-tcg
+   section-subsystems
    control-flow-integrity
-   loads-stores
-   memory
-   migration
-   atomics
-   bitops
-   ui
-   reset
    s390-dasd-ipl
-   clocks
    qom
-   modules
    block-coroutine-wrapper
    multi-process
    ebpf_rss
docs/devel/section-subsystems.rst new file +16 -0
new file mode 100644
index 00000000000..fbe21f85adf
@@ -0,0 +1,16 @@
+Subsystem APIs
+==============
+
+.. toctree::
+   :maxdepth: 2
+   :includehidden:
+
+   atomics
+   bitops
+   loads-stores
+   clocks
+   memory
+   ui
+   migration
+   reset
+   modules
Signature · 1 line
2.31.1
author
#6 lore raw

PATCH v3 6/7 docs/devel: create "QEMU API" section

In reply to John Snow
---
 docs/devel/index.rst       |  4 +---
 docs/devel/section-api.rst | 10 ++++++++++
 2 files changed, 11 insertions(+), 3 deletions(-)
 create mode 100644 docs/devel/section-api.rst
docs/devel/index.rst +1 -3
index d6df483fce6..449b09b75b8 100644
@@ -13,14 +13,12 @@ modifying QEMU's source code.
    section-community-governance
    section-development
    section-testing-debugging
+   section-api
    section-tcg
    section-subsystems
    control-flow-integrity
    s390-dasd-ipl
-   qom
    block-coroutine-wrapper
    multi-process
    ebpf_rss
    vfio-migration
-   qapi-code-gen
-   writing-qmp-commands
docs/devel/section-api.rst new file +10 -0
new file mode 100644
index 00000000000..d62b614fe3d
@@ -0,0 +1,10 @@
+QEMU API
+========
+
+.. toctree::
+   :maxdepth: 2
+   :includehidden:
+
+   qapi-code-gen
+   writing-qmp-commands
+   qom
Signature · 1 line
2.31.1
author
#7 lore raw

PATCH v3 7/7 docs/devel: create "Miscellaneous Topics" subsection

In reply to John Snow

The hallmark of any truly great taxonomical reorganization: the bin of leftover bits and pieces that didn't neatly fit elsewhere.

---
 docs/devel/index.rst        |  7 +------
 docs/devel/section-misc.rst | 13 +++++++++++++
 2 files changed, 14 insertions(+), 6 deletions(-)
 create mode 100644 docs/devel/section-misc.rst
docs/devel/index.rst +1 -6
index 449b09b75b8..c022c7a4e89 100644
@@ -16,9 +16,4 @@ modifying QEMU's source code.
    section-api
    section-tcg
    section-subsystems
-   control-flow-integrity
-   s390-dasd-ipl
-   block-coroutine-wrapper
-   multi-process
-   ebpf_rss
-   vfio-migration
+   section-misc
docs/devel/section-misc.rst new file +13 -0
new file mode 100644
index 00000000000..e663e0e8b14
@@ -0,0 +1,13 @@
+Miscellaneous Topics
+====================
+
+.. toctree::
+   :maxdepth: 2
+   :includehidden:
+
+   control-flow-integrity
+   s390-dasd-ipl
+   block-coroutine-wrapper
+   multi-process
+   ebpf_rss
+   vfio-migration
Signature · 1 line
2.31.1