summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/devguide.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/docs/devguide.html')
-rwxr-xr-xchrome/common/extensions/docs/devguide.html146
1 files changed, 44 insertions, 102 deletions
diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html
index 8c1b2a3..faf8a37 100755
--- a/chrome/common/extensions/docs/devguide.html
+++ b/chrome/common/extensions/docs/devguide.html
@@ -1,104 +1,46 @@
<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Extensions: Developer's Guide</title>
- <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
-</head>
-<body>
-
- <div id="container">
- <a name="top"> </a>
-
- <!-- API HEADER -->
- <div id="pageHeader">
- <!-- BREADCRUMB -->
- <!-- TODO: Fix these hrefs -->
- <div id="breadcrumbs">
- <a href="./index.html">Google Chrome Extensions</a> &gt;
- Developer's Guide
- </div>
- <div id="searchbox">
- <form action="http://www.google.com/cse" id="cse-search-box">
- <div>
- <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno" />
- <input type="hidden" name="ie" value="UTF-8" />
- <input type="text" name="q" size="31" />
- <input type="submit" name="sa" value="Search" />
- </div>
- </form>
-
- <script type="text/javascript" src="http://www.google.com/jsapi"></script>
- <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script>
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
- </div>
- <div id="pageTitle">
- <h1>Developer's Guide</h1>
- </div>
- </div> <!-- /pageHeader -->
-
- <div id="pageContent">
- <!-- SIDENAV -->
- <div id="leftNav">
- <ul>
- <li> Overview </li>
- <li> Get Started </li>
- <li> Developer's Guide </li>
- <li> Reference
- <ul>
- <li> chrome.* APIs
- </li>
- </ul>
- </li>
- </ul>
- </div>
-
- <div id="mainColumn">
-
- <!-- CONTENT -->
-<p>
-[PENDING: intro to the guide goes here. say where to go. lots o' links.]
-</p>
-
-<p>
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sed
-elit felis. Vestibulum porta mauris eget mi placerat a condimentum leo
-semper. Ut scelerisque, ipsum in cursus semper, lectus enim molestie
-ante, a porttitor dolor neque sit amet lorem. Integer dignissim gravida
-eros ac rhoncus. Curabitur porttitor hendrerit dolor nec aliquam. Ut
-vulputate ultrices eros eu ultrices. Pellentesque tempor mattis
-odio in blandit. Proin nulla metus, tristique eget iaculis gravida,
-varius at leo. Ut dolor mi, auctor et scelerisque vitae, volutpat
-eleifend magna. Pellentesque habitant morbi tristique senectus et
-netus et malesuada fames ac turpis egestas. Morbi ut risus nec massa
-consectetur accumsan sed non est. Fusce ornare eros et felis dignissim
-convallis. Maecenas condimentum purus eget nisl condimentum vitae ornare
-diam sollicitudin. Nulla et dictum ante. In lacus odio, dapibus vel
-faucibus at, posuere id enim. Nulla tincidunt felis id lectus convallis
-vulputate. Phasellus libero dui, posuere sollicitudin egestas eget,
-blandit in urna. Sed cursus tellus sed diam hendrerit pulvinar.
-</p>
-
-<p>
-Nam tincidunt mollis aliquam. Suspendisse bibendum dignissim dui,
-ac mollis ligula fringilla sit amet. Pellentesque dapibus lobortis
-dignissim. Cras eu lorem a ligula imperdiet ultricies. Phasellus ipsum
-mi, accumsan quis dignissim eu, commodo ut mi. Nulla sagittis aliquet
-malesuada. Ut lobortis tellus vitae dolor venenatis eu ullamcorper
-lorem gravida. Quisque non pharetra velit. Maecenas elit risus,
-ultricies in sagittis eget, facilisis sed neque. Quisque feugiat porta
-pharetra. Vestibulum lorem magna, pellentesque et mattis sit amet,
-euismod et dui.
-</p>
-
- </div> <!-- /mainColumn -->
- </div> <!-- /pageContent -->
- <div id="pageFooter" -->
- Copyright 2009
- <br />
- TBD: copyright/license should be automatically included here
- </div> <!-- /pageFooter -->
- </div> <!-- /container -->
-</body>
+<!-- This page is a placeholder for generated extensions api doc. Note:
+ 1) The <head> information in this page is significant, should be uniform
+ across api docs and should be edited only with knowledge of the
+ templating mechanism.
+ 2) The <body> tag *must* retain id="body"
+ 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
+ browser, it will be re-generated from the template, json schema and
+ authored overview content.
+ 4) The <body>.innerHTML is also generated by an offline step so that this
+ page may easily be indexed by search engines.
+
+ TODO(rafaelw): Abstract this into a "pageshell" that becomes the single
+ version of page template shell and the "instance" pages (bookmarks.html,
+ etc...) can be generated with a build step.
+-->
+<!-- <html> must retain id="template -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <!-- <head> data is significant and loads the needed libraries and styles -->
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title jscontent="pageTitle">pageTitle</title>
+ <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
+ <script type="text/javascript"
+ src="../../../third_party/jstemplate/jstemplate_compiled.js">
+ </script>
+ <script type="text/javascript" src="js/api_page_generator.js"></script>
+ <script>
+// Re-render the page if the user-agent is chrome and it is being served as
+// a file:/// scheme. This allows both the initial render to static as well
+// as dynamic re-rendering for developers/doc-writers working on local changes.
+window.onload = function() {
+ var chrome = navigator.userAgent.indexOf("Chrome") > -1;
+ var fileScheme = location.protocol == "file:";
+ var regenerate = chrome && fileScheme;
+ //if (regenerate) {
+ window.renderPage();
+ //}
+}
+ </script>
+ </head>
+ <!-- <body> content is completely generated. Do not edit, as it will be
+ and rewritten. -->
+ <body class="hidden">
+ </body>
</html>