File tree Expand file tree Collapse file tree 5 files changed +19
-6
lines changed
Expand file tree Collapse file tree 5 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## v0.26.0-dev
3+ ## v0.26.0 (2021-11-21)
44
55 * Backwards incompatible changes
66 * ` :filter_prefix ` has been renamed to ` :filter_modules ` and supports anonymous functions
1212
1313 * Enhancements
1414 * Add copy button to code snippets
15+ * Add ` translate="no" ` to the relevant attributes to improve interoperability with automatic translation tools
16+ * Support optional module annotations
17+ * Introduce a settings modal to group most of configuration
18+ * Allow customizing the Livebook expansion URL
19+ * Provide documentation on how to render plugins such as Katex, VegaLite, and Mermaid
1520
1621## v0.25.5 (2021-10-20)
1722
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ defmodule ExDoc.Mixfile do
22 use Mix.Project
33
44 @ source_url "https://github.com/elixir-lang/ex_doc"
5- @ version "0.26.0-dev "
5+ @ version "0.26.0"
66
77 def project do
88 [
Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ defmodule ExDoc.Formatter.EPUB.TemplatesTest do
8989
9090 test "outputs summaries" do
9191 content = get_module_page ( [ CompiledWithDocs ] )
92- assert content =~ ~r{ <div class="summary-signature">\s *<a href="#example_1/0" translate="no">}
92+
93+ assert content =~
94+ ~r{ <div class="summary-signature">\s *<a href="#example_1/0" translate="no">}
9395 end
9496
9597 test "contains links to summary sections when those exist" do
Original file line number Diff line number Diff line change @@ -401,7 +401,9 @@ defmodule ExDoc.Formatter.HTML.TemplatesTest do
401401
402402 test "outputs summaries" do
403403 content = get_module_page ( [ CompiledWithDocs ] )
404- assert content =~ ~r{ <div class="summary-signature">\s *<a href="#example_1/0" translate="no">}
404+
405+ assert content =~
406+ ~r{ <div class="summary-signature">\s *<a href="#example_1/0" translate="no">}
405407 end
406408
407409 test "contains links to summary sections when those exist" do
Original file line number Diff line number Diff line change @@ -208,8 +208,12 @@ defmodule ExDoc.Formatter.HTMLTest do
208208 content = File . read! ( "#{ output_dir ( ) } /api-reference.html" )
209209 assert content =~ ~r{ <a href="CompiledWithDocs.html" translate="no">CompiledWithDocs</a>}
210210 assert content =~ ~r{ <p>moduledoc</p>}
211- assert content =~ ~r{ <a href="CompiledWithDocs.Nested.html" translate="no">CompiledWithDocs.Nested</a>}
212- assert content =~ ~r{ <a href="Mix.Tasks.TaskWithDocs.html" translate="no">mix task_with_docs</a>}
211+
212+ assert content =~
213+ ~r{ <a href="CompiledWithDocs.Nested.html" translate="no">CompiledWithDocs.Nested</a>}
214+
215+ assert content =~
216+ ~r{ <a href="Mix.Tasks.TaskWithDocs.html" translate="no">mix task_with_docs</a>}
213217 end
214218
215219 test "groups modules by nesting" do
You can’t perform that action at this time.
0 commit comments