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: "/",
from: :pleroma,
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

View file

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