Skip to content

Commit 1558529

Browse files
committed
Added Github Sponsor button to the README.
Signed-off-by: Exadra37 <exadra37@gmail.com>
1 parent 8f0d5f0 commit 1558529

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 🪶 Elixir Scribe 📜
22

3+
[![Github Sponsor: https://github.com/sponsors/Exadra37](/assets/svg/github-sponsor.svg)](https://github.com/sponsors/Exadra37)
4+
35
Scribes were an elite in ancient societies, highly regarded and holding special social status. They were disciplined and known for their excellent craftsmanship in writing laws, copying documents, and other related tasks.
46

57
The motivation to create the Elixir Scribe tool was to encourage developers to write **Clean Code** in a **Clean Software Architecture**, to enable them to know in seconds all domains, resources, and actions used in a project, while reducing complexity and contributing for less technical debt.

assets/svg/github-sponsor.svg

Lines changed: 1 addition & 0 deletions
Loading

mix.exs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule ElixirScribe.MixProject do
2424
description: @description,
2525
package: package(),
2626
docs: docs(),
27+
aliases: aliases(),
2728
deps: deps()
2829
]
2930
end
@@ -55,6 +56,14 @@ defmodule ElixirScribe.MixProject do
5556
]
5657
end
5758

59+
defp aliases do
60+
[docs: ["docs", &copy_images/1]]
61+
end
62+
63+
defp copy_images(_) do
64+
File.cp_r!("assets", "doc/assets")
65+
end
66+
5867
# Run "mix help deps" to learn about dependencies.
5968
defp deps do
6069
[

0 commit comments

Comments
 (0)