Skip to content

Commit

Permalink
Remove deprecated EEx comments
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 25, 2024
1 parent 87d40ca commit f03cd9a
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion lib/ex_doc/formatter/epub/templates/extra_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<%=h title_content %>
</h1>
<%= H.link_headings(content) %>
<%# Extra content specified by the user (e.g. custom Javascript) %>
<%= before_closing_body_tag(config, :epub) %>
</body>
</html>
1 change: 0 additions & 1 deletion lib/ex_doc/formatter/epub/templates/head_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<link type="text/css" rel="stylesheet"
href="<%= H.asset_rev "#{config.output}/OEBPS", "dist/epub-#{config.proglang}-*.css" %>" />
<script src="<%= H.asset_rev "#{config.output}/OEBPS", "dist/epub-*.js" %>"></script>
<%# Extra content specified by the user (e.g. custom CSS) %>
<%= before_closing_head_tag(config, :epub) %>
</head>
<body class="content-inner">
1 change: 0 additions & 1 deletion lib/ex_doc/formatter/epub/templates/module_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
</div>
</section>
<% end %>
<%# Extra content specified by the user (e.g. custom Javascript) %>
<%= before_closing_body_tag(config, :epub) %>
</body>
</html>
1 change: 0 additions & 1 deletion lib/ex_doc/formatter/epub/templates/nav_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<%= nav_item_template "Mix Tasks", nodes.tasks %>
</ol>
</nav>
<%# Extra content specified by the user (e.g. custom Javascript) %>
<%= before_closing_body_tag(config, :epub) %>
</body>
</html>
1 change: 0 additions & 1 deletion lib/ex_doc/formatter/epub/templates/title_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<% end %>
<% end %>
</div>
<%# Extra content specified by the user (e.g. custom Javascript) %>
<%= before_closing_body_tag(config, :epub) %>
</body>
</html>
1 change: 0 additions & 1 deletion lib/ex_doc/formatter/html/templates/footer_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
</div>
</main>
</div>
<%# Extra content specified by the user (e.g. custom Javascript) %>
<%= before_closing_body_tag(config, :html) %>
</body>
</html>
3 changes: 1 addition & 2 deletions lib/ex_doc/formatter/html/templates/head_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@
<script src="<%= asset_rev config.output, "dist/sidebar_items-*.js" %>"></script>
<script src="docs_config.js"></script>
<script async src="<%= asset_rev config.output, "dist/html-*.js" %>"></script>
<%# Extra content specified by the user (e.g. custom CSS) %>
<%= before_closing_head_tag(config, :html) %>
</head>
<body data-type="<%= sidebar_type(page.type) %>" class="page-<%= page.type %>">
<script>
<%# Immediately apply night mode preference to avoid a flash effect %>
<% # Immediately apply night mode preference to avoid a flash effect %>
try {
var settings = JSON.parse(localStorage.getItem('ex_doc:settings') || '{}');
Expand Down

0 comments on commit f03cd9a

Please sign in to comment.