Skip to content

Commit 4a5526c

Browse files
committed
documentation rewrite (WIP)
1 parent 49df9e5 commit 4a5526c

File tree

32 files changed

+715
-282
lines changed

32 files changed

+715
-282
lines changed

src/app/navigation.json

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,29 @@
22
{
33
"type": "route",
44
"path": "",
5-
"label": "Introduction"
5+
"label": "Home"
66
},
77
{
88
"type": "collection",
99
"path": "user-manual",
1010
"label": "User Manual",
1111
"children": [
1212
{
13-
"type": "collection",
14-
"path": "administrator-panel",
15-
"label": "Admin Panel",
16-
"children": [
17-
{
18-
"type": "route",
19-
"path": "forums",
20-
"label": "Forums"
21-
}
22-
]
13+
"type": "route",
14+
"path": "admin-panel",
15+
"label": "Admin Panel"
2316
},
2417
{
25-
"type": "collection",
26-
"path": "plugins",
27-
"label": "Plugins",
28-
"children": [
29-
{
30-
"type": "route",
31-
"path": "perscom-plugin",
32-
"label": "PERSCOM.io"
33-
}
34-
]
18+
"type": "route",
19+
"path": "forum",
20+
"label": "Forums"
3521
}
3622
]
3723
},
3824
{
3925
"type": "collection",
4026
"path": "guides",
41-
"label": "Guides",
27+
"label": "Developers",
4228
"children": [
4329
{
4430
"type": "route",
@@ -88,5 +74,17 @@
8874
"label": "Creating Themes"
8975
}
9076
]
77+
},
78+
{
79+
"type": "collection",
80+
"path": "plugins",
81+
"label": "Plugins",
82+
"children": [
83+
{
84+
"type": "route",
85+
"path": "perscom-plugin",
86+
"label": "PERSCOM.io"
87+
}
88+
]
9189
}
9290
]

src/app/page.tsx

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,12 @@
11
'use client';
22

33
import React from 'react';
4-
import Link from 'next/link';
5-
import { ArrowRight } from '@phosphor-icons/react';
6-
7-
interface QuickLinkProps extends React.PropsWithChildren {
8-
href: string;
9-
name: string;
10-
}
11-
12-
const QuickLink: React.FC<QuickLinkProps> = ({ href, name, children }) => <Link
13-
href={href}
14-
className="box w-50 flex flex-col justify-between"
15-
style={{ minWidth: 300 }}
16-
>
17-
<p className="text-small">
18-
{children}
19-
</p>
20-
<p className="mt-6 flex items-center">
21-
{name}
22-
<ArrowRight />
23-
</p>
24-
</Link>
4+
import QuickLink from '@/components/QuickLink';
255

266
const Page = () => {
277
return <div>
288
<h1>forumify Documentation</h1>
29-
<div className="flex gap-6">
9+
<div className="flex gap-6 flex-wrap">
3010
<QuickLink href="/user-manual" name="User Manual">
3111
Learn more about using forumify.
3212
</QuickLink>
File renamed without changes.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
import Link from 'next/link';
2+
import Alert from '@/components/Alert';
3+
import {
4+
Gauge,
5+
Gear,
6+
UserList,
7+
Chats,
8+
Files,
9+
Wrench
10+
} from '@phosphor-icons/react/dist/ssr';
11+
12+
# Admin Panel
13+
14+
The admin panel controls the configuration and setup of all the various components and plugins in your forumify instance.
15+
16+
## Accessing the admin panel
17+
18+
To access the admin panel, click your username in the navigation bar, then select "Admin" from the dropdown menu.
19+
20+
<Alert severity="info">
21+
You need to have at least 1 role with the "Administrator" option turned on.
22+
The user you created during the installation of your instance received an administrator role.
23+
24+
For more information regarding roles and permissions, see the <Link href="/user-manual/security">Security guide</Link>.
25+
</Alert>
26+
27+
## Components
28+
29+
The admin panel is used by different components to allow admins to configure them.
30+
The components documented here are only components added by forumify-platform. If your instance
31+
has plugins, custom development,... then this list may not include all the components that you see.
32+
33+
### <Gauge /> Dashboard
34+
35+
The first page you are presented with when you open the admin panel is your dashboard.
36+
37+
<Alert severity="info">
38+
The Dashboard is still a work in progress and is subject to change.
39+
</Alert>
40+
41+
### <Gear /> Configuration
42+
43+
On the configuration page you can modify basic settings regarding your instance.
44+
45+
- General: Basic information regarding your forum,
46+
- Users: Any settings related to user registration and forum profiles,
47+
- Spam Protection: reCAPTCHA settings.
48+
- Emails*: Configuration for your e-mail server.
49+
50+
**Email settings are not available on forumify cloud.*
51+
52+
### <UserList /> Users
53+
54+
Contains a datatable of all of your forum users. You can modify their profile in case it is against your forum's policy,
55+
assign roles, and give the user badges.
56+
57+
### <Chats /> Forums
58+
59+
The forum component is documented separately, it can be found <Link href="/user-manual/forum">here</Link>.
60+
61+
### <Files /> CMS (Content Management System)
62+
63+
The CMS component is documented separately, it can be found <Link href="/user-manual/cms">here</Link>.
64+
65+
### <Wrench /> Settings
66+
67+
On the settings page you can find all of the components that are less frequently visited and did not receive their own entry in the main navigation.
68+
69+
Here you can find:
70+
- Badges,
71+
- Calendars,
72+
- Menu Builder,
73+
- Plugins,
74+
- Reactions,
75+
- Roles,
76+
- Themes.

src/app/user-manual/administrator-panel/cms/page.mdx

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/app/user-manual/administrator-panel/configuration/page.mdx

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/app/user-manual/administrator-panel/dashboard/page.mdx

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/app/user-manual/administrator-panel/forums/page.mdx

Lines changed: 0 additions & 50 deletions
This file was deleted.

src/app/user-manual/administrator-panel/introduction/page.mdx

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/app/user-manual/administrator-panel/settings/page.mdx

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)