Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit 1c57158

Browse files
committed
Merge pull request #205 from electron/update-doc-links
Update doc links for new site
2 parents c0d7dd4 + a08c7e5 commit 1c57158

13 files changed

+20
-20
lines changed

sections/communication/ipc.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>
99
<h3>The <code>ipc</code> (inter-process communication) module allows you to send and receive synchronous and asynchronous messages between the main and renderer processes.</h3>
1010

1111
<p>There is a version of this module available for both processes: <code>ipcMain</code> and <code>ipcRenderer</code>.</p>
12-
<p>Open the full API documentation for the <a href="http://electron.atom.io/docs/latest/api/ipc-main">main process<span class="u-visible-to-screen-reader">(opens in new window)</span></a> and the <a href="http://electron.atom.io/docs/latest/api/ipc-renderer/">renderer process<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12+
<p>Open the full API documentation for the <a href="http://electron.atom.io/docs/api/ipc-main">main process<span class="u-visible-to-screen-reader">(opens in new window)</span></a> and the <a href="http://electron.atom.io/docs/api/ipc-renderer/">renderer process<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1313
</div>
1414
</header>
1515

sections/media/desktop-capturer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>
88
</h1>
99
<h3>The <code>desktopCapturer</code> module in Electron can be used to access any media, such as audio, video, screen and window, that is available through the <code>getUserMedia</code> web API in Chromium.</h3>
1010

11-
<p>Open the <a href="http://electron.atom.io/docs/v0.37.5/api/desktop-capturer">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
11+
<p>Open the <a href="http://electron.atom.io/docs/api/desktop-capturer">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1212
</div>
1313
</header>
1414

sections/media/pdf.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>
88
</h1>
99
<h3>The <code>browser window</code> module in Electron has a property, <code>webContents</code>, which allows your app to print as well as print to PDF.</h3>
1010

11-
<p>Open the <a href="http://electron.atom.io/docs/v0.36.0/api/web-contents/#webcontents-print-options">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
11+
<p>Open the <a href="http://electron.atom.io/docs/api/web-contents/#webcontentsprintoptions">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1212
</div>
1313
</header>
1414

sections/menus/menus.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h3>The <code>menu</code> and <code>menuitem</code> modules can be used to creat
1010

1111
<p>There are two kinds of menus: the application (top) menu and context (right-click) menu.</p>
1212

13-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/menu">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
13+
<p>Open the <a href="http://electron.atom.io/docs/api/menu">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1414
</div>
1515
</header>
1616

sections/menus/shortcuts.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ <h3>The <code>globalShortcut</code> and <code>Menu</code> modules can be used to
1818

1919
<p>
2020
Open the full documentation for the
21-
<a class="u-exlink" href="http://electron.atom.io/docs/latest/api/menu">Menu</a>,
22-
<a class="u-exlink" href="http://electron.atom.io/docs/latest/api/accelerator">Accelerator</a>,
21+
<a class="u-exlink" href="http://electron.atom.io/docs/api/menu">Menu</a>,
22+
<a class="u-exlink" href="http://electron.atom.io/docs/api/accelerator">Accelerator</a>,
2323
and
2424
<a class="u-exlink" href="http://electron.atom.io/docs/api/global-shortcut">globalShortcut</a>
2525
APIs in your browser.

sections/native-ui/dialogs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h3>The <code>dialog</code> module in Electron allows you to use native system d
1010

1111
<p>This is a main process module because this process is more efficient with native utilities and it allows the call to happen without interupting the visible elements in your page's renderer process.</p>
1212

13-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/dialog/">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
13+
<p>Open the <a href="http://electron.atom.io/docs/api/dialog/">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1414
</div>
1515
</header>
1616

sections/native-ui/ex-links-file-manager.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>
99
<h3>The <code>shell</code> module in Electron allows you to access certain native elements like the file manager and default web browser.</h3>
1010

1111
<p>This module works in both the main and renderer process.</p>
12-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/shell">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12+
<p>Open the <a href="http://electron.atom.io/docs/api/shell">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1313
</div>
1414
</header>
1515

sections/native-ui/tray.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>
99
<h3>The <code>tray</code> module allows you to create an icon in the operating system's notification area.</h3>
1010
<p>This icon can also have a context menu attached.</p>
1111

12-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/tray">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12+
<p>Open the <a href="http://electron.atom.io/docs/api/tray">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1313
</div>
1414
</header>
1515

@@ -34,7 +34,7 @@ <h5>Renderer Process</h5>
3434
<div class="demo-protip">
3535
<h2>ProTip</h2>
3636
<strong>Tray support in Linux.</strong>
37-
<p>On Linux distributions that only have app indicator support, users will need to install <code>libappindicator1</code> to make the tray icon work. See the <a href="http://electron.atom.io/docs/latest/api/tray">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more details about using Tray on Linux.</p>
37+
<p>On Linux distributions that only have app indicator support, users will need to install <code>libappindicator1</code> to make the tray icon work. See the <a href="http://electron.atom.io/docs/api/tray">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more details about using Tray on Linux.</p>
3838
</div>
3939
</div>
4040
</div>

sections/system/app-sys-information.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h3>With a few Node.js and Electron modules you can gather information about the
2323
</div>
2424
<p>The main process <code>app</code> module can be used to get the path at which your app is located on the user's computer.</p>
2525
<p>In this example, to get that information from the renderer process, we use the <code>ipc</code> module to send a message to the main process requesting the app's path.</p>
26-
<p>See the <a href="http://electron.atom.io/docs/latest/api/app">app module documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
26+
<p>See the <a href="http://electron.atom.io/docs/api/app">app module documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
2727
<h5>Renderer Process</h5>
2828
<pre><code data-path="renderer-process/system/app-information.js"></pre></code>
2929
<h5>Main Process</h5>
@@ -44,7 +44,7 @@ <h5>Main Process</h5>
4444
</div>
4545
<p>The <code>process</code> module is built into Node.js (therefore you can use this in both the main and renderer processes) and in Electron apps this object has a few more useful properties on it.</p>
4646
<p>The example below gets the version of Electron in use by the app.</p>
47-
<p>See the <a href="http://electron.atom.io/docs/latest/api/process">process documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
47+
<p>See the <a href="http://electron.atom.io/docs/api/process">process documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
4848
<h5>Renderer Process</h5>
4949
<pre><code data-path="renderer-process/system/version-information.js"></pre></code>
5050

@@ -95,7 +95,7 @@ <h5>Renderer Process</h5>
9595
</div>
9696
<p>The Electron <code>screen</code> module retrieves information about screen size, displays, cursor position, etc. In the example below we retrieve the dimensions of the monitor in use.</p>
9797

98-
<p>See the full <a href="http://electron.atom.io/docs/latest/api/screen">screen documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
98+
<p>See the full <a href="http://electron.atom.io/docs/api/screen">screen documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
9999
<h5>Renderer Process</h5>
100100
<pre><code data-path="renderer-process/system/screen-information.js"></pre></code>
101101
</div>

sections/system/clipboard.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>
99
<h3>The <code>clipboard</code> module provides methods to perform copy and paste operations.</h3>
1010
<p>This module also has methods for copying text as markup (HTML) to the clipboard.</p>
1111

12-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/clipboard">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12+
<p>Open the <a href="http://electron.atom.io/docs/api/clipboard">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1313
</div>
1414
</header>
1515

sections/system/protocol-handler.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1>
99
<h3>The <code>app</code> module provides methods for handling protocols.</h3>
1010
<p>These methods allow you to set and unset the protocols your app should be the default app for. Similar to when a browser asks to be your default for viewing web pages.</p>
1111

12-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/app">full app API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12+
<p>Open the <a href="http://electron.atom.io/docs/api/app">full app API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1313
</div>
1414
</header>
1515

sections/windows/crash-hang.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>
88
</h1>
99
<h3>The <code>BrowserWindow</code> module will emit events when the renderer process crashes or hangs. You can listen for these events and give users the chance to reload, wait or close that window.</h3>
1010

11-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/browser-window">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
11+
<p>Open the <a href="http://electron.atom.io/docs/api/browser-window">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1212
</div>
1313
</header>
1414

sections/windows/windows.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h3>The <code>BrowserWindow</code> module in Electron allows you to create a new
1010

1111
<p>Each browser window is a separate process, known as the renderer process. This process, like the main process that controls the life cycle of the app, has full access to the Node.js APIs.
1212

13-
<p>Open the <a href="http://electron.atom.io/docs/latest/api/browser-window">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
13+
<p>Open the <a href="http://electron.atom.io/docs/api/browser-window">full API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
1414
</div>
1515
</header>
1616

@@ -25,7 +25,7 @@ <h3>The <code>BrowserWindow</code> module in Electron allows you to create a new
2525
</div>
2626
<p>The <code>BrowserWindow</code> module gives you the ability to create new windows in your app. This main process module can be used from the renderer process with the <code>remote</code> module, as is shown in this demo.</p>
2727

28-
<p>There are a lot of options when creating a new window. A few are in this demo, but visit the <a href="http://electron.atom.io/docs/latest/api/browser-window">documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
28+
<p>There are a lot of options when creating a new window. A few are in this demo, but visit the <a href="http://electron.atom.io/docs/api/browser-window">documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
2929
<h5>Renderer Process</h5>
3030
<pre><code data-path="renderer-process/windows/create-window.js"></pre></code>
3131

@@ -54,7 +54,7 @@ <h2>ProTip</h2>
5454
</div>
5555
<p>In this demo we create a new window and listen for <code>move</code> and <code>resize</code> events on it. Click the demo button, change the new window and see the dimensions and position update here, above.</p>
5656

57-
<p>There are a lot of methods for controlling the state of the window such as the size, location, and focus status as well as events to listen to for window changes. Visit the <a href="http://electron.atom.io/docs/latest/api/browser-windows">documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
57+
<p>There are a lot of methods for controlling the state of the window such as the size, location, and focus status as well as events to listen to for window changes. Visit the <a href="http://electron.atom.io/docs/api/browser-window">documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
5858
<h5>Renderer Process</h5>
5959
<pre><code data-path="renderer-process/windows/manage-window.js"></pre></code>
6060
</div>
@@ -87,7 +87,7 @@ <h5>Renderer Process</h5>
8787
})</code></pre>
8888

8989
<p>
90-
For more details, see the <a href="http://electron.atom.io/docs/latest/api/frameless-window/">Frameless Window</a> documentation.
90+
For more details, see the <a href="http://electron.atom.io/docs/api/frameless-window/">Frameless Window</a> documentation.
9191
</p>
9292

9393
</div>

0 commit comments

Comments
 (0)