diff --git a/docusaurus.config.js b/docusaurus.config.js index 0d17cd09..6d49c5b4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,57 +1,57 @@ // @ts-check // Note: type annotations allow type checking and IDEs autocompletion -const lightCodeTheme = require('prism-react-renderer/themes/github'); -const darkCodeTheme = require('prism-react-renderer/themes/dracula'); +const lightCodeTheme = require("prism-react-renderer/themes/github"); +const darkCodeTheme = require("prism-react-renderer/themes/dracula"); /** @type {import('@docusaurus/types').Config} */ const config = { - title: 'Expresso TS', - tagline: 'A lightweight, fast and easy to use TypeScript framework', - favicon: 'img/favicon.ico', + title: "Expresso TS", + tagline: "A lightweight, fast and easy to use TypeScript framework", + favicon: "img/favicon.ico", // Set the production url of your site here - url: 'https://doc.expresso-ts.com', //'https://expressots.github.io/', + url: "https://doc.expresso-ts.com", //'https://expressots.github.io/', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/', + baseUrl: "/", // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. - organizationName: 'expressots', // Usually your GitHub org/user name. - projectName: 'expresso-site-doc', // Usually your repo name. + organizationName: "expressots", // Usually your GitHub org/user name. + projectName: "expresso-site-doc", // Usually your repo name. deploymentBranch: "gh-pages", trailingSlash: false, - onBrokenLinks: 'warn', // 'throw' | 'warn' | 'ignore' - onBrokenMarkdownLinks: 'warn', + onBrokenLinks: "warn", // 'throw' | 'warn' | 'ignore' + onBrokenMarkdownLinks: "warn", // Even if you don't use internalization, you can use this field to set useful // metadata like html lang. For example, if your site is Chinese, you may want // to replace "en" with "zh-Hans". i18n: { - defaultLocale: 'en', - locales: ['en', 'pt'], + defaultLocale: "en", + locales: ["en", "pt"], localeConfigs: { en: { - label: 'English', + label: "English", }, pt: { - label: 'Português', + label: "Português", }, }, }, presets: [ [ - 'classic', + "classic", /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { - sidebarPath: require.resolve('./sidebars.js'), + sidebarPath: require.resolve("./sidebars.js"), }, theme: { - customCss: require.resolve('./src/css/custom.css'), + customCss: require.resolve("./src/css/custom.css"), }, }), ], @@ -61,12 +61,15 @@ const config = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ // Replace with your project's social card - image: 'img/expressots-discord-banner-darkbg.png', - metadata: [{ - name: 'keywords', content: "expressots, framework, nodejs, typescript, javascript" - }], + image: "img/expressots-discord-banner-darkbg.png", + metadata: [ + { + name: "keywords", + content: "expressots, framework, nodejs, typescript, javascript", + }, + ], colorMode: { - defaultMode: 'light', + defaultMode: "light", disableSwitch: false, respectPrefersColorScheme: false, }, @@ -79,92 +82,91 @@ const config = { appId: "3UANWN5EUQ", }, navbar: { - title: 'Expresso TS', + title: "Expresso TS", hideOnScroll: true, logo: { - alt: 'Expresso TS', - src: 'img/logo.png' + alt: "Expresso TS", + src: "img/logo.png", }, items: [ { - type: 'doc', - docId: 'hello', - position: 'right', - label: 'Documentation', + type: "doc", + docId: "hello", + position: "right", + label: "Documentation", }, { - type: 'doc', - docId: 'governance', - position: 'right', - label: 'Governance', + type: "doc", + docId: "governance", + position: "right", + label: "Governance", }, { - href: 'https://github.com/expressots/expressots', - label: 'GitHub', - position: 'right', - 'aria-label': 'GitHub repository', + href: "https://github.com/expressots/expressots", + label: "GitHub", + position: "right", + "aria-label": "GitHub repository", }, { - type: 'localeDropdown', - label: 'Language', - position: 'right', + type: "localeDropdown", + label: "Language", + position: "right", }, ], }, announcementBar: { - id: 'supportus', - content: - 'Current Version: v1.7.0', - backgroundColor: '#111', - textColor: '#19CE59', + id: "supportus", + content: "Current Version: v1.7.0", + backgroundColor: "#111", + textColor: "#19CE59", isCloseable: false, }, stylesheets: [ { - href: '/css/custom.css', - type: 'text/css', + href: "/css/custom.css", + type: "text/css", }, ], footer: { - style: 'light', + style: "light", links: [ { - title: 'Docs', + title: "Docs", items: [ { - label: 'Tutorial', - to: '/docs/tutorials/overview', + label: "Tutorial", + to: "docs/category/tutorials", }, ], }, { - title: 'Community', + title: "Community", items: [ { - label: 'Twitch TV', - href: 'https://www.twitch.tv/richardzampieri', + label: "Twitch TV", + href: "https://www.twitch.tv/richardzampieri", }, ], }, { - title: 'Code', + title: "Code", items: [ { - label: 'NPM Core', - href: 'https://www.npmjs.com/package/@expressots/core', + label: "NPM Core", + href: "https://www.npmjs.com/package/@expressots/core", }, { - label: 'NPM CLI', - href: 'https://www.npmjs.com/package/@expressots/cli', + label: "NPM CLI", + href: "https://www.npmjs.com/package/@expressots/cli", }, { - label: 'GitHub', - href: 'https://github.com/expressots', + label: "GitHub", + href: "https://github.com/expressots", }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} Official ExpressoTS, Released under the MIT License.`, + copyright: `Copyright © ${new Date().getFullYear()} Official ExpressoTS, Released under the MIT License.`, }, prism: { theme: lightCodeTheme, diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/overview/img/inMemoryDB.png b/i18n/pt/docusaurus-plugin-content-docs/current/overview/img/inMemoryDB.png new file mode 100644 index 00000000..d5800028 Binary files /dev/null and b/i18n/pt/docusaurus-plugin-content-docs/current/overview/img/inMemoryDB.png differ