aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/index.html
diff options
context:
space:
mode:
authorMisko Hevery2010-12-23 00:44:27 +0100
committerMisko Hevery2011-01-10 11:50:11 -0800
commit4f22d6866c052fb5b770ce4f377cecacacd9e6d8 (patch)
tree6bdb1c5eb70cfd7e6bcf143c121c53025a0489a4 /docs/src/templates/index.html
parentaab3df7aeaf79908e8b6212288b283adb42b1ce6 (diff)
downloadangular.js-4f22d6866c052fb5b770ce4f377cecacacd9e6d8.tar.bz2
complete rewrite of documentation generation
- romeved mustache.js - unified templates - improved testability of the code
Diffstat (limited to 'docs/src/templates/index.html')
-rw-r--r--docs/src/templates/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html
new file mode 100644
index 00000000..64b73bfc
--- /dev/null
+++ b/docs/src/templates/index.html
@@ -0,0 +1,45 @@
+<!doctype html>
+<html xmlns:ng="http://angularjs.org/"
+ xmlns:doc="http://docs.angularjs.org/"
+ ng:controller="DocsController">
+<head>
+ <title ng:bind-template="&lt;angular/&gt;: {{getTitle()}}">&lt;angular/&gt;</title>
+
+ <meta name="fragment" content="!">
+
+ <link rel="stylesheet" href="doc_widgets.css" type="text/css" />
+ <link rel="stylesheet" href="docs.css" type="text/css"/>
+ <link rel="stylesheet" href="http://alexgorbatchev.com/pub/sh/current/styles/shCore.css" type="text/css"/>
+ <link rel="stylesheet" href="http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css" type="text/css"/>
+
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
+ <script src="http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js"></script>
+ <script src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js"></script>
+ <script src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js"></script>
+
+ <script src="../angular.min.js" ng:autobind></script>
+ <script src="docs.js"></script>
+ <script src="doc_widgets.js"></script>
+ <script src="docs-keywords.js"></script>
+</head>
+<body style="display:none;" ng:show="true">
+ <div id="header">
+ <h1>
+ <span class="main-title">{{getTitle()}}</span>
+ <a href="#"><span class="angular">&lt;angular/&gt;</span> Docs</a>
+ </h1>
+ </div>
+ <div id="sidebar">
+ <input type="text" name="search" id="search-box" placeholder="search the docs"/>
+ <ul id="api-list">
+ <li ng:repeat="page in pages.$filter(search)" ng:class="getClass(page)">
+ <a href="{{getUrl(page)}}" ng:click="">{{page.name | short}}</a>
+ </li>
+ </ul>
+ </div>
+ <div id="main">
+ <a id="feedback" ng:href="{{getFeedbackUrl()}}">Report an Issue or Ask a Question</a>
+ <ng:include src="getCurrentPartial()" onload="afterPartialLoaded()"></ng:include>
+ </div>
+</body>
+</html>