From: Cheng Zhao Date: Mon, 9 Sep 2013 07:35:57 +0000 (+0800) Subject: doc: Add titles for all pages. X-Git-Tag: v0.4.5~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6b81070f67210fbaa09100097834b21e354de7c9;p=electron.git doc: Add titles for all pages. --- diff --git a/docs/app.md b/docs/app.md index f9f075b7..092eb388 100644 --- a/docs/app.md +++ b/docs/app.md @@ -1,4 +1,4 @@ -## Synopsis +# app The `app` module is responsible for controlling the application's life time. diff --git a/docs/atom-delegate.md b/docs/atom-delegate.md index f4cb3074..b172a77d 100644 --- a/docs/atom-delegate.md +++ b/docs/atom-delegate.md @@ -1,4 +1,4 @@ -## Synopsis +# atom-delegate The `atom-delegate` returns the delegate object for Chrome Content API. The atom-shell would call methods of the delegate object when the corresponding diff --git a/docs/auto-updater.md b/docs/auto-updater.md index 77d91270..d78a8720 100644 --- a/docs/auto-updater.md +++ b/docs/auto-updater.md @@ -1,4 +1,4 @@ -## Synopsis +# auto-updater `auto-updater` module is a simple wrap around the Sparkle framework, it provides auto update service for the application. diff --git a/docs/build-instructions-mac.md b/docs/build-instructions-mac.md index f1d6d5db..d56876e5 100644 --- a/docs/build-instructions-mac.md +++ b/docs/build-instructions-mac.md @@ -1,3 +1,5 @@ +# Build instructions (Mac) + ## Prerequisites * Mac OS X >= 10.7 diff --git a/docs/build-instructions-windows.md b/docs/build-instructions-windows.md index d95bf2d2..3939a9fd 100644 --- a/docs/build-instructions-windows.md +++ b/docs/build-instructions-windows.md @@ -1,3 +1,5 @@ +# Build instructions (Windows) + ## Prerequisites * Windows 7 or later diff --git a/docs/build-native-modules.md b/docs/build-native-modules.md index 19a8c928..feb5514c 100644 --- a/docs/build-native-modules.md +++ b/docs/build-native-modules.md @@ -1,3 +1,5 @@ +# Build native modules + Since atom-shell is using a different V8 version from the official node, you need to build native module against atom-shell's headers to use them. diff --git a/docs/clipboard.md b/docs/clipboard.md index 3775fbaf..f95364f0 100644 --- a/docs/clipboard.md +++ b/docs/clipboard.md @@ -1,4 +1,4 @@ -## Synopsis +# clipboard An example of writing a string to clipboard: diff --git a/docs/coding-style.md b/docs/coding-style.md index 99e4c69e..28f3c5bb 100644 --- a/docs/coding-style.md +++ b/docs/coding-style.md @@ -1,3 +1,5 @@ +# Coding style + ## C++ and Python For C++ and Python, we just follow Chromium's [Coding diff --git a/docs/crash-reporter.md b/docs/crash-reporter.md index e5fde5c3..b6785fa3 100644 --- a/docs/crash-reporter.md +++ b/docs/crash-reporter.md @@ -1,4 +1,4 @@ -## Synopsis +# crash-reporter An example of automatically submitting crash reporters to remote server: diff --git a/docs/dialog.md b/docs/dialog.md index 2b7f58cc..0ded6b49 100644 --- a/docs/dialog.md +++ b/docs/dialog.md @@ -1,4 +1,4 @@ -## Synopsis +# dialog The `dialog` module provides functions to show system dialogs, so web applications can get the same user experience with native applications. diff --git a/docs/ipc-browser.md b/docs/ipc-browser.md index 30061515..34ebda8a 100644 --- a/docs/ipc-browser.md +++ b/docs/ipc-browser.md @@ -1,4 +1,4 @@ -## Synopsis +# ipc (browser) The `ipc` module allows developers to send asynchronous messages to renderers. To avoid possible dead-locks, it's not allowed to send synchronous messages in diff --git a/docs/ipc-renderer.md b/docs/ipc-renderer.md index 78533db3..cdeadf39 100644 --- a/docs/ipc-renderer.md +++ b/docs/ipc-renderer.md @@ -1,4 +1,4 @@ -## Synopsis +# ipc (renderer) The `ipc` module provides a few methods so you can send synchronous and asynchronous messages to the browser, and also receive messages sent from diff --git a/docs/menu-item.md b/docs/menu-item.md index 693343a6..ec54743d 100644 --- a/docs/menu-item.md +++ b/docs/menu-item.md @@ -1,3 +1,5 @@ +# menu-item + ## Class: MenuItem ### new MenuItem(options) diff --git a/docs/menu.md b/docs/menu.md index 586d5442..2e813d5b 100644 --- a/docs/menu.md +++ b/docs/menu.md @@ -1,4 +1,4 @@ -## Synopsis +# menu The `Menu` class is used to create native menus that can be used as application menu and context menu. Each menu is consisted of multiple menu diff --git a/docs/power-monitor.md b/docs/power-monitor.md index 873d2a93..1f7169fc 100644 --- a/docs/power-monitor.md +++ b/docs/power-monitor.md @@ -1,4 +1,4 @@ -## Synopsis +# power-monitor The `power-monitor` module is used to monitor the power state change, you can only use it on the browser side. diff --git a/docs/protocol.md b/docs/protocol.md index d13025df..ec6c1f2f 100644 --- a/docs/protocol.md +++ b/docs/protocol.md @@ -1,4 +1,4 @@ -## Synopsis +# protocol The `protocol` module can register a new protocol or intercept an existing protocol, so you can custom the response to the requests for vairous protocols. diff --git a/docs/quick-start.md b/docs/quick-start.md index 37a4bf30..5ba8e85b 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -1,3 +1,5 @@ +# Quick start + ## Introduction Generally, atom-shell lets you create a web-based desktop application in pure diff --git a/docs/remote.md b/docs/remote.md index 3514826f..74117687 100644 --- a/docs/remote.md +++ b/docs/remote.md @@ -1,4 +1,4 @@ -## Synopsis +# remote It's common that the developers want to use modules in browsers from the renderer, like closing current window, opening file dialogs, etc. Instead of diff --git a/docs/shell.md b/docs/shell.md index 3cb8350e..e909ac60 100644 --- a/docs/shell.md +++ b/docs/shell.md @@ -1,4 +1,4 @@ -## Synopsis +# shell The `shell` module provides functions related to desktop integration. diff --git a/docs/source-code-directory-structure.md b/docs/source-code-directory-structure.md index 00a0d4f3..3f46bf63 100644 --- a/docs/source-code-directory-structure.md +++ b/docs/source-code-directory-structure.md @@ -1,3 +1,5 @@ +# Source code directory structure + ## Overview The source code of atom-shell is separated into a few parts, and we are mostly @@ -13,6 +15,7 @@ to understand the source code better. program. * **browser** - The frontend including the main window, UI, and all browser side things. This talks to the renderer to manage web pages. + * **ui** - Implementation of UI stuff for different platforms. * **atom** - Initializes the javascript environment of browser. * **default_app** - The default page to show when atom-shell is started without providing an app.