some clean up
This commit is contained in:
parent
ce027fd0ef
commit
7676ed8239
8 changed files with 34 additions and 122 deletions
|
|
@ -15,7 +15,7 @@ defmodule Pleroma.Docs.JSON do
|
|||
end
|
||||
|
||||
def compile do
|
||||
with {config, _paths} <- Mix.Config.eval!("config/description.exs") do
|
||||
with config <- Pleroma.Config.Loader.load("config/description.exs") do
|
||||
config[:pleroma][:config_description]
|
||||
|> Pleroma.Docs.Generator.convert_to_strings()
|
||||
|> Jason.encode!()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue