chore: match on nested docs in link builder

This commit is contained in:
Zach Daniel 2024-05-13 13:18:46 -04:00
parent c729753401
commit 1e68aa1cb1

View file

@ -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)