Skip to content

Commit

Permalink
chore: analytics on hexdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 2, 2023
1 parent 4a57a92 commit f358443
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ defmodule Reactor.MixProject do
main: "readme",
extras: extra_documentation(),
groups_for_extras: extra_documentation_groups(),
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,
groups_for_modules: [
DSL: ~r/^Reactor\.Dsl$/,
Steps: ~r/^Reactor\.Step.*/,
Expand Down

0 comments on commit f358443

Please sign in to comment.