Documentation: Move generated files to priv/static/doc, add it to endpoint.ex

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-12-18 17:05:36 +01:00
parent 08b6294f47
commit a6dfe1fc6b
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,7 @@ defmodule Pleroma.Web.Endpoint do
at: "/", at: "/",
from: :pleroma, from: :pleroma,
only: only:
~w(index.html static finmoji emoji packs sounds images instance sw.js favicon.png schemas) ~w(index.html static finmoji emoji packs sounds images instance sw.js favicon.png schemas doc)
) )
# Code reloading can be explicitly enabled under the # Code reloading can be explicitly enabled under the

View File

@ -22,7 +22,8 @@ defmodule Pleroma.Mixfile do
docs: [ docs: [
logo: "priv/static/static/logo.png", logo: "priv/static/static/logo.png",
extras: ["README.md", "config/config.md", "Pleroma-API.md"], extras: ["README.md", "config/config.md", "Pleroma-API.md"],
main: "readme" main: "readme",
output: "priv/static/doc"
] ]
] ]
end end