From d781b78d5b69a38ff8c7d1511c9cc1f0ba949752 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Wed, 7 Dec 2022 22:09:48 -0500 Subject: [PATCH] docs: use ash docs replacements for hex versions (#67) --- .../getting_started/getting_started_01_basic_setup.md | 4 +--- documentation/getting_started/getting_started_02_phoenix.md | 4 ++-- mix.exs | 1 + 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/documentation/getting_started/getting_started_01_basic_setup.md b/documentation/getting_started/getting_started_01_basic_setup.md index c792746..3b02ca0 100644 --- a/documentation/getting_started/getting_started_01_basic_setup.md +++ b/documentation/getting_started/getting_started_01_basic_setup.md @@ -15,13 +15,11 @@ Bring in the `ash_authentication` dependency: defp deps() [ # ... - {:ash_authentication, "~> x.x"} + ____mix_dep_ash_authentication____ ] end ``` -Use `mix hex.info ash_authentication` to quickly find the latest version. - ## Choosing your extensions, strategies and add-ons Ash Authentication supports many different features, each provided by different diff --git a/documentation/getting_started/getting_started_02_phoenix.md b/documentation/getting_started/getting_started_02_phoenix.md index a73075f..c9051dc 100644 --- a/documentation/getting_started/getting_started_02_phoenix.md +++ b/documentation/getting_started/getting_started_02_phoenix.md @@ -20,8 +20,8 @@ dependency: defp deps() [ -# ... -{:ash_authentication_phoenix, "~> x.x"} + # ... + ____mix_dep_ash_authentication_phoenix____ ] end ``` diff --git a/mix.exs b/mix.exs index 867bc54..7d8795f 100644 --- a/mix.exs +++ b/mix.exs @@ -156,6 +156,7 @@ defmodule AshAuthentication.MixProject do "hex.audit", "test" ], + docs: ["docs", "ash.replace_doc_links"], test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"] ] end