Skip to content

Commit e8e4c85

Browse files
committed
updates
1 parent 93064ea commit e8e4c85

File tree

12 files changed

+187
-42
lines changed

12 files changed

+187
-42
lines changed

docs/playercounter/_category_.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "PlayerCounter",
3+
"position": 2,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "5 minutes to learn the most important Docusaurus concepts."
7+
}
8+
}

docs/playercounter/activation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Activate Bot

docs/tutorial-basics/_category_.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"label": "Tutorial - Basics",
3-
"position": 2,
4-
"link": {
5-
"type": "generated-index",
6-
"description": "5 minutes to learn the most important Docusaurus concepts."
7-
}
2+
"label": "Tutorial - Basics",
3+
"position": 3,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "5 minutes to learn the most important Docusaurus concepts."
7+
}
88
}

docs/tutorial-extras/_category_.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"label": "Tutorial - Extras",
3-
"position": 3,
4-
"link": {
5-
"type": "generated-index"
6-
}
2+
"label": "Tutorial - Extras",
3+
"position": 4,
4+
"link": {
5+
"type": "generated-index"
6+
}
77
}

docusaurus.config.js

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
66

77
/** @type {import('@docusaurus/types').Config} */
88
const config = {
9-
title: 'My Site',
10-
tagline: 'Dinosaurs are cool',
9+
title: 'Defaults Bot Development',
10+
tagline: 'Get all the information you need to get started with your dream bot!',
1111
favicon: 'img/favicon.ico',
1212

1313
// Set the production url of your site here
14-
url: 'https://your-docusaurus-test-site.com',
14+
url: 'https://defaultsbotdev.com',
1515
// Set the /<baseUrl>/ pathname under which your site is served
1616
// For GitHub pages deployment, it is often '/<projectName>/'
1717
baseUrl: '/',
1818

1919
// GitHub pages deployment config.
2020
// If you aren't using GitHub pages, you don't need these.
21-
organizationName: 'facebook', // Usually your GitHub org/user name.
22-
projectName: 'docusaurus', // Usually your repo name.
21+
organizationName: 'defaultsbotdevelopment', // Usually your GitHub org/user name.
22+
projectName: 'dbd-docs', // Usually your repo name.
2323

2424
onBrokenLinks: 'throw',
2525
onBrokenMarkdownLinks: 'warn',
@@ -41,13 +41,13 @@ const config = {
4141
sidebarPath: require.resolve('./sidebars.js'),
4242
// Please change this to your repo.
4343
// Remove this to remove the "edit this page" links.
44-
editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
44+
editUrl: 'https://github.com/Default-01/DBD-Documentations/tree/main/docs',
4545
},
4646
blog: {
4747
showReadingTime: true,
4848
// Please change this to your repo.
4949
// Remove this to remove the "edit this page" links.
50-
editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
50+
editUrl: 'https://github.com/Default-01/DBD-Documentations/tree/main',
5151
},
5252
theme: {
5353
customCss: require.resolve('./src/css/custom.css'),
@@ -62,9 +62,9 @@ const config = {
6262
// Replace with your project's social card
6363
image: 'img/docusaurus-social-card.jpg',
6464
navbar: {
65-
title: 'My Site',
65+
title: 'DBD Docs',
6666
logo: {
67-
alt: 'My Site Logo',
67+
alt: 'DBD Logo',
6868
src: 'img/logo.svg',
6969
},
7070
items: [
@@ -75,6 +75,16 @@ const config = {
7575
label: 'Tutorial',
7676
},
7777
{ to: '/blog', label: 'Blog', position: 'left' },
78+
{
79+
href: 'https://discord.gg/5xEwm8e6Vy',
80+
label: 'Discord',
81+
position: 'right',
82+
},
83+
{
84+
href: 'https://defaultsbotdev.com',
85+
label: 'Dashboard',
86+
position: 'right',
87+
},
7888
{
7989
href: 'https://github.com/facebook/docusaurus',
8090
label: 'GitHub',

sidebars.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
1515
const sidebars = {
16-
// By default, Docusaurus generates a sidebar from the docs folder structure
17-
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
16+
// By default, Docusaurus generates a sidebar from the docs folder structure
17+
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],
1818

19-
// But you can create a sidebar manually
20-
/*
19+
// But you can create a sidebar manually
20+
/*
2121
tutorialSidebar: [
2222
'intro',
2323
'hello',

src/css/custom.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66

77
/* You can override the default Infima variables here. */
88
:root {
9-
--ifm-color-primary: #2e8555;
10-
--ifm-color-primary-dark: #29784c;
11-
--ifm-color-primary-darker: #277148;
12-
--ifm-color-primary-darkest: #205d3b;
13-
--ifm-color-primary-light: #33925d;
14-
--ifm-color-primary-lighter: #359962;
15-
--ifm-color-primary-lightest: #3cad6e;
16-
--ifm-code-font-size: 95%;
17-
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
9+
--ifm-color-primary: #aba812;
10+
--ifm-color-primary-dark: #9a9710;
11+
--ifm-color-primary-darker: #918f0f;
12+
--ifm-color-primary-darkest: #78760d;
13+
--ifm-color-primary-light: #bcb914;
14+
--ifm-color-primary-lighter: #c5c115;
15+
--ifm-color-primary-lightest: #deda17;
16+
--ifm-code-font-size: 95%;
17+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1818
}
1919

2020
/* For readability concerns, you should choose a lighter palette in dark mode. */
2121
[data-theme='dark'] {
22-
--ifm-color-primary: #25c2a0;
23-
--ifm-color-primary-dark: #21af90;
24-
--ifm-color-primary-darker: #1fa588;
25-
--ifm-color-primary-darkest: #1a8870;
26-
--ifm-color-primary-light: #29d5b0;
27-
--ifm-color-primary-lighter: #32d8b4;
28-
--ifm-color-primary-lightest: #4fddbf;
29-
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
22+
--ifm-color-primary: #b9b616;
23+
--ifm-color-primary-dark: #a7a517;
24+
--ifm-color-primary-darker: #949213;
25+
--ifm-color-primary-darkest: #7e7c10;
26+
--ifm-color-primary-light: #c9c619;
27+
--ifm-color-primary-lighter: #e1de1a;
28+
--ifm-color-primary-lightest: #f3ef0c;
29+
--docusaurus-highlighted-code-line-bg: rgba(255, 255, 255, 0.05);
3030
}

static/img/favicon.ico

13.7 KB
Binary file not shown.

static/img/logo.svg

Lines changed: 63 additions & 1 deletion
Loading

tutorials/intro.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Tutorial Intro
6+
7+
Let's discover **Docusaurus in less than 5 minutes**.
8+
9+
## Getting Started
10+
11+
Get started by **creating a new site**.
12+
13+
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14+
15+
### What you'll need
16+
17+
- [Node.js](https://nodejs.org/en/download/) version 16.14 or above:
18+
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
19+
20+
## Generate a new site
21+
22+
Generate a new Docusaurus site using the **classic template**.
23+
24+
The classic template will automatically be added to your project after you run the command:
25+
26+
```bash
27+
npm init docusaurus@latest my-website classic
28+
```
29+
30+
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
31+
32+
The command also installs all necessary dependencies you need to run Docusaurus.
33+
34+
## Start your site
35+
36+
Run the development server:
37+
38+
```bash
39+
cd my-website
40+
npm run start
41+
```
42+
43+
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
44+
45+
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
46+
47+
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "PlayerCounter",
3+
"position": 2,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "5 minutes to learn the most important Docusaurus concepts."
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Activate Bot

0 commit comments

Comments
 (0)