Skip to content

Commit 6de70a6

Browse files
committed
Release v0.26.0
1 parent add7a0d commit 6de70a6

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
@@ -12,6 +12,11 @@
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

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
[

test/ex_doc/formatter/epub/templates_test.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

test/ex_doc/formatter/html/templates_test.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

test/ex_doc/formatter/html_test.exs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)