Skip to content

Commit f03cd9a

Browse files
committedMay 25, 2024·
Remove deprecated EEx comments
1 parent 87d40ca commit f03cd9a

File tree

7 files changed

+1
-8
lines changed

7 files changed

+1
-8
lines changed
 

‎lib/ex_doc/formatter/epub/templates/extra_template.eex

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<%=h title_content %>
44
</h1>
55
<%= H.link_headings(content) %>
6-
<%# Extra content specified by the user (e.g. custom Javascript) %>
76
<%= before_closing_body_tag(config, :epub) %>
87
</body>
98
</html>

‎lib/ex_doc/formatter/epub/templates/head_template.eex

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<link type="text/css" rel="stylesheet"
99
href="<%= H.asset_rev "#{config.output}/OEBPS", "dist/epub-#{config.proglang}-*.css" %>" />
1010
<script src="<%= H.asset_rev "#{config.output}/OEBPS", "dist/epub-*.js" %>"></script>
11-
<%# Extra content specified by the user (e.g. custom CSS) %>
1211
<%= before_closing_head_tag(config, :epub) %>
1312
</head>
1413
<body class="content-inner">

‎lib/ex_doc/formatter/epub/templates/module_template.eex

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
</div>
3131
</section>
3232
<% end %>
33-
<%# Extra content specified by the user (e.g. custom Javascript) %>
3433
<%= before_closing_body_tag(config, :epub) %>
3534
</body>
3635
</html>

‎lib/ex_doc/formatter/epub/templates/nav_template.eex

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<%= nav_item_template "Mix Tasks", nodes.tasks %>
1919
</ol>
2020
</nav>
21-
<%# Extra content specified by the user (e.g. custom Javascript) %>
2221
<%= before_closing_body_tag(config, :epub) %>
2322
</body>
2423
</html>

‎lib/ex_doc/formatter/epub/templates/title_template.eex

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<% end %>
1111
<% end %>
1212
</div>
13-
<%# Extra content specified by the user (e.g. custom Javascript) %>
1413
<%= before_closing_body_tag(config, :epub) %>
1514
</body>
1615
</html>

‎lib/ex_doc/formatter/html/templates/footer_template.eex

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
</div>
4040
</main>
4141
</div>
42-
<%# Extra content specified by the user (e.g. custom Javascript) %>
4342
<%= before_closing_body_tag(config, :html) %>
4443
</body>
4544
</html>

‎lib/ex_doc/formatter/html/templates/head_template.eex

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@
2525
<script src="<%= asset_rev config.output, "dist/sidebar_items-*.js" %>"></script>
2626
<script src="docs_config.js"></script>
2727
<script async src="<%= asset_rev config.output, "dist/html-*.js" %>"></script>
28-
<%# Extra content specified by the user (e.g. custom CSS) %>
2928
<%= before_closing_head_tag(config, :html) %>
3029
</head>
3130
<body data-type="<%= sidebar_type(page.type) %>" class="page-<%= page.type %>">
3231
<script>
33-
<%# Immediately apply night mode preference to avoid a flash effect %>
32+
<% # Immediately apply night mode preference to avoid a flash effect %>
3433
try {
3534
var settings = JSON.parse(localStorage.getItem('ex_doc:settings') || '{}');
3635

0 commit comments

Comments
 (0)
Please sign in to comment.