From a6dfe1fc6b65ec406159a2e068ab598de2cc13e0 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 18 Dec 2018 17:05:36 +0100 Subject: [PATCH] Documentation: Move generated files to priv/static/doc, add it to endpoint.ex --- lib/pleroma/web/endpoint.ex | 2 +- mix.exs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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