Skip to content

Commit a60b505

Browse files
committed
update docs
1 parent da52403 commit a60b505

14 files changed

Lines changed: 787 additions & 72 deletions

File tree

docs/introduction.md

Lines changed: 37 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,62 @@ sidebar_position: 1
55

66
# Introduction
77

8-
Welcome to **Docmost**, an open-source collaborative wiki and documentation software.
8+
Welcome to **Docmost**, an open-source, enterprise-ready collaborative wiki and documentation software.
99
Designed for seamless real-time collaboration, multiple users can work on the same page at the same time in real-time without overwriting each other.
1010

1111
Docmost is an open-source alternative to the likes of Notion and Confluence. Whether you're managing a wiki, a knowledge base, or extensive project documentation, Docmost provides the tools you need to create, collaborate, and share knowledge effortlessly.
1212

13-
Docmost has support for Spaces. You can create Spaces for different teams, projects, or departments depending on your needs. Each Space comes with its own permissions.
14-
15-
The rich text editor has support for markdown shortcuts.
13+
Docmost has support for Spaces. You can create Spaces for different teams, projects, or departments depending on your needs. Each Space comes with its own permissions. With an optional enterprise edition, Docmost scales to meet the needs of larger organizations with SSO, AI, API access, and more.
1614

1715
![img](https://docmost.com/screenshots/home.png)
1816

1917
## Features
2018

2119
- **Collaborative Real-time Editor**: Work together on pages in real-time.
22-
- **Diagrams**: Built-in support for Draw.io, Excalidraw and Mermaid diagramming tools.
2320
- **Spaces**: Organize your pages by team, projects, or departments for better collaboration.
24-
- **AI Search (ASK AI)**: Ask questions and get answers directly from your page content.
25-
- **Public sharing**: You can publicly share your pages, allowing anyone with the link to view them.
26-
- **Permissions Management**: Easily control access to contents with easy to understand permissions.
27-
- **Groups**: Easily grant unified permissions to users via groups.
21+
- **Permissions Management**: Easily control access to content with intuitive permissions at the workspace and space level.
22+
- **Groups**: Grant unified permissions to users via groups.
23+
- **Nested Navigation**: Nest, reorder, and drag-and-drop pages via the sidebar.
24+
- **Tables**: Insert and edit tables with resizable columns, mergeable cells, header rows/columns, and cell background colors.
25+
- **Diagrams**: Built-in support for Draw.io, Excalidraw, and Mermaid diagramming tools.
26+
- **Math Equations**: Write inline and block-level math equations using KaTeX.
27+
- **Callouts and Toggle Blocks**: Structure your content with callout notices and collapsible toggle blocks.
2828
- **Comments**: Add comments to pages for better communication and feedback.
29-
- **Page History**: Track changes with a comprehensive version history.
30-
- **Nested Navigation**: You can nest and reorder pages via the sidebar.
31-
- **Search**: Quickly find the information you need with powerful search capabilities.
29+
- **Page History**: Track changes with a comprehensive version history and restore previous versions.
30+
- **Public Sharing**: Publicly share your pages, allowing anyone with the link to view them.
31+
- **Search**: Full-text search across pages with space and type filters.
3232
- **File Attachment**: Attach files to your pages for easy reference and sharing.
33-
- **Search in attachments:** Search for content in PDF and DOCX file attachments (Enterprise Edition)
34-
- **Import / Export**: You can easily import and export pages in Markdown and HTML formats.
35-
- Zip import
33+
- **Import / Export**: Import and export pages in Markdown and HTML formats.
34+
- ZIP archive import
3635
- Notion import
37-
- Confluence import (Enterprise Edition)
38-
- **Read/Edit preference mode:** Say goodbye to accidental edits.
39-
- **Translations**: Docmost is available in over 10+ languages. 🇺🇸 🇨🇳 🇫🇷 🇩🇪 🇮🇹 🇯🇵 🇰🇷 🇧🇷 🇷🇺 🇪🇸🇺🇦
36+
- Confluence import (Enterprise)
37+
- DOCX import (Enterprise)
38+
- **Print to PDF**: Generate PDF versions of pages using the browser print dialog.
39+
- **@ Mentions**: Mention team members and link to pages directly in the editor.
40+
- **Markdown Shortcuts**: Type Markdown syntax directly in the editor and it converts to rich text automatically.
41+
- **Keyboard Shortcuts**: Full set of keyboard shortcuts for formatting, navigation, and editor actions.
42+
- **Dark Mode**: Switch between light, dark, and system themes.
43+
- **Read/Edit Mode**: Set a default page mode to prevent accidental edits.
44+
- **Translations**: Available in 12+ languages. 🇺🇸 🇨🇳 🇫🇷 🇩🇪 🇮🇹 🇯🇵 🇰🇷 🇧🇷 🇷🇺 🇪🇸 🇳🇱 🇺🇦
4045

4146
## Authentication
4247
- Email and password
43-
- LDAP (enterprise edition)
44-
- SSO (SAML/OIDC) is available in our enterprise edition [<a href="mailto:sales@docmost.com?subject=Docmost Enterprise License">Purchase enterprise license</a>].
48+
- LDAP (Enterprise)
49+
- SSO via SAML / OIDC (Enterprise)
50+
- MFA via TOTP (Enterprise)
4551

4652
## Enterprise Edition Features
47-
- SSO (SAML 2.0 / OIDC ) - Integrate Microsoft Entra ID, Okta, OneLogin and more.,
48-
- LDAP
49-
- MFA (TOTP)
50-
- AI Search (ASK AI)
51-
- API keys management
52-
- Full-text search in attachments (PDF, DOCX)
53-
- Resolve comments
54-
- Confluence importer
55-
- Email support
56-
- Audit logs (coming soon)
53+
- **SSO** (SAML 2.0 / OIDC) — Integrate Microsoft Entra ID, Okta, OneLogin, and more.
54+
- **LDAP** — Authenticate users against your LDAP directory.
55+
- **MFA** (TOTP) — Multi-factor authentication with authenticator apps.
56+
- **AI** — AI-powered writing assistance (Ask AI) and AI-powered search (AI Answers). Use cloud models or local LLMs.
57+
- **API** — REST API with personal API keys and admin key management.
58+
- **Full-text search in attachments** — Search content inside PDF and DOCX file attachments.
59+
- **Resolve comments** — Mark comment threads as resolved.
60+
- **Disable public sharing** — Control public sharing at the workspace or space level.
61+
- **Confluence importer** — Import Confluence spaces with preserved formatting, hierarchy, and attachments.
62+
- **DOCX importer** — Import Microsoft Word documents.
63+
- **Priority support** — Direct email support.
5764
- [<a href="mailto:sales@docmost.com?subject=Docmost Enterprise Edition.">Purchase enterprise edition</a>].
5865

5966
## FAQ
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"label": "AI",
33
"position": 4,
4-
"collapsed": false
4+
"collapsed": true
55
}

docs/self-hosting/configuration/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@ AI_EMBEDDING_MODEL=nomic-embed-text
8989
AI_COMPLETION_MODEL=qwen2.5:7b
9090
```
9191

92+
## Search
93+
94+
By default, Docmost uses the database for full-text search. You can optionally configure Typesense as the search driver for improved search performance and relevance.
95+
96+
### Using Typesense
97+
```shell
98+
SEARCH_DRIVER=typesense
99+
TYPESENSE_API_KEY=xyz123
100+
TYPESENSE_URL=http://localhost:8108
101+
TYPESENSE_LOCALE=en
102+
```
103+
92104
## Telemetry
93105
We anonymously collect the active version, user count, page count, space and workspace count.
94106
To disable telemetry:

docs/user-guide/ai.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
sidebar_position: 12
3+
---
4+
5+
# AI
6+
7+
Docmost includes AI-powered features that help you write, edit, and search your workspace content. AI capabilities are available in two areas: the editor (Ask AI) and search (AI Answers). Since Docmost is self-hosted, you can choose to use cloud-based AI models (OpenAI, Google Gemini) or local LLMs (via Ollama) — keeping your data fully under your control.
8+
9+
:::note
10+
AI is an enterprise feature. An active enterprise license is required. AI features also require an AI provider to be configured by a workspace admin. See the [AI Search Setup](/self-hosting/ai/ai-search) guide for provider configuration.
11+
:::
12+
13+
## AI Settings (Admin)
14+
15+
Workspace admins can enable or disable AI features from **Settings** > **AI settings**. There are two independent toggles:
16+
17+
- **AI-powered search (AI Answers)** — Uses vector embeddings to provide semantic search capabilities across your workspace content. When enabled, users can ask natural language questions in the search dialog and receive AI-generated answers based on workspace pages.
18+
- **Generative AI (Ask AI)** — Enables AI-powered content generation in the editor. When enabled, users can generate, improve, translate and transform text directly within the editor.
19+
20+
Each feature can be toggled on or off independently.
21+
22+
## Ask AI (Editor)
23+
24+
When Generative AI is enabled, an **Ask AI** button appears in the editor toolbar when you select text. You can also type a custom prompt in the **Ask AI...** input field to give the AI specific instructions.
25+
26+
### Available Actions
27+
28+
| Action | Description |
29+
|--------|-------------|
30+
| **Improve writing** | Refine and enhance the selected text |
31+
| **Fix spelling & grammar** | Correct spelling and grammar errors |
32+
| **Make longer** | Expand the selected text with more detail |
33+
| **Make shorter** | Condense the selected text |
34+
| **Continue writing** | Generate additional content from where the text ends |
35+
| **Explain** | Provide an explanation of the selected text |
36+
| **Summarize** | Create a summary of the selected text |
37+
38+
### Change Tone
39+
40+
Rewrite the selected text in a different tone:
41+
42+
- Professional
43+
- Casual
44+
- Friendly
45+
46+
### Translate
47+
48+
Translate the selected text into one of the supported languages:
49+
50+
English, Spanish, German, French, Dutch, Portuguese, Italian, Japanese, Korean, Swedish, Chinese (Simplified).
51+
52+
## AI Answers (Search)
53+
54+
When AI-powered search is enabled, an **AI Answers** toggle appears in the search dialog. With AI Answers turned on, you can ask natural language questions about your workspace content and receive AI-generated answers based on your pages.
55+
56+
To use AI Answers:
57+
58+
1. Open the search dialog (`Ctrl/Cmd + K`).
59+
2. Toggle **AI Answers** on.
60+
3. Type your question in the search field.
61+
4. Click the **Ask** button or press Enter.
62+
5. The AI returns an answer based on the content in your workspace.
63+
64+
AI Answers only searches content you have permission to access. Results are scoped to the spaces and pages visible to your account.

docs/user-guide/api.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
sidebar_position: 13
3+
---
4+
5+
# API
6+
7+
Docmost provides a REST API that allows you to programmatically interact with your workspace. You can create, read, update, and delete pages, spaces, and other resources. For the full API reference, see the [API documentation](https://docmost.com/api-docs).
8+
9+
:::note
10+
The API is an enterprise feature. An active enterprise license is required.
11+
:::
12+
13+
## API Keys
14+
15+
Each user can create personal API keys to authenticate with the API. API keys are scoped to the user who created them and inherit that user's permissions.
16+
17+
### Creating an API Key
18+
19+
1. Go to **Settings** > **API keys** (under Account).
20+
2. Click **Create API Key**.
21+
3. Enter a descriptive **Name** for the key.
22+
4. Choose an **Expiration** period:
23+
- 30 days
24+
- 60 days
25+
- 90 days
26+
- 365 days
27+
- Custom
28+
- No expiration
29+
5. Click **Create**.
30+
31+
The API key is displayed once after creation. Copy it and store it securely — it cannot be viewed again.
32+
33+
### Managing Your Keys
34+
35+
Your API keys are listed under **Settings** > **API keys** with the following details:
36+
37+
- **Name** — The descriptive name you assigned to the key.
38+
- **Last used** — When the key was last used to make an API request.
39+
- **Expires** — The expiry date, or "Never" if the key has no expiration.
40+
- **Created** — When the key was created.
41+
42+
Click the **...** menu on any key to:
43+
44+
- **Rename** — Change the key's name.
45+
- **Revoke** — Permanently revoke the key. This action cannot be undone.
46+
47+
## API Management (Admin)
48+
49+
Workspace admins can view and manage API keys for all users in the workspace.
50+
51+
1. Go to **Settings** > **API management** (under Workspace).
52+
53+
This page displays all API keys across the workspace, including the **User** who owns each key. Admins can create, rename, and revoke keys on behalf of any user.
54+

docs/user-guide/diagrams.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
---
2+
sidebar_position: 10
3+
---
4+
5+
# Diagrams
6+
7+
Docmost supports three diagram tools directly in the editor, allowing you to create visual diagrams without leaving your page.
8+
9+
To insert a diagram, type `/` in the editor and select one of the diagram options.
10+
11+
## Mermaid
12+
13+
Mermaid lets you create diagrams using a simple text-based syntax. The diagram is rendered live as you type.
14+
15+
To insert a Mermaid diagram:
16+
17+
1. Type `/` and select **Mermaid diagram**.
18+
2. A code editor block appears where you can write Mermaid syntax.
19+
3. The diagram renders automatically as you type.
20+
21+
### Supported Diagram Types
22+
23+
Mermaid supports a variety of diagram types, including:
24+
25+
- **Flowchart** - Process flows and decision trees
26+
- **Sequence diagram** - Interaction between components over time
27+
- **Class diagram** - Object-oriented class structures
28+
- **State diagram** - State transitions
29+
- **Entity Relationship (ER) diagram** - Database relationships
30+
- **Gantt chart** - Project timelines and scheduling
31+
- **Pie chart** - Proportional data visualization
32+
- **Git graph** - Git branching and commit history
33+
- **Mindmap** - Hierarchical idea mapping
34+
35+
### Example
36+
37+
```
38+
graph TD
39+
A[Start] --> B{Decision}
40+
B -->|Yes| C[Action 1]
41+
B -->|No| D[Action 2]
42+
C --> E[End]
43+
D --> E
44+
```
45+
46+
For full Mermaid syntax documentation, visit [mermaid.js.org](https://mermaid.js.org).
47+
48+
## Draw.io (diagrams.net)
49+
50+
Draw.io provides a full-featured visual diagram editor with drag-and-drop shapes, connectors, and styling options.
51+
52+
To insert a Draw.io diagram:
53+
54+
1. Type `/` and select **Draw.io (diagrams.net)**.
55+
2. The Draw.io editor opens where you can create your diagram.
56+
3. Click **Save** to embed the diagram in your page.
57+
4. Double-click the diagram at any time to re-open the editor and make changes.
58+
59+
### Use Cases
60+
61+
- Network architecture diagrams
62+
- Flowcharts and process maps
63+
- Wireframes and mockups
64+
- Organizational charts
65+
- UML diagrams
66+
67+
## Excalidraw
68+
69+
Excalidraw is a whiteboard-style drawing tool that produces hand-drawn looking diagrams. It is ideal for quick sketches, brainstorming, and informal diagrams.
70+
71+
To insert an Excalidraw diagram:
72+
73+
1. Type `/` and select **Excalidraw**.
74+
2. The Excalidraw whiteboard editor opens.
75+
3. Use the toolbar to draw shapes, lines, text, and freehand sketches.
76+
4. Click **Save** to embed the drawing in your page.
77+
5. Double-click the drawing at any time to re-open the editor and make changes.
78+
79+
### Use Cases
80+
81+
- Quick sketches and brainstorming
82+
- Architecture whiteboarding
83+
- Informal diagrams and illustrations
84+
- Collaborative visual thinking
85+
86+
## Technical Details
87+
88+
### Storage
89+
90+
All diagrams are stored as SVG files in the configured storage system. This means diagrams are resolution-independent and can be viewed without any special rendering. Users can continue to edit their diagrams at any time by double-clicking on them — the original editable data is preserved within the SVG.
91+
92+
### Built-in Editors
93+
94+
The Mermaid, Excalidraw, and Draw.io editors are all built into Docmost. No external services are required for Mermaid or Excalidraw.
95+
96+
For Draw.io, Docmost uses the default Draw.io editor via an iframe by default. If you are self-hosting and prefer to use your own Draw.io instance, you can configure it with the following environment variable:
97+
98+
```bash
99+
DRAWIO_URL=https://your-drawio-instance.example.com
100+
```
101+
102+
This is useful for air-gapped environments or organizations that require all tools to run on their own infrastructure.

0 commit comments

Comments
 (0)