projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '1813-throttling' into 'develop'
[akkoma]
/
lib
/
pleroma
/
docs
/
json.ex
diff --git
a/lib/pleroma/docs/json.ex
b/lib/pleroma/docs/json.ex
index f191b60132f4fd53866681390cae039b5a07d4f9..d1cf1f487b447ae994f982dd5359c1211402a1d4 100644
(file)
--- a/
lib/pleroma/docs/json.ex
+++ b/
lib/pleroma/docs/json.ex
@@
-15,10
+15,9
@@
defmodule Pleroma.Docs.JSON do
end
def compile do
end
def compile do
- with
{config, _paths} <- Mix.Config.eval!
("config/description.exs") do
+ with
config <- Pleroma.Config.Loader.read
("config/description.exs") do
config[:pleroma][:config_description]
|> Pleroma.Docs.Generator.convert_to_strings()
config[:pleroma][:config_description]
|> Pleroma.Docs.Generator.convert_to_strings()
- |> Jason.encode!()
end
end
end
end
end
end