Skip to content

Commit 62366ae

Browse files
erickzhaomalept
andauthored
docs: remove platform notices from tutorial titles (electron#32937)
* docs: remove platform notices from tutorial titles * Update docs/tutorial/launch-app-from-url-in-another-app.md Co-authored-by: Mark Lee <malept@users.noreply.github.com> Co-authored-by: Mark Lee <malept@users.noreply.github.com>
1 parent 89725f3 commit 62366ae

File tree

8 files changed

+60
-17
lines changed

8 files changed

+60
-17
lines changed

docs/tutorial/in-app-purchases.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# In-App Purchases (macOS)
1+
---
2+
title: In-App Purchases
3+
description: Add in-app purchases to your Mac App Store (MAS) application
4+
slug: in-app-purchases
5+
hide_title: true
6+
---
7+
8+
# In-App Purchases
29

310
## Preparing
411

docs/tutorial/launch-app-from-url-in-another-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: Launching Your Electron App From a URL In Another App
3-
description: This guide will take you through the process of setting your electron app as the default handler for a specific protocol.
2+
title: Deep Links
3+
description: Set your Electron app as the default handler for a specific protocol.
44
slug: launch-app-from-url-in-another-app
55
hide_title: true
66
---
77

8-
# Launching Your Electron App From A URL In Another App
8+
# Deep Links
99

1010
## Overview
1111

docs/tutorial/linux-desktop-actions.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Desktop Launcher Actions (Linux)
1+
---
2+
title: Desktop Launcher Actions
3+
description: Add actions to the system launcher on Linux environments.
4+
slug: linux-desktop-actions
5+
hide_title: true
6+
---
7+
8+
# Desktop Launcher Actions
29

310
## Overview
411

@@ -42,4 +49,4 @@ parameters. You can find them in your application in the global variable
4249

4350
[unity-launcher]: https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles#Adding_shortcuts_to_a_launcher
4451
[audacious-launcher]: https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles?action=AttachFile&do=get&target=shortcuts.png
45-
[spec]: https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s11.html
52+
[spec]: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

docs/tutorial/macos-dock.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Dock (macOS)
1+
---
2+
title: Dock
3+
description: Configure your application's Dock presence on macOS.
4+
slug: macos-dock
5+
hide_title: true
6+
---
7+
8+
# Dock
29

310
Electron has APIs to configure the app's icon in the macOS Dock. A macOS-only
411
API exists to create a custom dock menu, but Electron also uses the app dock
@@ -16,12 +23,6 @@ To set your custom dock menu, you need to use the
1623
[`app.dock.setMenu`](../api/dock.md#docksetmenumenu-macos) API,
1724
which is only available on macOS.
1825

19-
## Example
20-
21-
Starting with a working application from the
22-
[Quick Start Guide](quick-start.md), update the `main.js` file with the
23-
following lines:
24-
2526
```javascript fiddle='docs/fiddles/features/macos-dock-menu'
2627
const { app, BrowserWindow, Menu } = require('electron')
2728

docs/tutorial/progress-bar.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Taskbar Progress Bar (Windows & macOS)
1+
---
2+
title: Progress Bars
3+
description: Provide progress information to users outside of a BrowserWindow.
4+
slug: progress-bar
5+
hide_title: true
6+
---
7+
8+
# Progress Bars
29

310
## Overview
411

docs/tutorial/recent-documents.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Recent Documents (Windows & macOS)
1+
---
2+
title: Recent Documents
3+
description: Provide a list of recent documents via Windows JumpList or macOS Dock
4+
slug: recent-documents
5+
hide_title: true
6+
---
7+
8+
# Recent Documents
29

310
## Overview
411

docs/tutorial/represented-file.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Representing Files in a BrowserWindow (macOS)
1+
---
2+
title: Representing Files in a BrowserWindow
3+
description: Set a represented file in the macOS title bar.
4+
slug: represented-file
5+
hide_title: true
6+
---
7+
8+
# Representing Files in a BrowserWindow
29

310
## Overview
411

docs/tutorial/windows-taskbar.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Taskbar Customization (Windows)
1+
---
2+
title: Taskbar Customization
3+
description: Customize the look and feel of your app's Windows taskbar presence.
4+
slug: windows-taskbar
5+
hide_title: true
6+
---
7+
8+
# Taskbar Customization
29

310
## Overview
411

0 commit comments

Comments
 (0)