From 6812b131617341ec05f0f9bb9bb31a192b2b5170 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Thu, 28 Aug 2025 10:25:13 +0200 Subject: [PATCH] docs: fix some module headings (#48195) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Erick Zhao --- docs/api/menu-item.md | 2 ++ docs/api/service-worker-main.md | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/api/menu-item.md b/docs/api/menu-item.md index 2c5ee27da4..90c72fb578 100644 --- a/docs/api/menu-item.md +++ b/docs/api/menu-item.md @@ -1,3 +1,5 @@ +# MenuItem + ## Class: MenuItem > Add items to native application menus and context menus. diff --git a/docs/api/service-worker-main.md b/docs/api/service-worker-main.md index 1118328c55..d51d65c9e3 100644 --- a/docs/api/service-worker-main.md +++ b/docs/api/service-worker-main.md @@ -1,11 +1,7 @@ -# ServiceWorkerMain +## Class: ServiceWorkerMain > An instance of a Service Worker representing a version of a script for a given scope. -Process: [Main](../glossary.md#main-process) - -## Class: ServiceWorkerMain - Process: [Main](../glossary.md#main-process)
_This class is not exported from the `'electron'` module. It is only available as a return value of other methods in the Electron API._