Implementation backing the synthesized :docs action.
Returns markdown for the scoped Lua surface, in one of three modes:
searchset — runsAshLua.Docs.search/2over the scoped surface and returns a ranked list of matches. The list is intended as a discovery aid; follow up with the same action usingnameset to one of the returned ids.nameset — resolves against the scoped manifest and returns the focused page (callable, record-type, named-type, or topic).- neither set — returns the full scoped page (
AshLua.Docs.full_doc/1).
Passing both name and search is an error.