Skip to content

Commit 11dd29a

Browse files
authored
General cleanup (#44)
* Unify color scheme in homepage * Remove/hide compare sections * Cleanup and reorganise Features page and also move Commands page * Docker install page cleanup and Discord app creation image / instructions update. * fix: Feature page not shown Fix suggested by @eartharoid * Revert homepage scheme change * Revert footer change * Add notice on EACCES error * Test tooltips * Try change previews * Add test data preview * Add missing data preview tags * Update line
1 parent debd36f commit 11dd29a

27 files changed

+69
-60
lines changed

docs/features/commands.md renamed to docs/commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Send a prompt (in the channel the command is used in) for the target user to cre
4444
If you have multiple [categories](./index.md#concept:categories) configured,
4545
the staff member will be asked to select the category that the ticket will be created in.
4646

47-
This can be used as an alternative to repeatedly asking members to "please create a ticket with [`/new`](#new)".
47+
This can be used as an alternative to repeatedly asking members to "please create a ticket with [`/new`](#new){ data-preview }".
4848

4949

5050
## Chat (slash) commands
@@ -152,7 +152,7 @@ Add an emoji before the channel name to declare the ticket's priority.
152152

153153
| Name | Description | Example |
154154
| :------------------------------------------------------: | :---------------------: | :------------------------: |
155-
| :material-asterisk:{ .pink title="Required" } `priority` | The new ticket priority | [See choices](#priority_1) |
155+
| :material-asterisk:{ .pink title="Required" } `priority` | The new ticket priority | [See choices](#priority_1){ data-preview } |
156156

157157
##### Choices
158158

docs/configuration/categories/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Members will not be able to create tickets in this category unless they have the
168168
</small>
169169

170170
When enabled, members will be prompted to enter a topic through a modal form when creating a ticket.
171-
This can be edited later using the [`/topic`](../../features/commands.md#topic) command or the *Edit* button on the opening message.
171+
This can be edited later using the [`/topic`](../../commands.md#topic) command or the *Edit* button on the opening message.
172172

173173
Note that topic and [questions](./questions.md) are mutually exclusive and this option is ignored if questions are present.
174174

docs/configuration/general.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ tags:
1616
When provided, tickets pending closure will be automatically closed after the specified time.
1717
Tickets are pending closure when:
1818

19-
- A close request is sent (with [`/close`](../features/commands.md#close) or the close button), it is not rejected (ignored or not seen), and fewer than 5 messages are sent afterwards.
19+
- A close request is sent (with [`/close`](../commands.md#close) or the close button), it is not rejected (ignored or not seen), and fewer than 5 messages are sent afterwards.
2020
- A ticket is marked as stale after being inactive for longer than the [*Stale after*](#stale-after) time.
2121

22-
When paired with the [*Stale after*](#stale-after) option, tickets will be automatically closed when `lastMessageAt + stalerAfter + autoCloseAfter > now`.
22+
When paired with the [*Stale after*](#stale-after){ data-preview } option, tickets will be automatically closed when `lastMessageAt + stalerAfter + autoCloseAfter > now`.
2323

2424
Must be an [ms](https://github.com/vercel/ms#readme)-parsable format (`18h`, `2 days`, `1w`, etc).
2525
The value should be greater than 5 minutes, but 12 hours is the minimum recommended value.
@@ -102,7 +102,7 @@ The [colour](https://old.discordjs.dev/#/docs/discord.js/main/typedef/ColorResol
102102
When provided, tickets that are inactive for this amount of time will be marked as stale.
103103
This sends a message warning participants to resume the conversation.
104104

105-
This option can be paired with the [*Auto close after*](#auto-close-after) option to automatically close tickets after a period of inactivity.
105+
This option can be paired with the [*Auto close after*](#auto-close-after){ data-preview } option to automatically close tickets after a period of inactivity.
106106

107107
Must be an [ms](https://github.com/vercel/ms#readme)-parsable format (`15m`, `1h`, `1 day`, etc).
108108

docs/configuration/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Each section of the settings panel has a dedicated page in this documentation an
4747

4848
Before you start configuring the bot, you may want to clean up the application command selector for your members.
4949

50-
The bot will usually manage the overwrites on [staff-only commands](../features/commands.md) for you (so these commands are hidden from members),
51-
but [ticket-only commands](../features/commands.md) are not modified by the bot.
50+
The bot will usually manage the overwrites on [staff-only commands](../commands.md) for you (so these commands are hidden from members),
51+
but [ticket-only commands](../commands.md) are not modified by the bot.
5252

5353
This means that
5454

docs/configuration/tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:octicons-alert-16: Required
99
</small>
1010

11-
The name of the tag, visible to users with the [`/tag`](../features/commands.md#tag) command.
11+
The name of the tag, visible to users with the [`/tag`](../commands.md#tag) command.
1212
You can add Unicode glyphs, but not emoji names or custom emoji.
1313

1414
### Auto tag regular expression

docs/features/index.md renamed to docs/features.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tags:
1212
1313
[View comparisons :octicons-link-external-16:](https://blog.discordtickets.app/tag/comparison/){ target=_blank .md-button .md-button--primary
1414
-->
15-
15+
<!--
1616
<div class="admonition question">
1717
<p class="admonition-title text-lg">
1818
Switching from another bot? See how Discord Tickets is different from other popular bots:
@@ -21,7 +21,7 @@ Switching from another bot? See how Discord Tickets is different from other popu
2121
</a>
2222
</p>
2323
</div>
24-
24+
-->
2525
## Concepts
2626

2727
[`Tickets`](#concept:tickets){ #concept:tickets }
@@ -72,16 +72,18 @@ flowchart TB
7272
B -.->|No| C
7373
B1 --> D
7474
C[/"🕑 Target user clicks button"/] -->|Creator interaction| D
75-
B -->|No| D{"Satisfies required roles,\nlimits, etc?"}
75+
B -->|No| D{"Satisfies required roles,<br/>limits, etc?"}
7676
D ==>|Yes|E{Category has questions?}
7777
D-->|No|F(["❌ End with error"])
7878
E-->|Yes|G[/"❓ Questions modal"/]
7979
E-->|No|H{Category requires topic?}
80-
H-->|Yes|I[/"❓ Topic modal\n(skipped if started with DM)"/]
80+
H-->|Yes|I[/"❓ Topic modal<br/>(skipped if started with DM)"/]
8181
H-->|No|J
8282
G & I--> J(["✅ Create ticket"])
8383
```
84-
84+
<br />
85+
<center> This page is still being worked on!
86+
<!--
8587
## Archives
8688
8789
## Questions
@@ -93,3 +95,4 @@ flowchart TB
9395
## Context
9496
9597
## Settings
98+
-->

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Welcome to the Discord Tickets documentation.
1717
Now that you've chosen to use the best ticket bot for Discord, you need to decide how you want to use it.
1818

1919
Please compare the three options, then click on a button at the bottom of the table to jump to the relevant section of the documentation.
20-
If you need help choosing, [ask for help](#useful-links).
20+
If you need help choosing, [ask for help](#useful-links){ data-preview }.
2121

2222
---
2323

docs/img/discord-application-1.png

-85.9 KB
Loading

docs/img/discord-application-2.png

-101 KB
Loading

docs/img/discord-application-3.png

-68.7 KB
Loading

0 commit comments

Comments
 (0)