Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Visual editor

Edit docs in the browser — draft branches isolate changes, live rendered previews, instant validation, image uploads, and one-click publishing after review. Every change is a real Git commit.

Workflow

Create a draft

Open the site's "Editor" tab and create a draft branch draft/<your id>-<time> from the production branch. Everyone's changes live in their own draft without interfering with each other; multiple drafts can exist at once.

Edit

Edit right on the page: the canvas looks exactly like the live site, so click anything and type, and type / to insert a component. Use the sidebar navigation to switch pages. Source at the top right opens the MDX source panel: changes on the canvas show up there immediately, and edits to the source take effect with Update.

Save

Every save is a Git commit on the draft branch, authored by your account.

Preview

Create a preview deployment of the draft to get its own URL you can send to teammates for review (the full site, including search, Ask AI, and the API playground).

Publish

Add a message and publish: the draft is merged into the production branch and a production deployment is triggered. Drafts you don't need can simply be discarded.

  • The top left of the editor shows the current state: No changes, Uncommitted (changes are only in your browser), Ready to publish (committed to the draft branch but not live), Publishing, or Published.
  • When something is committed but not published, Commit at the top right becomes Publish, so you can come back and publish at any time.
  • After publishing, the editor returns to the live content; opening the link of an already published draft also opens the latest live content.

Live rendering

The preview uses the same rendering pipeline as a real build: the same components, the same code highlighting, the same theme and docs.yml config (including colors, fonts, and custom CSS). There are only two differences:

  • It renders in safe mode and doesn't load custom js from docs.yml, because the preview runs on the dashboard's domain;
  • Images and other assets are read straight from the draft branch, so uploads are visible immediately.

Files that aren't in the navigation can be edited too, but the preview notes that "this file isn't in the docs.yml navigation, so it won't be published".

Components and the props panel

The editor reads each component's props, types, allowed values, and defaults from the platform's component manifest (the same as biti components --json) to insert components and edit props. Because MDX only allows literal props (see Safe subset), the editor can read and rewrite components losslessly without breaking anything else you wrote by hand.

  • The body of components is edited on the canvas — callouts, accordions, updates, cards and so on — and looks the same as when published. Components whose structure comes from their children (such as tabs and code groups) are selected as a whole and edited in the props popover.
  • Double-click a component (click an inline one) to open its props popover: switches, dropdowns, color pickers, number fields and so on by prop type, previewed as you change them. Cancel restores everything, and each prop is its own undo step.
  • Icon fields open a searchable icon picker.
  • The image popover has the image URL, alt text, caption, width and height, and whether a click zooms the image.

Inserting between blocks

Hold ⌘ (Ctrl on Windows) and move the mouse: a line appears at the nearest place where something can be inserted, and a click inserts it there.

WhereInserts
Between two blocks in the page, a component's body, or a quoteAn empty paragraph
Between list itemsA list item
Above or below the content or an image in a table cell, or at a line breakA line in the cell
On a row border of a table (except above the header)A table row

The line stays hidden over links. Without ⌘:

  • Click the space between two blocks: next to a paragraph or heading the cursor goes there; between callouts, tables, code blocks and the like a line opens. Moving there with the arrow keys does the same.
  • Click below an image, or select it and press Enter, to open a line after it.

An empty paragraph or cell line opened this way closes again when you move away without typing and doesn't count as a change; Backspace closes it too. Type / in an empty paragraph to insert a component.

Backspace next to an image selects it first and deletes it on the second press. Typing with an image selected writes after it.

Tables

Edit tables right on the canvas: cells take bold, links and inline code; Tab / Shift+Tab move between cells (Tab in the last cell adds a row), and Enter adds a line break inside the cell.

  • The “…” above each column header opens the column menu: insert a column before / after, alignment, reset width, delete the column. The “⋮” left of each row opens the row menu: insert a row above / below, delete the row.
  • Hold the “…” and drag sideways to move the column, or hold the “⋮” and drag up or down to move the row; a line shows where it lands, and Esc cancels. The menus have move left / right and up / down too. The header row stays put, and rows can’t go above it. Rows or columns joined by merged cells move as a group.
  • The “⊕” bar on the right adds a column at the end; the dashed “⊕” bar below adds a row.
  • Drag the border between two columns to resize them; widths are saved as <Table widths="…">.
  • Drag across cells and choose “Merge Cells”; with the cursor in a merged cell, “Split Cell” undoes it. Merges are saved with the Markdown >> / ^^ syntax; layouts it can't express (such as a header cell merged downward) are written as an HTML <table>.
  • The “⋮” on the right of the table opens the table menu: skin (hover to try it on the table), width layout, minimum width, sticky header / first column, search, pagination, delete table.
  • Dragging a column border scales the columns to its right proportionally, keeping the total width; hold Shift to resize only the two adjacent columns.

These settings map to the props of the Table component; in source mode it's plain MDX.

Columns

Columns have drag handles between columns: drag to resize, with the columns to the right scaling proportionally and snapping to equal widths when close (hold Alt to skip snapping). The result is saved as <Columns widths="60 40">; double-click a handle to go back to equal widths.

Docs settings

Docs settings in the top right reads and writes docs.yml, organized in these categories: Brand, Navigation, Layout, Style, Header and footer, Pages, API reference, Search, Ask AI, Social, Analytics and Redirects. Changes keep the comments and formatting in your YAML, show up under Files, and are saved with your next commit.

  • Colors: color fields you haven't set show the default the site actually uses (computed with the same palette algorithm as the site, following the accent color and light / dark mode). The color picker has a saturation / brightness area, a hue slider and HEX / RGB / HSL inputs, and can reset to the default.
  • Layout: page width (full for wide mode), content width, sidebar width, header height, and header opacity and background blur. See Customize the look.
  • Header and footer: header links, social links, the announcement bar (text, link, background, text color), footer links and copyright text, and the Show Powered by ButterIX switch. Until the platform administrator allows your organization to remove the badge, the switch is grayed out and can't be turned off. If the site uses a custom footer file, this section just tells you which file defines the footer.

Page settings

Page settings in the top right edits the current page's frontmatter: title, subtitle, URL, icon (click to search and pick), layout (guide / overview / reference / page / custom), table of contents, SEO and more, plus Hero image: upload light and dark images, saved as the frontmatter's background-image. Clearing the last field removes the frontmatter block entirely.

Endpoint pages

On endpoint pages generated from OpenAPI, click text to edit it; it is saved back to the spec file, or to the translation when the preview is in another language. See Edit text in the editor.

Changelogs and blogs

Changelogs and blogs appear as a group in the navigation tree on the left, listing the overview page and the entries by date, with drafts and hidden entries marked.

  • Add changelog / blog in the navigation tree creates a changelog or a blog: pick the type and enter a navigation title and entries folder, and it creates the overview page and a first entry and adds it to the navigation in docs.yml.
  • The group's menu has New entry (New post for blogs), Edit overview and Layout & authors. When creating an entry, pick a date and enter tags; the file name is generated from the date. You can also choose a changelog as the destination in the New page dialog.
  • With an entry open, Page settings shows entry-specific settings: date, tags (press Enter to add), draft and hidden; blog posts also have author, thumbnail and a custom URL. The overview page's settings switch between the timeline, classic and blog layouts and manage the author registry.

Versions and languages

  • On sites with versions or products, Viewing version and Viewing product dropdowns above the navigation tree switch which navigation you view and edit; new pages go into the current version.
  • Docs settings → Navigation manages versions (turn on versions, add, rename, URL segment, status, make default, reorder, hide, delete) and languages (turn on languages, add, display name, make default, reorder, delete). See Versions and Languages.

Reviewing and reverting changes

Files at the top right lists the files changed in your draft, each with its added and removed line counts (+added -removed).

  • Hover over a file for about 2 seconds to see a preview of its changes.
  • Click it to open the full diff: old and new line numbers, deletions in red and additions in green, with unchanged stretches collapsed and expandable.
  • Each change has a Revert this change button that undoes just that change and keeps the rest; reverting can itself be undone.

Uploading fonts

Under Docs settings → Brand → Fonts, body text, headings and code can each use their own font: upload WOFF2, WOFF, TTF or OTF files (up to 20 MB), or type a Google Fonts name. A variable font covers every weight with one file; otherwise pick several files at once — the editor reads each file's weight and italics and writes them to typography in docs.yml. Files are kept in assets/fonts/ and published with the change request. You'll see a note when the fonts are large; prefer WOFF2, or a subset with only the characters you need.

Uploading images and media

Drag in or pick files to upload images, videos, or PDFs (up to 20 MB). Files are committed to the draft branch as assets/<timestamp>-<filename>, and you get back a URL you can drop straight into Markdown:

![Architecture diagram](/assets/mf2x8k-architecture.png)

Collaboration and conflicts

  • When a file your draft is based on has changed on the branch since, a notice above the canvas lets you discard those drafts and use the latest version, or keep them.
  • When you open a file, the editor records its version (sha). If someone else has changed the file on the same draft by the time you save, the platform refuses to overwrite and returns the latest content for you to merge before saving again.
  • If the draft has conflicts with the production branch that can't be merged automatically, publishing fails with a conflict message and the production site is unaffected.

AI translation

When a site has multiple languages configured, you can translate the whole site from the editor in one click. The platform creates a translate/… branch and uses the site's Ask AI config to incrementally translate all pages and navigation labels (reusing the translation memory in the repo); when it's done, review and edit in the editor, then publish. See Internationalization.

Arranging the interface

The buttons at the top right open the source, page settings, docs settings, and the agent panel. Drag the border between the canvas and the panel on the right to resize it; double-click to reset.

Which sites it works with

Site sourceEditor
Hosted repositoryAvailable. Publishing merges into the hosted repository's production branch
Connected GitAvailable. Can't edit the production branch directly; publishing merges and pushes to the remote repository (the token needs write access)
CLI uploadAvailable. biti deploy syncs your source files to the platform; fetch changes published online with biti pull, or let the next deploy merge them line by line

Saving, previewing, and publishing require the editor role or higher; viewers can browse files and rendered results.

Drive the editor with the API

Everything the editor can do is available through the platform API, so you can also batch-edit docs with scripts or AI agents: read files, save with baseSha, validate with editor/check, create previews, and publish. See the Visual editor group in the API reference for the endpoint list.

Request

This endpoint expects an object.
branchstringRequired
pathstringRequired
contentstringRequired<=2000000 characters
messagestringOptional
baseShastringOptional