Writing Articles
Weavestream's article editor is powered by Tiptap — a full-featured rich-text editor. This guide covers creating, formatting, and organising documentation.
Creating an Article
- Navigate to a tenant's Articles section
- Click New Article
- Enter a title
- Choose an editor format (WYSIWYG or Markdown — see below)
- Write your content in the editor
- Click Save
Choosing a Format
Each article has its own editor mode — you are not locked into a workspace-wide choice.
To switch an existing article's format, use the format toggle in the article form. A confirmation dialog warns you before running the one-time conversion, because the process can be lossy for complex content. After switching, click Save — the format toggle does not autosave.
Editor Toolbar
The toolbar provides quick access to all formatting options:
Keyboard Shortcuts
Inserting Images
- Place your cursor where you want the image
- Click the Image button in the toolbar (or drag-and-drop from your desktop)
- The image is uploaded to the tenant's file store and embedded inline
Images are stored in the tenant's directory under ${FILE_STORAGE_DIR}/<tenantId>/uploads/... and served through the API's same-origin streaming endpoint, so embedded <img> tags work without an external file host.
Working with Tables
Click the Table button to insert a table. Right-click on any cell to access options:
- Add/remove rows and columns
- Merge or split cells
- Set header rows
Organising with Folders
Articles can be organised into a folder hierarchy:
Creating a folder:
- In the article list sidebar, click New Folder
- Name the folder
- Folders can be nested by dragging them into other folders
Moving articles:
- Open the article
- Change the Folder field in the article metadata panel
- Save
Root-level articles (no folder) appear at the top of the list.
Setting Client Visibility
To expose an article in the client portal:
- Open the article
- Toggle Visible to clients in the metadata panel
- Save
The article will immediately appear in the portal for that tenant's client users.
Searching Articles
Articles are indexed for full-text search via the command palette (Cmd+K) and the search API. The article title is weighted higher than the body, so descriptive titles improve discoverability.
Tips for Good Documentation
- Use headings to structure long articles — they appear in the table of contents
- Keep articles focused — one topic per article is easier to search and navigate than a monolithic "everything" page
- Use task lists for runbooks and step-by-step procedures
- Add images for network diagrams, screenshots, and visual guides
- Create a folder structure that mirrors your infrastructure hierarchy (e.g. by region, by client, by service type)