diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-07-14 18:56:40 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-07-14 18:56:40 -0500 |
commit | 48983e942139a81106416cfbb8d22743b6764053 (patch) | |
tree | 1c11c31848609a9e6b8226bc6ac77d3747e1986a /lib/pleroma/docs/markdown.ex | |
parent | df3d1bf5e57389e41a70676ccab1df81d83e3d74 (diff) | |
parent | 3f65f2ea79644cd8a119fc154c2792994723c7cb (diff) | |
download | pleroma-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.ex | 5 |
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 |