From bc72cee0036b2e330f6f6598ecf1f08399c0c4a3 Mon Sep 17 00:00:00 2001 From: Greg Mefford Date: Thu, 30 Mar 2023 17:43:47 -0400 Subject: [PATCH] Fix docs generation --- mix.exs | 13 ++++++++++--- mix.lock | 8 ++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 mix.lock diff --git a/mix.exs b/mix.exs index d7939e83..09b20807 100644 --- a/mix.exs +++ b/mix.exs @@ -38,7 +38,11 @@ defmodule Styler.MixProject do def application, do: [extra_applications: [:logger]] - defp deps, do: [] + defp deps do + [ + {:ex_doc, "~> 0.29.4", runtime: false} + ] + end defp package do [ @@ -50,10 +54,13 @@ defmodule Styler.MixProject do defp docs do [ - main: "Styler", + main: "readme", source_ref: "v#{@version}", source_url: @url, - extras: ["CHANGELOG.md": [title: "Changelog"]] + extras: [ + "CHANGELOG.md": [title: "Changelog"], + "README.md": [title: "Styler"] + ] ] end end diff --git a/mix.lock b/mix.lock new file mode 100644 index 00000000..8e18d62e --- /dev/null +++ b/mix.lock @@ -0,0 +1,8 @@ +%{ + "earmark_parser": {:hex, :earmark_parser, "1.4.31", "a93921cdc6b9b869f519213d5bc79d9e218ba768d7270d46fdcf1c01bacff9e2", [:mix], [], "hexpm", "317d367ee0335ef037a87e46c91a2269fef6306413f731e8ec11fc45a7efd059"}, + "ex_doc": {:hex, :ex_doc, "0.29.4", "6257ecbb20c7396b1fe5accd55b7b0d23f44b6aa18017b415cb4c2b91d997729", [:mix], [{:earmark_parser, "~> 1.4.31", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "2c6699a737ae46cb61e4ed012af931b57b699643b24dabe2400a8168414bc4f5"}, + "makeup": {:hex, :makeup, "1.1.0", "6b67c8bc2882a6b6a445859952a602afc1a41c2e08379ca057c0f525366fc3ca", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "0a45ed501f4a8897f580eabf99a2e5234ea3e75a4373c8a52824f6e873be57a6"}, + "makeup_elixir": {:hex, :makeup_elixir, "0.16.0", "f8c570a0d33f8039513fbccaf7108c5d750f47d8defd44088371191b76492b0b", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "28b2cbdc13960a46ae9a8858c4bebdec3c9a6d7b4b9e7f4ed1502f8159f338e7"}, + "makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"}, + "nimble_parsec": {:hex, :nimble_parsec, "1.2.3", "244836e6e3f1200c7f30cb56733fd808744eca61fd182f731eac4af635cc6d0b", [:mix], [], "hexpm", "c8d789e39b9131acf7b99291e93dae60ab48ef14a7ee9d58c6964f59efb570b0"}, +}