chore: analytics on hex docs

This commit is contained in:
Zach Daniel 2023-10-02 09:26:56 -04:00
parent fe8cfcb26c
commit 8f5f53a196

View file

@ -94,6 +94,13 @@ defmodule AshStateMachine.MixProject do
source_ref: "v#{@version}",
logo: "logos/small-logo.png",
extra_section: "GUIDES",
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: [
%{