Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/9] doc: Improve and fix documentation and API comments
@ 2026-09-11  7:04 Andrea Cervesato
  2026-09-11  7:04 ` [LTP] [PATCH v2 1/9] doc: Fix examples and generated links Andrea Cervesato
                   ` (10 more replies)
  0 siblings, 11 replies; 18+ messages in thread
From: Andrea Cervesato @ 2026-09-11  7:04 UTC (permalink / raw)
  To: Linux Test Project

This series improves documentation accuracy, adds missing kernel-doc
comments for public C test APIs, and fixes errors across Sphinx docs
and header comments:

- Fix Sphinx configuration paths and git commit URLs, repair JSON
  syntax in shell API examples, and replace hardcoded HTML anchors
  with Sphinx references.
- Correct tutorial instructions, command flags, and file descriptor
  cleanup patterns to adhere to LTP conventions.
- Expand documentation navigation by linking the testers guide in the
  user index and adding an overview for single-host and two-host
  network test setups.
- Add kernel-doc comments for public macros and helpers in
  tst_assert.h, tst_fs.h, tst_memutils.h, and tst_safe_file_ops.h.
- Add tst_common.h and tst_cpu.h to the C API reference documentation.
- Normalize kernel-doc Return tags and fix typographical and grammatical
  errors across header comments.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v2:
- point network API documentation directly to testcases/network/README.md
- fix commit hash in the example
- Link to v1: https://lore.kernel.org/20260910-fix_documentation-v1-0-44313069bbe8@suse.com

---
Andrea Cervesato (9):
      doc: Fix examples and generated links
      doc: Correct guide and API descriptions
      doc: Clarify API coverage and navigation
      include: Document assertion API macros
      include: Document filesystem test utilities
      include: Document memory test utilities
      include: Document safe file operations
      doc: Document CPU and common test helpers
      include: Fix API comment spelling and style

 INSTALL                               |  10 +-
 doc/conf.py                           |   4 +-
 doc/developers/api_c_tests.rst        |   5 +
 doc/developers/api_network_tests.rst  |   5 +-
 doc/developers/api_shell_tests.rst    |   7 +-
 doc/developers/build_system.rst       |   2 +-
 doc/developers/test_case_tutorial.rst |  27 ++---
 doc/developers/writing_tests.rst      |   8 ++
 doc/index.rst                         |   3 +
 doc/users/testers_guide.rst           |   4 +-
 include/tse_numa.h                    |  10 +-
 include/tst_assert.h                  |  85 ++++++++++------
 include/tst_buffers.h                 |  10 +-
 include/tst_checkpoint.h              |   6 +-
 include/tst_cmd.h                     |   2 +
 include/tst_common.h                  |  18 ++--
 include/tst_fs.h                      | 186 +++++++++++++++++++++++-----------
 include/tst_memutils.h                |  70 ++++++-------
 include/tst_process_state.h           |   8 +-
 include/tst_safe_file_ops.h           |  59 +++++++++++
 include/tst_test.h                    |  20 ++--
 include/tst_test_macros.h             |  58 +++++------
 include/ujson_common.h                |   2 +-
 include/ujson_reader.h                |   8 +-
 include/ujson_utf.h                   |   2 +-
 include/ujson_writer.h                |   2 +-
 26 files changed, 397 insertions(+), 224 deletions(-)
---
base-commit: 72a170823fb0d03a6a2292934c800c4e522ec40d
change-id: 20260909-fix_documentation-104adc46e555

Best regards,
--  
Andrea Cervesato <andrea.cervesato@suse.com>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-09-11 13:06 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-11  7:04 [LTP] [PATCH v2 0/9] doc: Improve and fix documentation and API comments Andrea Cervesato
2026-09-11  7:04 ` [LTP] [PATCH v2 1/9] doc: Fix examples and generated links Andrea Cervesato
2026-09-11  7:04 ` [LTP] [PATCH v2 2/9] doc: Correct guide and API descriptions Andrea Cervesato
2026-09-11 10:59   ` Petr Vorel
2026-09-11  7:04 ` [LTP] [PATCH v2 3/9] doc: Clarify API coverage and navigation Andrea Cervesato
2026-09-11  7:04 ` [LTP] [PATCH v2 4/9] include: Document assertion API macros Andrea Cervesato
2026-09-11 11:10   ` Petr Vorel
2026-09-11  7:04 ` [LTP] [PATCH v2 5/9] include: Document filesystem test utilities Andrea Cervesato
2026-09-11 11:19   ` Petr Vorel
2026-09-11  7:04 ` [LTP] [PATCH v2 6/9] include: Document memory " Andrea Cervesato
2026-09-11 11:39   ` Petr Vorel
2026-09-11  7:04 ` [LTP] [PATCH v2 7/9] include: Document safe file operations Andrea Cervesato
2026-09-11  7:04 ` [LTP] [PATCH v2 8/9] doc: Document CPU and common test helpers Andrea Cervesato
2026-09-11 11:56   ` Petr Vorel
2026-09-11  7:04 ` [LTP] [PATCH v2 9/9] include: Fix API comment spelling and style Andrea Cervesato
2026-09-11 12:21   ` Petr Vorel
2026-09-11 12:34 ` [LTP] [PATCH v2 0/9] doc: Improve and fix documentation and API comments Andrea Cervesato via ltp
2026-09-11 13:06 ` Andrea Cervesato via ltp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox