Shoalrun documentation framework
For agents
Start with https://www.shoalrun.com/llms.txt for the documentation index, then read the Markdown pages it links. Skip to article. Documentation index. Read this page as Markdown.
Reference

RelatedReading

Display authored relationships as links or cards.

Updated
Read as Markdown

<RelatedReading> presents connections declared in the central relationships config. Use it for prerequisites, next steps, references, related topics, and distinctions that need a reason.

Syntax

<RelatedReading relation="next-step" />
Attribute Meaning
relation Select one relationship type; omit for all types grouped by purpose.
relatedTo Source document ID; defaults to this page. It must be available in the current publication.
layout list by default, or cards. Card layout includes card overrides, summaries, and reasons.
empty Text for no matches; default is “No matching documents.” Empty groups are omitted.

This is a standalone empty element. A selected relation has no automatic heading, so give that view a page heading when useful. See related reading for config fields, relationship types, and ordering.

HTML, Markdown, and agents

With layout="list", HTML and Markdown show links with the relationship reasons; layout="cards" adds previews. Only connections whose endpoints are public in the current publication appear. Both layouts export ordinary links and reasons to Markdown, with .md destinations, so agents can follow the same reading paths. The HTML wrapper has the related-reading class for project CSS.

When a top-level view describes the current page, section Markdown also carries its prerequisite and next-step links if they would otherwise be omitted. A Page reading path label explains the scope. Nested views and views with another relatedTo source stay in their original context. See section reading paths for boundaries and size rules.

Read first