Skip to content

Commit dbecca5

Browse files
committed
Update ExDoc
1 parent 6419d90 commit dbecca5

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

mix.exs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defmodule MeeseeksHtml5ever.Mixfile do
1313
deps: deps(),
1414
package: package(),
1515
source_url: "https://github.com/mischov/meeseeks_html5ever",
16-
docs: [main: "MeeseeksHtml5ever"],
16+
docs: docs(),
1717
build_embedded: Mix.env() == :prod,
1818
start_permanent: Mix.env() == :prod,
1919
compilers: [:rustler] ++ Mix.compilers(),
@@ -43,11 +43,14 @@ defmodule MeeseeksHtml5ever.Mixfile do
4343
{:rustler, "~> 0.20.0"},
4444

4545
# docs
46-
{:ex_doc, "~> 0.14.0", only: :docs},
47-
{:markdown, github: "devinus/markdown", only: :docs}
46+
{:ex_doc, "~> 0.19.0", only: :docs, runtime: false}
4847
]
4948
end
5049

50+
defp ex_doc_version do
51+
if System.version() >= "1.7", do: "~> 0.19.0", else: "~> 0.18.0"
52+
end
53+
5154
defp description do
5255
"""
5356
Meeseeks-specific NIF binding of html5ever using Rustler.
@@ -62,4 +65,8 @@ defmodule MeeseeksHtml5ever.Mixfile do
6265
links: %{"GitHub" => "https://github.com/mischov/meeseeks_html5ever"}
6366
]
6467
end
68+
69+
defp docs do
70+
[main: "MeeseeksHtml5ever"]
71+
end
6572
end

mix.lock

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
%{
2-
"earmark": {:hex, :earmark, "1.1.0", "8c2bf85d725050a92042bc1edf362621004d43ca6241c756f39612084e95487f", [:mix], [], "hexpm"},
3-
"ex_doc": {:hex, :ex_doc, "0.14.5", "c0433c8117e948404d93ca69411dd575ec6be39b47802e81ca8d91017a0cf83c", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, repo: "hexpm", optional: false]}], "hexpm"},
2+
"earmark": {:hex, :earmark, "1.3.1", "73812f447f7a42358d3ba79283cfa3075a7580a3a2ed457616d6517ac3738cb9", [:mix], [], "hexpm"},
3+
"ex_doc": {:hex, :ex_doc, "0.19.3", "3c7b0f02851f5fc13b040e8e925051452e41248f685e40250d7e40b07b9f8c10", [:mix], [{:earmark, "~> 1.2", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
44
"hoedown": {:git, "https://github.com/hoedown/hoedown.git", "980b9c549b4348d50b683ecee6abee470b98acda", []},
5+
"makeup": {:hex, :makeup, "0.8.0", "9cf32aea71c7fe0a4b2e9246c2c4978f9070257e5c9ce6d4a28ec450a839b55f", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
6+
"makeup_elixir": {:hex, :makeup_elixir, "0.13.0", "be7a477997dcac2e48a9d695ec730b2d22418292675c75aa2d34ba0909dcdeda", [:mix], [{:makeup, "~> 0.8", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},
57
"markdown": {:git, "https://github.com/devinus/markdown.git", "d065dbcc4e242a85ca2516fdadd0082712871fd8", []},
8+
"nimble_parsec": {:hex, :nimble_parsec, "0.5.0", "90e2eca3d0266e5c53f8fbe0079694740b9c91b6747f2b7e3c5d21966bba8300", [:mix], [], "hexpm"},
69
"rustler": {:hex, :rustler, "0.20.0", "6b2cc8149700a7b1df2226dbe273ec1f9449318cad3bd3b5b68125a4cf1f438b", [:mix], [], "hexpm"},
710
}

0 commit comments

Comments
 (0)