aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/docs/markdown.ex
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-07-14 18:56:40 -0500
committerAlex Gleason <alex@alexgleason.me>2020-07-14 18:56:40 -0500
commit48983e942139a81106416cfbb8d22743b6764053 (patch)
tree1c11c31848609a9e6b8226bc6ac77d3747e1986a /lib/pleroma/docs/markdown.ex
parentdf3d1bf5e57389e41a70676ccab1df81d83e3d74 (diff)
parent3f65f2ea79644cd8a119fc154c2792994723c7cb (diff)
downloadpleroma-48983e942139a81106416cfbb8d22743b6764053.tar.gz
Merge remote-tracking branch 'upstream/develop' into by-approval
Diffstat (limited to 'lib/pleroma/docs/markdown.ex')
-rw-r--r--lib/pleroma/docs/markdown.ex5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/pleroma/docs/markdown.ex b/lib/pleroma/docs/markdown.ex
index 68b106499..da3f20f43 100644
--- a/lib/pleroma/docs/markdown.ex
+++ b/lib/pleroma/docs/markdown.ex
@@ -68,6 +68,11 @@ defmodule Pleroma.Docs.Markdown do
IO.write(file, " #{list_mark}`#{inspect(suggestion)}`\n")
end
+ defp print_suggestions(file, {:list_behaviour_implementations, behaviour}) do
+ suggestions = Pleroma.Docs.Generator.list_behaviour_implementations(behaviour)
+ print_suggestions(file, suggestions)
+ end
+
defp print_suggestions(_file, nil), do: nil
defp print_suggestions(_file, ""), do: nil