diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-09-17 22:55:29 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-09-17 23:05:27 +0200 |
commit | 4785596a2cf638570b35afc91babbb0ac8309981 (patch) | |
tree | 59c8b3a47df5d987c73cdb906bafa3e7fe1354b6 | |
parent | d2097fd0f5d5d6750de09243cb5720b161305790 (diff) | |
download | pleroma-4785596a2cf638570b35afc91babbb0ac8309981.tar.gz |
markdown.ex: end suggestions list with a newline
Otherwise we end up with suggestion on the same level as the childs
Markdown is a fuckā¦
-rw-r--r-- | lib/pleroma/docs/markdown.ex | 2 | ||||
-rw-r--r-- | mix.exs | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/pleroma/docs/markdown.ex b/lib/pleroma/docs/markdown.ex index 280fe0309..27be1b095 100644 --- a/lib/pleroma/docs/markdown.ex +++ b/lib/pleroma/docs/markdown.ex @@ -79,6 +79,8 @@ defmodule Pleroma.Docs.Markdown do for suggestion <- suggestions do print_suggestion(file, suggestion, true) end + + IO.write(file, "\n") else IO.write(file, " Suggestion: ") @@ -174,7 +174,8 @@ defmodule Pleroma.Mixfile do "ecto.rollback": ["pleroma.ecto.rollback"], "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"], "ecto.reset": ["ecto.drop", "ecto.setup"], - test: ["ecto.create --quiet", "ecto.migrate", "test"] + test: ["ecto.create --quiet", "ecto.migrate", "test"], + docs: ["pleroma.docs", "docs"] ] end |