Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Unified Diff: chrome/common/extensions/docs/templates/articles/first_app.html

Issue 219213007: Remove .html extension from links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/articles/first_app.html
diff --git a/chrome/common/extensions/docs/templates/articles/first_app.html b/chrome/common/extensions/docs/templates/articles/first_app.html
index bf9aaa0d9b4d08e4071817e055926de38f468b16..a5403a95da586eb4db9871c6c22ff4c595d42c62 100644
--- a/chrome/common/extensions/docs/templates/articles/first_app.html
+++ b/chrome/common/extensions/docs/templates/articles/first_app.html
@@ -8,7 +8,7 @@ Chrome Apps are structured similarly to extensions
so current developers will recognize the manifest and packaging methods.
When you're done,
you'll just need to produce a zip file of your code and assets
-in order to <a href="publish_app.html">publish</a> your app.
+in order to <a href="publish_app">publish</a> your app.
</p>
<p>
@@ -38,7 +38,7 @@ sample.
<p>
First create your <code>manifest.json</code> file
-(<a href="manifest.html">Formats: Manifest Files</a>
+(<a href="manifest">Formats: Manifest Files</a>
describes this manifest in detail):
</p>
@@ -59,7 +59,7 @@ describes this manifest in detail):
<p class="note">
<b>Important:</b>
Chrome Apps <b>must</b> use
-<a href="manifestVersion.html">manifest version 2</a>.
+<a href="manifestVersion">manifest version 2</a>.
</p>
<h2 id="two">Step 2: Create the background script</h2>
@@ -71,7 +71,7 @@ with the following content:
<pre data-filename="background.js">
chrome.app.runtime.onLaunched.addListener(function() {
- chrome.app.window.create('window.html', {
+ chrome.app.window.create('window', {
'bounds': {
'width': 400,
'height': 500
@@ -82,7 +82,7 @@ chrome.app.runtime.onLaunched.addListener(function() {
<p>
In the above sample code,
-the <a href="app_lifecycle.html#lifecycle">onLaunched event</a>
+the <a href="app_lifecycle#lifecycle">onLaunched event</a>
will be fired when the user starts the app.
It then immediately opens a window for the app of the specified width and height.
Your background script may contain additional listeners,
@@ -93,10 +93,10 @@ all of which are used by the event page to manage the app.
<h2 id="three">Step 3: Create a window page</h2>
<p>
-Create your <code>window.html</code> file:
+Create your <code>window</code> file:
</p>
-<pre data-filename="window.html">
+<pre data-filename="window">
&lt;!DOCTYPE html>
&lt;html>
&lt;head>

Powered by Google App Engine
This is Rietveld 408576698