aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-09-17 22:55:29 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-09-17 23:05:27 +0200
commit4785596a2cf638570b35afc91babbb0ac8309981 (patch)
tree59c8b3a47df5d987c73cdb906bafa3e7fe1354b6
parentd2097fd0f5d5d6750de09243cb5720b161305790 (diff)
downloadpleroma-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.ex2
-rw-r--r--mix.exs3
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: ")
diff --git a/mix.exs b/mix.exs
index 58d1606d3..e4fe5adf4 100644
--- a/mix.exs
+++ b/mix.exs
@@ -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