Wikis
Arrange pages and links to existing documents into a tree that readers can browse in order.
An onboarding guide for the platform team needs an order: start with the system overview, then the deploy pipeline, then the on-call runbook, with the main architecture diagram in between. A wiki gives pages and existing documents that order without moving or copying them.
Create a wiki
Open New and select Wiki. The wiki opens as "Untitled wiki" with a home page as its first entry. The home page can't be removed.
Select Add to open Add to the wiki and choose an entry type:
- Choose New page to create a page that belongs to this wiki.
- Choose Link existing to point at a diagram, design doc, decision record, object or page that already exists. A link doesn't move what it points at.
- Choose Group to add a heading that holds other entries.
To generate a whole wiki from a repository, see generate a wiki from code.
Arrange the contents
The Contents tree shows every entry. Drag an entry to reorder it or drop it onto another entry to nest it. Each entry's menu has Add inside and Rename. From the keyboard, use Move up, Move down, Nest under the entry above and Move out one level.
Readers move through the wiki in tree order with the Previous and Next links at the bottom of each entry. On a phone, the contents are behind a Contents button and close when you pick an entry.
Remove an entry
Removing a page that belongs to the wiki deletes the page, and entries nested under it are removed too. Removing a link removes only the entry. The diagram, design doc or page it pointed at stays where it is.
In the library, a document that appears in wikis shows "in N wikis", so you can see where it's linked before you change or delete it.
Share a wiki
Put the wiki in a space and publish the space. A space link has separate Wikis and Pages types, and which one you need depends on how the wiki's pages got there.
Ticking Wikis shares each non-private wiki in the space and the pages that belong to it: its home page and every page created with New page. A wiki built only that way needs nothing else.
Pages added with Link existing are standalone pages, and they stay hidden until you also tick Pages. Pages from generation are linked this way too, so a generated wiki shared with Wikis alone shows only its home page. Ticking Pages shares those linked pages, but it also lists every other non-private standalone page in the space, such as runbooks that have nothing to do with the wiki. Generated diagrams likewise need Diagrams.
To give a partner one wiki and nothing else:
- Create a space for the wiki and move it there. Generate into that space, or move the wiki's linked pages and diagrams into it.
- Check that the space holds no other wikis, pages or diagrams the partner shouldn't read. A space link shares every wiki in the space, not one chosen wiki.
- Create a link with Wikis ticked, plus Pages and Diagrams if the wiki links standalone pages or diagrams. Clear Objects, Design docs and ADRs unless the partner needs them.
- Open the link in a private window and check the index before sending it.
Without Pages, linked standalone pages drop out of the public tree and links to them show as plain text. Entries that link to a design doc or decision record appear only when the link also includes Design docs or ADRs, and only accepted decision records show. A mention of a design doc or decision record inside a page always shows as plain text with its title. Mentions of anything else that isn't public also show as plain text.
Agents and wikis
Agents use list_wikis and get_wiki to read the tree, and create_wiki, add_wiki_entry, move_wiki_entry and remove_wiki_entry to change it over MCP. Read tools require docs:read and write tools require docs:write.
Wikis don't count toward the Free page allowance. The home page and pages you add to the wiki do. Pages from a free or credit-paid generation don't.