diff --git a/website/i18n/en.json b/website/i18n/en.json index 68faa1f..cffd2ed 100644 --- a/website/i18n/en.json +++ b/website/i18n/en.json @@ -33,8 +33,8 @@ "sidebar_label": "Our Partners" }, "introduction/plugins": { - "title": "Plugins - Basic", - "sidebar_label": "Plugins - Basic" + "title": "Plugins", + "sidebar_label": "Plugins" }, "introduction/quick-start": { "title": "Quick Start", @@ -52,18 +52,6 @@ "title": "Game socket", "sidebar_label": "Game socket" }, - "plugins/plugins-advanced": { - "title": "Plugins - Advanced", - "sidebar_label": "Plugins - Advanced" - }, - "plugins/redux-plugins": { - "title": "Redux & Plugins", - "sidebar_label": "Redux & Plugins" - }, - "plugins/tips": { - "title": "Tips and tricks", - "sidebar_label": "Tips and tricks" - }, "scripting/scripting-api": { "title": "Scripting API", "sidebar_label": "Scripting API" @@ -79,12 +67,10 @@ }, "links": { "Quick Start": "Quick Start", - "Advanced Plugins": "Advanced Plugins", "Github": "Github" }, "categories": { "Introduction": "Introduction", - "Plugins": "Plugins", "Scripting": "Scripting", "Usage": "Usage", "FAQ": "FAQ", diff --git a/website/sidebars.json b/website/sidebars.json index 572e390..58085c5 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -10,20 +10,25 @@ "introduction/plugins", "introduction/scripts" ], - "Plugins": [ - "plugins/plugins-advanced", - "plugins/redux-plugins", - "plugins/tips" + "Scripting": [ + "scripting/scripting-api" + ], + "Usage": [ + "usage/guide", + "usage/examples" + ], + "FAQ": [ + "faq" ], - "Scripting": ["scripting/scripting-api"], - "Usage": ["usage/guide", "usage/examples"], - "FAQ": ["faq"], "Other": [ { "type": "subcategory", "label": "Protocol", - "ids": ["other/protocol/messages", "other/protocol/socket"] + "ids": [ + "other/protocol/messages", + "other/protocol/socket" + ] } ] } -} +} \ No newline at end of file diff --git a/website/sidebarsHold.json b/website/sidebarsHold.json index 87abff9..171479a 100644 --- a/website/sidebarsHold.json +++ b/website/sidebarsHold.json @@ -1,14 +1,22 @@ { - "Introduction": ["introduction/quick-start"], - "Plugins": ["plugins/plugins-advanced"], - "Scripting": ["scripting/scripting-api"], - "Usage": ["usage/guide", "usage/examples"], + "Introduction": [ + "introduction/quick-start" + ], + "Scripting": [ + "scripting/scripting-api" + ], + "Usage": [ + "usage/guide", + "usage/examples" + ], "FAQ": "faq/faq", "Other": [ { "type": "subcategory", "label": "Protocol", - "ids": ["other/protocol/messages"] + "ids": [ + "other/protocol/messages" + ] } ] -} +} \ No newline at end of file diff --git a/website/siteConfig.js b/website/siteConfig.js index e710462..5ab5264 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -1,108 +1,53 @@ -require('dotenv').config() -/** - * Copyright (c) 2017-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +require("dotenv").config(); -// See https://docusaurus.io/docs/site-config for all the possible -// site configuration options. - -const siteConfig = { - title: "difys docs", // Title for your website. +module.exports = { + title: "difys docs", tagline: "Touch botting framework", - url: "https://difysjs.github.io", // Your website URL + url: "https://difysjs.github.io", baseUrl: "/", - docsUrl: '', // Base URL for your project */ - // For github.io type URLs, you would set the url and baseUrl like: - // url: 'https://facebook.github.io', - // baseUrl: '/test-site/', - - // Used for publishing and more + docsUrl: "", projectName: "difysjs", organizationName: "difysjs", - // For top-level user or org sites, the organization is still the same. - // e.g., for the https://JoelMarcey.github.io site, it would be set like... - // organizationName: 'JoelMarcey' - - // For no header links in the top nav bar -> headerLinks: [], headerLinks: [ - { doc: 'introduction/quick-start', label: 'Quick Start' }, - { doc: 'plugins/plugins-advanced', label: 'Advanced Plugins' }, + { doc: "introduction/quick-start", label: "Quick Start" }, { - href: 'https://www.github.com/difysjs/difys', - label: 'Github' + href: "https://www.github.com/difysjs/difys", + label: "Github" } ], - - // If you have users set above, you add it here: - //users, - - /* path to images for header/footer */ headerIcon: "img/difys.svg", footerIcon: "img/difys.svg", favicon: "img/favicon.ico", - - /* Colors for website */ colors: { primaryColor: "#151515", secondaryColor: "#ffb800" }, docsSideNavCollapsible: true, - /* Custom fonts for website */ /* - fonts: { - myFont: [ - "Times New Roman", - "Serif" - ], - myOtherFont: [ - "-apple-system", - "system-ui" - ] - }, - */ - - // This copyright info is used in /core/Footer.js and blog RSS/Atom feeds. + fonts: { + myFont: [ + "Times New Roman", + "Serif" + ], + myOtherFont: [ + "-apple-system", + "system-ui" + ] + }, + */ copyright: `Copyright © ${new Date().getFullYear()} Difys team`, - highlight: { - // Highlight.js theme to use for syntax highlighting in code blocks. - theme: 'monokai' + theme: "monokai" }, - - // Add custom scripts here that would be placed in -