diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-09-13 19:02:42 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-09-13 19:02:42 +0300 |
commit | 69faec031d62f4e87a1791ae0c71ca4b0f02f12b (patch) | |
tree | a8228741d6bee330ff3b65db01c02c86b4392dc0 | |
parent | 53a3ad60435d4f7eab2dbf1235e5974bac275aa0 (diff) | |
download | pleroma-69faec031d62f4e87a1791ae0c71ca4b0f02f12b.tar.gz |
markdown generation to the new file
-rw-r--r-- | lib/pleroma/docs/markdown.ex | 4 | ||||
-rw-r--r-- | mix.exs | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/pleroma/docs/markdown.ex b/lib/pleroma/docs/markdown.ex index 24930cc9f..8386dc2fb 100644 --- a/lib/pleroma/docs/markdown.ex +++ b/lib/pleroma/docs/markdown.ex @@ -3,9 +3,9 @@ defmodule Pleroma.Docs.Markdown do @spec process(keyword()) :: {:ok, String.t()} def process(descriptions) do - config_path = "docs/config.md" + config_path = "docs/generated_config.md" {:ok, file} = File.open(config_path, [:utf8, :write]) - IO.write(file, "# Configuration\n") + IO.write(file, "# Generated configuration\n") IO.write(file, "Date of generation: #{Date.utc_today()}\n\n") IO.write( @@ -172,8 +172,7 @@ defmodule Pleroma.Mixfile do "ecto.rollback": ["pleroma.ecto.rollback"], "ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"], "ecto.reset": ["ecto.drop", "ecto.setup"], - test: ["ecto.create --quiet", "ecto.migrate", "test"], - docs: ["pleroma.docs", "docs"] + test: ["ecto.create --quiet", "ecto.migrate", "test"] ] end |