Current section

42 Versions

Jump to

Compare versions

5 files changed
+24 additions
-3 deletions
  @@ -12,6 +12,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
12 12
13 13 <!-- changelog -->
14 14
15 + ## v1.2.4 (2026-03-02)
16 +
17 +
18 +
19 +
20 + ### Improvements:
21 +
22 + * link to md docs before html docs, and hint at search_docs by Zach Daniel
23 +
15 24 ## v1.2.3 (2026-02-27)
  @@ -7,7 +7,7 @@
7 7 {<<"GitHub">>,<<"https://github.com/ash-project/usage_rules">>},
8 8 {<<"Website">>,<<"https://ash-hq.org">>}]}.
9 9 {<<"name">>,<<"usage_rules">>}.
10 - {<<"version">>,<<"1.2.3">>}.
10 + {<<"version">>,<<"1.2.4">>}.
11 11 {<<"description">>,
12 12 <<"A config-driven dev tool for Elixir projects to manage AGENTS.md files and agent skills from dependencies">>}.
13 13 {<<"elixir">>,<<"~> 1.18">>}.
  @@ -50,6 +50,15 @@ defmodule Mix.Tasks.UsageRules.Docs do
50 50 Mix.raise("Invalid expression: #{module}")
51 51
52 52 _decomposition ->
53 + Mix.shell().info("""
54 + Searching local docs for
55 +
56 + #{module}
57 +
58 + Use `mix usage_rules.search_docs` to search online documentation for more results.
59 +
60 + """)
61 +
53 62 Code.eval_quoted(
54 63 quote do
55 64 require IEx.Helpers
  @@ -250,10 +250,13 @@ defmodule Mix.Tasks.UsageRules.SearchDocs do
250 250 end
251 251 end)
252 252
253 + ref_md = String.replace(ref, ~r/\.html/, ".md")
254 +
253 255 footer = """
254 256
255 257 **full docs:**
256 - https://hexdocs.pm/#{extract_package_name(package)}/#{ref}
258 + https://hexdocs.pm/#{extract_package_name(package)}/#{ref_md}
259 + or https://hexdocs.pm/#{extract_package_name(package)}/#{ref}
257 260
258 261 ---
  @@ -5,7 +5,7 @@
5 5 defmodule UsageRules.MixProject do
6 6 use Mix.Project
7 7
8 - @version "1.2.3"
8 + @version "1.2.4"
9 9 @description """
10 10 A config-driven dev tool for Elixir projects to manage AGENTS.md files and agent skills from dependencies
11 11 """