chore: analytics on hexdocs

This commit is contained in:
Zach Daniel 2023-10-02 09:29:53 -04:00
parent 4e1fd35594
commit dba7216970

View file

@ -86,6 +86,13 @@ defmodule AshArchival.MixProject do
source_ref: "v#{@version}",
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: [
%{