Improve docs & readme & small refactor
This commit is contained in:
@ -1,9 +1,17 @@
|
||||
defmodule Mix.Tasks.Heroicons.Update do
|
||||
@moduledoc """
|
||||
Update heroicons.
|
||||
By default, it downloads the latest version but you
|
||||
can configure it in your config files, such as:
|
||||
|
||||
By default, it downloads the latest version but you can configure it
|
||||
in your config files.
|
||||
|
||||
Example:
|
||||
|
||||
config :heroicons, :version, "#{Heroicons.latest_version()}"
|
||||
|
||||
Then update with
|
||||
|
||||
$ mix heroicons.update
|
||||
"""
|
||||
|
||||
@shortdoc "Update heroicons assets"
|
||||
|
Reference in New Issue
Block a user