diff --git a/.gitignore b/.gitignore
index 5bca392..7ab99d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
node_modules
.docusaurus/
-build/
\ No newline at end of file
+build/
+.idea
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 715d38a..39603de 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,9 @@
-
+
+
+
@@ -79,7 +81,7 @@
-
+
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 8cfe2be..969dad9 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -1,96 +1,96 @@
import type * as Preset from '@docusaurus/preset-classic';
-import type { Config } from '@docusaurus/types';
-import { catppuccinLatteTheme, catppuccinMochaTheme } from './src/theme/prism-catppuccin';
+import type {Config} from '@docusaurus/types';
+import {catppuccinLatteTheme, catppuccinMochaTheme} from './src/theme/prism-catppuccin';
const config: Config = {
- title: 'TheGuideForYou',
- tagline: 'Prático, didático e multi-linguagem',
- favicon: 'img/favicon.ico',
+ title: 'TheGuideForYou',
+ tagline: 'Prático, didático e multi-linguagem',
+ favicon: 'img/favicon.ico',
- // Set the production url of your site here
- url: 'https://theguideforyou.github.io/',
- // Set the // pathname under which your site is served
- // For GitHub pages deployment, it is often '//'
- baseUrl: '/',
+ // Set the production url of your site here
+ url: 'https://theguideforyou.github.io/',
+ // Set the // pathname under which your site is served
+ // For GitHub pages deployment, it is often '//'
+ baseUrl: '/',
- // GitHub pages deployment config.
- // If you aren't using GitHub pages, you don't need these.
- organizationName: 'theguideforyou', // Usually your GitHub org/user name.
- projectName: 'theguideforyou.github.io', // Usually your repo name.
+ // GitHub pages deployment config.
+ // If you aren't using GitHub pages, you don't need these.
+ organizationName: 'theguideforyou', // Usually your GitHub org/user name.
+ projectName: 'theguideforyou.github.io', // Usually your repo name.
- onBrokenLinks: 'ignore', //throw
- onBrokenMarkdownLinks: 'warn',
- trailingSlash: true,
+ onBrokenLinks: 'ignore', //throw
+ onBrokenMarkdownLinks: 'warn',
+ trailingSlash: true,
- // Even if you don't use internationalization, 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'],
- },
+ // Even if you don't use internationalization, 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'],
+ },
- presets: [
- [
- 'classic',
- {
- docs: {
- sidebarPath: './sidebars/index.ts',
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- editUrl:
- 'https://github.com/theguideforyou/theguideforyou.github.io/tree/main',
- },
- theme: {
- customCss: './src/css/custom.css',
- },
- } satisfies Preset.Options,
+ presets: [
+ [
+ 'classic',
+ {
+ docs: {
+ sidebarPath: './sidebars/index.ts',
+ // Please change this to your repo.
+ // Remove this to remove the "edit this page" links.
+ editUrl:
+ 'https://github.com/theguideforyou/theguideforyou.github.io/tree/main',
+ },
+ theme: {
+ customCss: './src/css/custom.css',
+ },
+ } satisfies Preset.Options,
+ ],
],
- ],
- themeConfig: {
- // Replace with your project's social card
- image: 'img/docusaurus-social-card.jpg',
- navbar: {
- title: 'TheGuideForYou',
- logo: {
- alt: 'My Site Logo',
- src: 'img/readme/TheGuideLogo.png',
- },
- items: [
- {
- type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
- position: 'left',
- label: 'Documentação',
+ themeConfig: {
+ // Replace with your project's social card
+ image: 'img/docusaurus-social-card.jpg',
+ navbar: {
+ title: 'TheGuideForYou',
+ logo: {
+ alt: 'My Site Logo',
+ src: 'img/readme/TheGuideLogo.png',
+ },
+ items: [
+ {
+ type: 'docSidebar',
+ sidebarId: 'tutorialSidebar',
+ position: 'left',
+ label: 'Documentação',
+ },
+ {
+ href: 'https://github.com/theguideforyou',
+ label: 'GitHub',
+ position: 'right',
+ },
+ ],
},
- {
- href: 'https://github.com/theguideforyou',
- label: 'GitHub',
- position: 'right',
- },
- ],
- },
- prism: {
- theme: catppuccinLatteTheme,
- darkTheme: catppuccinMochaTheme,
- additionalLanguages: ['java', 'ini', 'shell-session']
- },
- } satisfies Preset.ThemeConfig,
- plugins: [
- async function myPlugin() {
- return {
- name: "docusaurus-tailwindcss",
- configurePostCss(postcssOptions) {
- // Appends TailwindCSS and AutoPrefixer.
- postcssOptions.plugins.push(require("tailwindcss/nesting"));
- postcssOptions.plugins.push(require("tailwindcss"));
- postcssOptions.plugins.push(require("autoprefixer"));
- return postcssOptions;
+ prism: {
+ theme: catppuccinLatteTheme,
+ darkTheme: catppuccinMochaTheme,
+ additionalLanguages: ['java', 'ini', 'shell-session', 'gradle', 'groovy']
},
- };
- }
- ]
+ } satisfies Preset.ThemeConfig,
+ plugins: [
+ async function myPlugin() {
+ return {
+ name: "docusaurus-tailwindcss",
+ configurePostCss(postcssOptions) {
+ // Appends TailwindCSS and AutoPrefixer.
+ postcssOptions.plugins.push(require("tailwindcss/nesting"));
+ postcssOptions.plugins.push(require("tailwindcss"));
+ postcssOptions.plugins.push(require("autoprefixer"));
+ return postcssOptions;
+ },
+ };
+ }
+ ]
};
export default config;