mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
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: "/",
|
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
|
||||||
|
|
3
mix.exs
3
mix.exs
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue