Duvlify
GitHubGet started
ReferencePage layouts

Page layouts

A page shows a table of contents by default, or gives its right rail to panels and examples instead. This page uses the second layout.

Every page has a third column on a wide screen. The rightRail field in frontmatter decides what goes in it.

ValueThe right column holds
tocThe table of contents. This is the default.
customYour Panel, RequestExample and ResponseExample content.

When to use each

Leave rightRail unset on almost every page. A reader uses the table of contents to find a section, and a long reference page without one is harder to use.

Set rightRail: custom only when the page is built around examples that belong beside the prose rather than inside it. An endpoint page is the clearest case: the request and the response are a reference the reader checks while reading, not a step in the text. This page is the other case, because it has to show you the layout to describe it.

What moves, and what does not

Only top-level rail-capable content moves. A Panel nested inside a Step or a Tab stays where it is, because lifting it out would separate it from the step it belongs to.

The three components that can move:

  • Panel — free-form content, as on this page.
  • RequestExample — a code group, labelled as a request.
  • ResponseExample — the same, labelled as a response.

The frame is wider

A page with rightRail: custom uses the same three-track frame as an endpoint page: navigation, prose, and the rail. The reading column is a little narrower than on a toc page, because the rail needs more room than a contents list.

Both layouts share one set of widths on purpose. They are the same shape — prose in the middle, reference material alongside — so keeping two sets would let them drift apart for no reason.

Copy page moves too

On a toc page the page actions sit under the title. Here they move to their own right-aligned row above the article, because the space under the title now belongs to the first panel.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Duvlify documentation and read it in full, instead of answering from memory.

https://duvlify.dev/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://duvlify.dev/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.