-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtemplate.html
146 lines (131 loc) · 5.53 KB
/
template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="#LANG">
<head>
<meta charset="utf-8">
<title>#TITLE</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="#DESCRIPTION">
<meta name="author" content="#AUTHOR">
<!-- styles -->
<link href="#RELATIVE_PATHassets/css/bootstrap.css" rel="stylesheet"/>
<link href="#RELATIVE_PATHassets/css/toc.css" rel="stylesheet"/>
<link href="#RELATIVE_PATHassets/js/google-code-prettify/prettify.css" rel="stylesheet"/>
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
font-size: 14px;
}
h1, h2, h3, h4 {
margin-top: 30px;
margin-bottom: 20px;
}
p {
font-size: 14px;
}
blockquote {
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
font-size: 95%;
line-height: 140%;
white-space: pre;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
background: #faf8f0;
padding: 5px;
}
blockquote p {
font-size: 14px;
}
</style>
<link href="#RELATIVE_PATHassets/css/bootstrap-responsive.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="#RELATIVE_PATHimages/favicon.ico">
<link rel="apple-touch-icon" href="#RELATIVE_PATHimages/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="#RELATIVE_PATHimages/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="#RELATIVE_PATHimages/apple-touch-icon-114x114.png">
</head>
<body data-spy="scroll" id="top">
<!-- Documentation Navbar -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a>
<a class="brand" href="#">#TITLE</a>
<!--<div class="nav-collapse">
<ul class="nav">
<li><a href="#top" class="active">Top</a></li>
<li><a href="#markup">Markup</a></li>
<li><a href="#styles">Styles</a></li>
<li><a href="#javascript">JavaScript</a></li>
<li><a href="#psd">Photoshop</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#credits">Credits</a></li>
<li><a href="#contact" >Contact us</a></li>
</ul>
</div> -->
</div>
</div>
</div> <!-- End of Navbar -->
<!-- Main Container Beginning -->
<div class="container">
<!--<div class="masthead">
<h1>Bootstraped Documentation</h1>
<p class="marketing-byline">Yet Another Documentation Template Crafted with ♥ by <a href="http://themeforest.net/user/Ivor">Ivor</a></p>
<p>Simple, flexible and responsive documentation template for your premium files made with Twitter Bootstrap. Alerts, Highlighted Code, Tables and more. </p>
<p class="download-info"> <a href="#" class="btn btn-primary btn-large">Item Support</a> <a href="#" class="btn btn-large">Self-hosted Forum</a> </p>
</div> -->
<div id="toc"></div>
#CONTENT
<hr />
<footer>
<p>#FOOTER</p>
</footer>
</div><!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="#RELATIVE_PATHassets/js/jquery.js"></script>
<script src="#RELATIVE_PATHassets/js/scripts.js"></script>
<script src="#RELATIVE_PATHassets/js/google-code-prettify/prettify.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-transition.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-alert.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-modal.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-dropdown.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-scrollspy.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-tab.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-tooltip.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-popover.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-button.js"></script>
<script src="#RELATIVE_PATHassets/js/bootstrap-collapse.js"></script>
<script src="#RELATIVE_PATHassets/js/toc.min.js"></script>
<script type="text/javascript">
$('table').addClass('table');
$('table').addClass('table-striped');
$(document).ready(function() {
$('#toc').toc({
'selectors': 'h1,h2,h3,h4', //elements to use as headings
'container': 'body', //element to find all selectors in
'smoothScrolling': true, //enable or disable smooth scrolling on click
'prefix': 'toc', //prefix for anchor tags and class names
'onHighlight': function(el) {}, //called when a new section is highlighted
'highlightOnScroll': true, //add class to heading that is currently in focus
'highlightOffset': 100, //offset to trigger the next headline
'anchorName': function(i, heading, prefix) { //custom function for anchor name
return prefix+i;
},
'headerText': function(i, heading, $heading) { //custom function building the header-item text
return $heading.text();
},
'itemClass': function(i, heading, $heading, prefix) { // custom function for item class
return $heading[0].tagName.toLowerCase();
}
});
});
</script>
</body>
</html>