chore: Update package links and docs.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
James Harton 2024-03-06 20:16:20 +13:00
parent c639c3afe8
commit 9a040ee688
Signed by: james
GPG key ID: 90E82DAA13F624F4
2 changed files with 9 additions and 9 deletions

View file

@ -38,7 +38,7 @@ add it directly to your `mix.exs`:
```elixir ```elixir
def deps do def deps do
[ [
{:smokestack, "~> 0.3"}, {:smokestack, "~> 0.4.1"},
] ]
end end
``` ```

16
mix.exs
View file

@ -23,7 +23,7 @@ defmodule Smokestack.MixProject do
aliases: aliases(), aliases: aliases(),
dialyzer: [plt_add_apps: [:faker]], dialyzer: [plt_add_apps: [:faker]],
docs: [ docs: [
main: "Smokestack", main: "readme",
extra_section: "GUIDES", extra_section: "GUIDES",
formatters: ["html"], formatters: ["html"],
filter_modules: ~r/^Elixir.Smokestack/, filter_modules: ~r/^Elixir.Smokestack/,
@ -40,12 +40,10 @@ defmodule Smokestack.MixProject do
] ]
], ],
extras: extras:
["README.md"] Enum.concat(
|> Enum.concat(Path.wildcard("documentation/**/*.{md,livemd,cheatmd}")) ["README.md", "CHANGELOG.md"],
|> Enum.map(fn Path.wildcard("documentation/**/*.{md,livemd,cheatmd}")
"README.md" -> {:"README.md", title: "Read Me", ash_hq?: false} ),
"documentation/" <> _ = path -> {String.to_atom(path), []}
end),
groups_for_extras: groups_for_extras:
"documentation/*" "documentation/*"
|> Path.wildcard() |> Path.wildcard()
@ -76,7 +74,9 @@ defmodule Smokestack.MixProject do
licenses: ["HL3-FULL"], licenses: ["HL3-FULL"],
links: %{ links: %{
"Source" => "https://harton.dev/james/smokestack", "Source" => "https://harton.dev/james/smokestack",
"Github Mirror" => "https://github.com/jimsynz/smokestack" "Github Mirror" => "https://github.com/jimsynz/smokestack",
"Changelog" => "https://docs.harton.nz/james/smokestack/changelog.html",
"Sponsor" => "https://github.com/sponsors/jimsynz"
}, },
source_url: "https://harton.dev/james/smokestack" source_url: "https://harton.dev/james/smokestack"
] ]