Release Notes
Added
@rwdocs/core's RwSite.getPageMarkdown() returns a page's Markdown source as authored, so a host (e.g. an MCP read-page tool feeding an AI agent) can read a page as Markdown instead of converting the rendered HTML back with turndown. Returns null for a virtual directory page.
@rwdocs/core's RwSite.pagePathFor(sectionRef, subpath) maps a page's canonical identity — the (sectionRef, subpath) pair listPages() and PageMeta hand out — to the path renderPage/renderSearchDocument/getPageMarkdown take, so a host holding an identity (a search hit, a comment) can read the page without re-deriving section scopes itself. Returns null when no section has that ref.
Install rw 0.1.32
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rwdocs/rw/releases/download/v0.1.32/rw-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/rwdocs/rw/releases/download/v0.1.32/rw-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install rwdocs/tap/rw
Download rw 0.1.32