Spanish Total.js
English
Documentation For AI agents
Contents

How content is organized

Projects, versions, sections, pages and entries: five levels, each with one clear job.

.md
On this page
LevelExampleJob
ProjectTotal.jsThe product you document
Version5One release line, with its own pages
SectionReferenceThe kind of content
PageRoutingOne topic
EntryROUTE()One method, property, event or command

Addresses follow the same shape: /{project}/{version}/{section}/{page}/. An entry is an anchor inside its page: /{project}/{version}/reference/{page}/#{entry}.

Projects

A project has a name, a slug, a summary, a group, an original language, a license and a visibility. It can also have the address of its repository (GitHub by default, or GitLab, Bitbucket, Codeberg or another one): the home page of the project shows it as a badge with its logo, and its llms.txt names it. Groups (Libraries, Apps, Tools…) are a list of the site: create them with New group in Projects, move them with the arrows, and drag the projects inside their group. The home page shows them in the same order. A private project is only visible to signed-in users and never appears in llms.txt, the sitemap, the dataset or the public MCP tools.

Sections

Each project has its own sections, in its own order. In the panel, open the project: every section has buttons to add a page, move it up or down and edit its name and slug, and New section adds one. A section with pages cannot be removed, and a new slug changes the addresses of its pages. A new project starts with these five:

  • Guides explain a topic from the start.
  • Reference lists the API as structured entries.
  • Recipes solve one concrete task, step by step.
  • FAQ answers short questions.
  • Changelog records what changed in each release.

Pages

A page has a title, a summary, a body in Markdown, tags, an order and a status: published or draft. A page can have a parent page, so a section can have sub-pages. Drafts are not public.

Entries

Entries belong to a page, usually in the Reference section. They are explained in API reference.

Made in Europe