From 732c882e8ec9bfddf92b88f4e56fc8612b04b238 Mon Sep 17 00:00:00 2001 From: Kayce Basques Date: Thu, 6 Jun 2024 20:23:36 +0000 Subject: [PATCH] pw_async: Add module metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: 339741960 Change-Id: I908fa2b645442b01f904c1d444a20f2d8e1152e5 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/214499 Lint: Lint 🤖 Reviewed-by: Taylor Cramer Commit-Queue: Auto-Submit Presubmit-Verified: CQ Bot Account Pigweed-Auto-Submit: Kayce Basques --- docs/module_metadata.json | 7 +++++++ docs/module_metadata_schema.json | 3 ++- pw_async/backends.rst | 7 +++++-- pw_async/docs.rst | 6 ++++-- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/docs/module_metadata.json b/docs/module_metadata.json index 8214c75fd..0d3ae9689 100644 --- a/docs/module_metadata.json +++ b/docs/module_metadata.json @@ -22,6 +22,13 @@ "GN" ] }, + "pw_async": { + "tagline": "Portable APIs for asynchronous code", + "status": "deprecated", + "languages": [ + "C++" + ] + }, "pw_async2": { "tagline": "Cooperative async tasks for embedded", "status": "experimental", diff --git a/docs/module_metadata_schema.json b/docs/module_metadata_schema.json index 4a54fceb8..ddb20be62 100644 --- a/docs/module_metadata_schema.json +++ b/docs/module_metadata_schema.json @@ -38,7 +38,8 @@ "enum": [ "stable", "unstable", - "experimental" + "experimental", + "deprecated" ] }, "tagline": { diff --git a/pw_async/backends.rst b/pw_async/backends.rst index 9187c73d3..5d227fc86 100644 --- a/pw_async/backends.rst +++ b/pw_async/backends.rst @@ -1,8 +1,11 @@ .. _module-pw_async-backends: -================== +================= pw_async backends -================== +================= +.. pigweed-module-subpage:: + :name: pw_async + .. TODO: b/323607687 - Add backend guidance here .. toctree:: diff --git a/pw_async/docs.rst b/pw_async/docs.rst index c4579d610..a205d9aa3 100644 --- a/pw_async/docs.rst +++ b/pw_async/docs.rst @@ -1,8 +1,10 @@ .. _module-pw_async: -================ +======== pw_async -================ +======== +.. pigweed-module:: + :name: pw_async -------- Overview