Merge branch 'config-changes' into 'develop'
two separate files for config.md and generated config.md See merge request pleroma/pleroma!1666 (cherry picked from commit9c64a25713)69faec03markdown generation to the new filec625fe6fconfig.md back4da0da9adon't track generated_config.md
This commit is contained in:
parent
90b0bd3984
commit
ea1867f48e
4 changed files with 705 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue