From 55ba37348090cad8927ab5da4e2a127a3e3d9827 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Thu, 28 Aug 2025 10:25:20 +0200 Subject: [PATCH] docs: fix some module headings (#48194) 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 980b27d2dee..0a919116eb7 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 1118328c55a..d51d65c9e35 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._