Skip to content

Commit

Permalink
docs: remove platform notices from tutorial titles (#32937)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
erickzhao and malept committed Mar 3, 2022
1 parent 89725f3 commit 62366ae
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 17 deletions.
9 changes: 8 additions & 1 deletion docs/tutorial/in-app-purchases.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# In-App Purchases (macOS)
---
title: In-App Purchases
description: Add in-app purchases to your Mac App Store (MAS) application
slug: in-app-purchases
hide_title: true
---

# In-App Purchases

## Preparing

Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/launch-app-from-url-in-another-app.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Launching Your Electron App From a URL In Another App
description: This guide will take you through the process of setting your electron app as the default handler for a specific protocol.
title: Deep Links
description: Set your Electron app as the default handler for a specific protocol.
slug: launch-app-from-url-in-another-app
hide_title: true
---

# Launching Your Electron App From A URL In Another App
# Deep Links

## Overview

Expand Down
11 changes: 9 additions & 2 deletions docs/tutorial/linux-desktop-actions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Desktop Launcher Actions (Linux)
---
title: Desktop Launcher Actions
description: Add actions to the system launcher on Linux environments.
slug: linux-desktop-actions
hide_title: true
---

# Desktop Launcher Actions

## Overview

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

[unity-launcher]: https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles#Adding_shortcuts_to_a_launcher
[audacious-launcher]: https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles?action=AttachFile&do=get&target=shortcuts.png
[spec]: https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s11.html
[spec]: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
15 changes: 8 additions & 7 deletions docs/tutorial/macos-dock.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Dock (macOS)
---
title: Dock
description: Configure your application's Dock presence on macOS.
slug: macos-dock
hide_title: true
---

# Dock

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

## Example

Starting with a working application from the
[Quick Start Guide](quick-start.md), update the `main.js` file with the
following lines:

```javascript fiddle='docs/fiddles/features/macos-dock-menu'
const { app, BrowserWindow, Menu } = require('electron')

Expand Down
9 changes: 8 additions & 1 deletion docs/tutorial/progress-bar.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Taskbar Progress Bar (Windows & macOS)
---
title: Progress Bars
description: Provide progress information to users outside of a BrowserWindow.
slug: progress-bar
hide_title: true
---

# Progress Bars

## Overview

Expand Down
9 changes: 8 additions & 1 deletion docs/tutorial/recent-documents.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Recent Documents (Windows & macOS)
---
title: Recent Documents
description: Provide a list of recent documents via Windows JumpList or macOS Dock
slug: recent-documents
hide_title: true
---

# Recent Documents

## Overview

Expand Down
9 changes: 8 additions & 1 deletion docs/tutorial/represented-file.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Representing Files in a BrowserWindow (macOS)
---
title: Representing Files in a BrowserWindow
description: Set a represented file in the macOS title bar.
slug: represented-file
hide_title: true
---

# Representing Files in a BrowserWindow

## Overview

Expand Down
9 changes: 8 additions & 1 deletion docs/tutorial/windows-taskbar.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Taskbar Customization (Windows)
---
title: Taskbar Customization
description: Customize the look and feel of your app's Windows taskbar presence.
slug: windows-taskbar
hide_title: true
---

# Taskbar Customization

## Overview

Expand Down

0 comments on commit 62366ae

Please sign in to comment.