mix: fix docs task

This commit is contained in:
Oneric 2024-03-13 19:41:14 -01:00
parent c806adbfdb
commit 93ab6a018e

12
mix.exs
View file

@ -21,13 +21,13 @@ def project do
source_url: "https://akkoma.dev/AkkomaGang/akkoma", source_url: "https://akkoma.dev/AkkomaGang/akkoma",
docs: [ docs: [
source_url_pattern: "https://akkoma.dev/AkkomaGang/akkoma/blob/develop/%{path}#L%{line}", source_url_pattern: "https://akkoma.dev/AkkomaGang/akkoma/blob/develop/%{path}#L%{line}",
logo: "priv/static/images/logo.png", logo: "priv/static/logo-512.png",
extras: ["README.md", "CHANGELOG.md"] ++ Path.wildcard("docs/**/*.md"), extras: ["README.md", "CHANGELOG.md"] ++ Path.wildcard("docs/docs/**/*.md"),
groups_for_extras: [ groups_for_extras: [
"Installation manuals": Path.wildcard("docs/installation/*.md"), "Installation manuals": Path.wildcard("docs/docs/installation/*.md"),
Configuration: Path.wildcard("docs/config/*.md"), Configuration: Path.wildcard("docs/docs/config/*.md"),
Administration: Path.wildcard("docs/admin/*.md"), Administration: Path.wildcard("docs/docs/admin/*.md"),
"Pleroma's APIs and Mastodon API extensions": Path.wildcard("docs/api/*.md") "Pleroma's APIs and Mastodon API extensions": Path.wildcard("docs/docs/api/*.md")
], ],
main: "readme", main: "readme",
output: "priv/static/doc" output: "priv/static/doc"