chore: plausible analytics on hexdocs

This commit is contained in:
Zach Daniel 2023-10-02 08:32:13 -04:00
parent b16ae9c405
commit ecf993ad49

View file

@ -93,6 +93,13 @@ defmodule Ash.MixProject do
extra_section: "GUIDES",
extras: extras(),
groups_for_extras: groups_for_extras(),
before_closing_head_tag: fn type ->
if type == :html do
"""
<script defer data-domain="ashhexdocs" src="https://plausible.io/js/script.js"></script>
"""
end
end,
spark: [
extensions: [
%{