Skip to content

Commit

Permalink
docs: "Writing generators" code example + add source_url to enable li…
Browse files Browse the repository at this point in the history
…nk to code on HexDocs (#14)
  • Loading branch information
guisehn authored Jun 22, 2024
1 parent d791da5 commit 06ede40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/writing-generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule Mix.Tasks.YourLib.Gen.YourThing do
app_name = Igniter.Application.app_name()

igniter
|> Igniter.create_new_elixir_file(igniter, path, """
|> Igniter.create_new_elixir_file(path, """
defmodule #{inspect(module_name)} do
use YourLib.Thing
Expand Down
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ defmodule Igniter.MixProject do
[
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/ash-project/igniter",
logo: "logos/igniter-logo-small.png",
extra_section: "GUIDES",
extras: [
Expand Down

0 comments on commit 06ede40

Please sign in to comment.