some changes

This commit is contained in:
Alex S 2019-08-30 19:14:01 +03:00
commit 6721301086
5 changed files with 44 additions and 26 deletions

View file

@ -8,11 +8,11 @@ defmodule Mix.Tasks.Pleroma.Docs do
Supports two formats: `markdown` and `json`.
## Generate markdown docs
## Generate Markdown docs
`mix pleroma.docs`
## Generate json docs
## Generate JSON docs
`mix pleroma.docs json`s
"""
@ -30,7 +30,7 @@ defmodule Mix.Tasks.Pleroma.Docs do
{descriptions, _paths} = Mix.Config.eval!("config/description.exs")
{:ok, file_path} =
Pleroma.Docs.Formatter.process(
Pleroma.Docs.Generator.process(
implementation,
descriptions[:pleroma][:config_description]
)