Skip to content

Commit 298bda4

Browse files
committed
User Guide - init
1 parent 8ab0d1b commit 298bda4

14 files changed

+357
-0
lines changed

docs/user-guide/_category_.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"label": "User Guide",
3+
"position": 3,
4+
"collapsed": false
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"label": "Authentication",
3+
"position": 2,
4+
"collapsed": true
5+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import DocCardList from '@theme/DocCardList';
2+
3+
# Authentication
4+
Authentication in Docmost ensures secure and efficient access management, providing flexibility for users and administrators alike.
5+
6+
Authentication methods in Docmost include:
7+
- Email and Password Authentication
8+
- SSO (SAML/OIDC) (available in Cloud and Enterprise edition)
9+
10+
11+
<DocCardList />
12+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
sidebar_position: 3
3+
---
4+
5+
# OIDC
6+
**Edition:** Enterprise
7+
8+
Docmost supports authentication through OpenID Connect (OIDC), allowing integration with any identity provider that supports the OIDC standard.
9+
10+
<p align="center">
11+
<img src="/docs/img/oidc-auth.png" width="350"/>
12+
</p>
13+
14+
### How to configure OpenID Connect (OIDC):
15+
16+
1. **Navigate to Security Settings**
17+
- Go to **Settings****Security & SSO** in your Docmost dashboard.
18+
19+
2. **Create a New SSO Integration**
20+
- Click on the **"Create SSO"** button.
21+
- Select **"OpenID (OIDC)"** from the dropdown menu. This opens a configuration popup.
22+
23+
3. **Configure Your OIDC Integration**
24+
- Enter a descriptive **Display Name** for this integration (e.g., "Company SSO").
25+
- Copy the provided **Callback URL**. You’ll need to add this URL to your OIDC provider’s allowed redirect URIs.
26+
27+
4. **Enter Your OIDC Provider Details**
28+
- **Issuer URL:** Provide the Issuer URL from your OIDC provider.
29+
- **Client ID:** Paste the Client ID obtained from your OIDC provider.
30+
- **Client Secret:** Paste the Client Secret obtained from your OIDC provider.
31+
32+
5. **Additional Configuration Options**
33+
- To automatically provision users upon their first login, enable the **"Allow Signup"** toggle.
34+
- To activate this integration immediately, enable the **"Enabled"** toggle.
35+
36+
6. **Save Your Configuration**
37+
- Click **"Save"** to apply your settings.
38+
39+
After successful configuration, your OIDC provider will appear as an available login method on the Docmost login page. Users can now authenticate through your configured OIDC integration.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
sidebar_position: 2
3+
tags:
4+
- Enterprise
5+
---
6+
7+
# SAML
8+
9+
**Edition:** Enterprise
10+
11+
Docmost supports authentication via the Security Assertion Markup Language (SAML 2.0), allowing integration with identity providers (IdPs) that support the SAML protocol.
12+
13+
### How to configure SAML 2.0
14+
15+
1. **Navigate to Security Settings**
16+
- Go to **Settings****Security & SSO** in your Docmost dashboard.
17+
18+
2. **Create a New SSO Integration**
19+
- Click on the **"Create SSO"** button.
20+
- Select **"SAML"** from the dropdown menu. This opens a configuration popup.
21+
22+
3. **Configure Your SAML Integration**
23+
- Provide a descriptive **Display Name** for this integration (e.g., "Company SAML SSO").
24+
25+
4. **Configure Your Identity Provider (IdP)**
26+
- From Docmost, copy the following fields into your IdP’s configuration:
27+
- **Entity ID:** Docmost’s unique identifier provided in the configuration popup.
28+
- **Callback URL (ACS):** Assertion Consumer Service URL provided by Docmost.
29+
30+
Ensure these URLs are correctly configured in your Identity Provider settings.
31+
32+
5. **Enter Your Identity Provider (IdP) Details in Docmost**
33+
- **IDP Login URL:** Paste the login URL from your IdP, which users will be redirected to for authentication.
34+
- **IDP Certificate:** Paste your IdP’s public X.509 certificate text.
35+
36+
6. **Additional Configuration Options**
37+
- To automatically provision users on first login, enable the **"Allow Signup"** option.
38+
- Activate this integration immediately by toggling **"Enabled"**.
39+
40+
7. **Save Your Configuration**
41+
- Click **"Save"** to finalize your settings.
42+
43+
Once successfully configured, your SAML 2.0 provider will appear on Docmost's login page, allowing users to authenticate via your configured Identity Provider.

docs/user-guide/groups.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
sidebar_position: 5
3+
---
4+
5+
# Groups
6+
7+
Groups are a way to manage user permissions collectively. Instead of assigning roles and privileges to individual users, you can assign them to a group, simplifying access control across your workspace.
8+
9+
There is a default group called **Everyone**. All users are automatically part of this group.
10+
11+
### Who Can Manage Groups?
12+
13+
Only users with **Admin** or **Owner** roles can create, edit, or delete groups and manage group memberships.
14+
15+
### Creating a Group
16+
17+
1. Go to **Workspace Settings**.
18+
2. Click on **Groups** in the sidebar.
19+
3. Click the **Create Group** button at the top right.
20+
4. In the popup:
21+
- Enter a **Group Name** (e.g., `Sales`).
22+
- Add an optional **Description**.
23+
- Use the **search box** to find and add members (You can always add more members later).
24+
5. Click **Create** to finish.
25+
6. You’ll be redirected to the new group’s page to review or manage its members.
26+
27+
### Grant Group access to a Space
28+
29+
A **Space** is a dedicated area within your workspace for organizing pages, and collaboration. It helps teams separate content by project or department. Learn more in the [Spaces Documentation](./spaces).
30+
31+
After creating a group, you may want to grant it access to specific Spaces. Doing so allows all group members to inherit access to that Space with a unified role.
32+
33+
1. Navigate to the **Space** you want to manage.
34+
2. Click on **Space Settings**.
35+
3. Go to the **Members** tab.
36+
4. Click **Add Space Members**.
37+
5. In the popup:
38+
- Search for the group name.
39+
- Select a permission level:
40+
- **Full Access** – full admin control within the space
41+
- **Can Edit** – can edit pages and content
42+
- **Can View** – read-only access
43+
- Click **Add** to confirm.
44+
45+
The group will now appear in the Space members list with the assigned permission level.
46+
> **Note:** If a user has multiple paths of access to a Space (e.g., both individually and through a group), the **highest permission level** will apply.
47+
48+
49+
### Adding Members to a Group
50+
51+
1. Go to **Settings > Groups**.
52+
2. Select the group.
53+
3. Click the **Add Members** button.
54+
4. Search for users and add them to the group.
55+
56+
### Removing a User from a Group
57+
58+
1. Go to **Settings > Groups**.
59+
2. Select the group.
60+
3. Locate the member you want to remove.
61+
4. Click the **three dots (⋯)** next to their name.
62+
5. Select **Remove Group Member**.
63+
6. Confirm the action.
64+
65+
### Editing a Group
66+
67+
1. Go to **Settings > Groups**.
68+
2. Select the group.
69+
3. Click the **three dots (⋯)** in the top right.
70+
4. Choose **Edit Group**.
71+
5. Update the group name and/or description.
72+
6. Save your changes.
73+
74+
### Deleting a Group
75+
76+
1. Go to **Settings > Groups**.
77+
2. Select the group.
78+
3. Click the **three dots (⋯)** in the top right.
79+
4. Choose **Delete Group**.
80+
5. Confirm the deletion.
81+
82+
83+

docs/user-guide/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import DocCardList from '@theme/DocCardList';
2+
3+
# User Guide
4+
5+
<DocCardList />

docs/user-guide/spaces.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
sidebar_position: 4
3+
---
4+
5+
# Spaces
6+
7+
Docmost **Spaces** are dedicated, organized areas within your workspace that group together documents, permissions, and collaborators by project, team, or purpose.
8+
9+
Spaces act as top-level folders. Within a space, you can:
10+
- Move or copy pages between spaces
11+
- Create nested page hierarchies
12+
- Drag and drop pages in the sidebar
13+
- Import or export pages
14+
15+
### Creating a Space
16+
To create a new space:
17+
18+
1. Go to **Settings > Spaces**.
19+
2. Click the **Create Space** button in the top right.
20+
3. In the popup:
21+
- Enter a **Space Name** (e.g., `Engineering`).
22+
- Choose a custom **Space Slug**.
23+
- Add an optional **Description**.
24+
4. Click **Create** to finish.
25+
5. You'll be redirected to the newly created space.
26+
27+
> As the creator, you become the **Space Admin** with **Full Access** permissions.
28+
29+
### Adding Members to a Space
30+
31+
To add members to a space:
32+
33+
1. In the sidebar, click **Space Settings** for the space you want to manage.
34+
2. In the popup, go to the **Members** tab.
35+
3. Click **Add Space Members**.
36+
4. Search for individual workspace members or groups.
37+
5. Select a role and click **Add**.
38+
39+
The available space roles are:
40+
- **Full Access:** Full control over settings, permissions, and pages.
41+
- **Can Edit:** Can create and modify pages within the space.
42+
- **Viewer:** Can view pages, but cannot edit.
43+
44+
### Removing a Member from a Space
45+
46+
To remove someone from a group:
47+
48+
1. Go to **Settings > Groups**.
49+
2. Select the group.
50+
3. Find the member you want to remove.
51+
4. Click the **three dots (⋯)** next to their name.
52+
5. Select **Remove Space Member**.
53+
6. Confirm the action.
54+
55+
56+
### Editing a Space
57+
58+
To update a space’s details:
59+
60+
1. Go to **Settings > Spaces**.
61+
2. Select the space.
62+
3. In the popup, switch to the **Settings** tab.
63+
4. Edit the **name**, **slug**, or **description**.
64+
5. Click **Save** to apply changes.
65+
66+
### Exporting a Space
67+
68+
You can export pages and attachments within a space for backup, migration, or offline use. Docmost provides both Markdown and HTML export formats.
69+
70+
<p align="center">
71+
<img src="/docs/img/space-settings.png" width="500"/>
72+
</p>
73+
74+
To export a space,
75+
76+
1. Navigate to the **Space Settings**.
77+
78+
2. Within **Space Settings**, select the **Settings** tab at the top.
79+
80+
3. Click the **Export** button to initiate the export process.
81+
82+
<p align="center">
83+
<img src="/docs/img/export-space.png" width="500"/>
84+
</p>
85+
86+
4. In the export dialog:
87+
- Select your desired export format: **Markdown** or **HTML**.
88+
- Toggle the **Include attachments** option if you want to export attached files along with your content.
89+
90+
5. Click the **Export** button to start downloading.
91+
92+
The exported content will be bundled into a ZIP file and automatically downloaded to your device. You can then extract and use it according to your needs.
93+
94+
### Deleting a Space
95+
96+
To permanently delete a space:
97+
98+
1. Open the space’s **Settings**.
99+
2. Switch to the **Settings** tab.
100+
3. Click the **Delete** button.
101+
4. In the confirmation dialog:
102+
- Type the space name to confirm.
103+
- Click **Confirm**.
104+
105+
> ⚠️ This action is irreversible. The space and all its content will be permanently deleted.

docs/user-guide/translations.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
sidebar_position: 12
3+
---
4+
# Translations
5+
6+
Docmost is built for global teams and communities. The platform is available in over 12 languages, making it accessible to users across regions and industries.
7+
8+
Supported languages include:
9+
10+
🇺🇸 English
11+
🇨🇳 Chinese
12+
🇫🇷 French
13+
🇩🇪 German
14+
🇮🇹 Italian
15+
🇯🇵 Japanese
16+
🇰🇷 Korean
17+
🇧🇷 Portuguese
18+
🇷🇺 Russian
19+
🇪🇸 Spanish
20+
🇳🇱 Dutch
21+
🇺🇦 Ukrainian
22+
23+
Language settings can be managed by each user from the "Settings > Preferences" page, ensuring each person sees the UI in their preferred language.
24+
25+
<p align="center">
26+
<img src="/docs/img/user-preference.png" width="800"/>
27+
</p>
28+
29+
Translations are maintained and improved via the Crowdin platform. This means anyone can help improve the language translations.
30+
To join the translation effort:
31+
👉 [Docmost Crowdin Project](https://crowdin.com/project/docmost)

docs/user-guide/workspace.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
sidebar_position: 3
3+
---
4+
5+
# Workspace
6+
In **Docmost**, a **workspace** serves as the primary container for organizing your documentation and collaboration efforts. It encompasses all your content, user roles, and permissions. Within a workspace, you can create multiple **spaces** to categorize and manage information related to different teams, projects, or departments.
7+
8+
### Workspace Structure
9+
10+
- **Workspace**: The top-level entity that houses all your documentation.
11+
- **Spaces**: Subdivisions within a workspace, each dedicated to a specific team, project, or department.
12+
- **Pages**: Individual documents residing within spaces.
13+
14+
> This hierarchical structure — `Workspace → Space → Page` — facilitates organized and efficient content management.
15+
16+
### User Roles and Permissions
17+
18+
Within a workspace, users can be assigned different roles:
19+
20+
- **Owner**: Has full administrative control over the workspace.
21+
- **Admin**: Can manage spaces and users within the workspace.
22+
- **Member**: Has access to assigned spaces and can contribute content based on permissions.
23+
24+
Each space within the workspace can define its own set of permissions:
25+
26+
- **Full Access**: Can manage the space, including adding or removing members and editing content.
27+
- **Can Edit**: Can modify content within the space but cannot manage members.
28+
- **Can View**: Read-only access to the space's content.
29+

static/img/export-space.png

241 KB
Loading

static/img/oidc-auth.png

121 KB
Loading

static/img/space-settings.png

251 KB
Loading

static/img/user-preference.png

189 KB
Loading

0 commit comments

Comments
 (0)