webapidoc 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/webapidoc/base.rb +2 -1
- data/lib/webapidoc/template.html.erb +6 -6
- data/lib/webapidoc/version.rb +1 -1
- metadata +1 -1
data/lib/webapidoc/base.rb
CHANGED
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
</svg>
|
|
19
19
|
|
|
20
20
|
<!-- Le styles -->
|
|
21
|
-
<link href="
|
|
21
|
+
<link href="./css/webapidoc.css" rel="stylesheet">
|
|
22
22
|
|
|
23
23
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
24
24
|
<!--[if lt IE 9]>
|
|
25
|
-
<script src="
|
|
25
|
+
<script src="./js/html5.js"></script>
|
|
26
26
|
<![endif]-->
|
|
27
27
|
|
|
28
28
|
<!-- Les javascripts -->
|
|
29
|
-
<script src="
|
|
30
|
-
<script src="
|
|
31
|
-
<script src="
|
|
29
|
+
<script src="./js/jquery.js"></script>
|
|
30
|
+
<script src="./js/highlight.js"></script>
|
|
31
|
+
<script src="./js/lodash.min.js"></script>
|
|
32
32
|
|
|
33
33
|
<!-- Ace Code Editor -->
|
|
34
34
|
<% if @data["url"].present? %>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
<% @sections.each do |section| %>
|
|
53
53
|
<li class="nav-item level<%= section[:level] %>" >
|
|
54
|
-
<a href="
|
|
54
|
+
<a href="./<%= section[:file]%>.html#<%= section[:anchor]%>"><%= section[:title] %></a>
|
|
55
55
|
</li>
|
|
56
56
|
<% end %>
|
|
57
57
|
|
data/lib/webapidoc/version.rb
CHANGED