forked from mirrors/akkoma
Documentation: Move generated files to priv/static/doc, add it to endpoint.ex
This commit is contained in:
parent
08b6294f47
commit
a6dfe1fc6b
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
3
mix.exs
3
mix.exs
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue