From: Haelwenn (lanodan) Monnier Date: Tue, 18 Dec 2018 16:05:36 +0000 (+0100) Subject: Documentation: Move generated files to priv/static/doc, add it to endpoint.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a6dfe1fc6b65ec406159a2e068ab598de2cc13e0;p=akkoma Documentation: Move generated files to priv/static/doc, add it to endpoint.ex --- diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index d79f61b2e..564fc2c1d 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -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 diff --git a/mix.exs b/mix.exs index 4af896fc9..ff77f305f 100644 --- a/mix.exs +++ b/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