From 1e68aa1cb138ee9e1d28c3116dd1f5265e23cc61 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 13 May 2024 13:18:46 -0400 Subject: [PATCH] chore: match on nested docs in link builder --- .../extensions/render_markdown/post_processors/highlighter.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ash_hq/docs/extensions/render_markdown/post_processors/highlighter.ex b/lib/ash_hq/docs/extensions/render_markdown/post_processors/highlighter.ex index 647eb62..51b4330 100644 --- a/lib/ash_hq/docs/extensions/render_markdown/post_processors/highlighter.ex +++ b/lib/ash_hq/docs/extensions/render_markdown/post_processors/highlighter.ex @@ -80,6 +80,9 @@ defmodule AshHq.Docs.Extensions.RenderMarkdown.PostProcessors.Highlighter do {%{host: nil}, ["documentation", _type, guide]} -> github_guide_link(value, libraries, nil, current_library, guide) + {%{host: nil}, ["documentation", _type, _subtype, guide]} -> + github_guide_link(value, libraries, nil, current_library, guide) + {%{host: nil}, [guide]} -> github_guide_link(value, libraries, nil, current_library, guide)