CoolFace
Apppublic

Mythus/Staging

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
docusaurus.config.js134 linesDownload Raw Back to docs
1// @ts-check2// Note: type annotations allow type checking and IDEs autocompletion3 4const lightCodeTheme = require('prism-react-renderer/themes/github');5const darkCodeTheme = require('prism-react-renderer/themes/dracula');6 7/** @type {import('@docusaurus/types').Config} */8const config = {9  title: 'TeleDrive',10  tagline: 'Your free unlimited cloud storage service using the Telegram API.',11  url: 'https://teledriveapp.com',12  baseUrl: '/',13  onBrokenLinks: 'ignore',14  onBrokenMarkdownLinks: 'warn',15  favicon: 'https://res.cloudinary.com/mgilangjanuar/image/upload/v1648461015/teledrive/favicon_zuhgjb.png',16  organizationName: 'mgilangjanuar', // Usually your GitHub org/user name.17  projectName: 'teledrive', // Usually your repo name.18  // deploymentBranch: 'staging',19 20  presets: [21    [22      'classic',23      /** @type {import('@docusaurus/preset-classic').Options} */24      ({25        docs: {26          sidebarPath: require.resolve('./sidebars.js'),27          // Please change this to your repo.28          editUrl: 'https://github.com/mgilangjanuar/teledrive/edit/staging/docs/'29        },30        blog: {31          showReadingTime: true,32          // Please change this to your repo.33          editUrl:34            'https://github.com/mgilangjanuar/teledrive/edit/staging/blog/'35        },36        theme: {37          customCss: require.resolve('./src/css/custom.css'),38        },39      }),40    ],41  ],42 43  themeConfig:44    /** @type {import('@docusaurus/preset-classic').ThemeConfig} */45    ({46      navbar: {47        title: '',48        logo: {49          alt: 'Logo',50          src: 'https://res.cloudinary.com/mgilangjanuar/image/upload/v1648461000/teledrive/logoteledrive-white_u8hevi.png',51        },52        items: [53          {54            type: 'doc',55            docId: 'intro',56            position: 'left',57            label: 'Getting Started',58          },59          {to: '/blog', label: 'Blog', position: 'left'},60          {61            href: 'https://github.com/mgilangjanuar/teledrive',62            label: 'GitHub',63            position: 'right',64            65          },66          {67            href: 'https://opencollective.com/teledrive/contribute',68            label: 'Donate',69            position: 'right',70          },71        ],72      },73      footer: {74        style: 'dark',75        links: [76          {77            title: 'Docs',78            items: [79              {80                label: 'Tutorial',81                to: '/docs/intro',82              },83              {84                label: 'FAQ',85                to: '/docs/faq',86              },87            ],88          },89          {90            title: 'Community',91            items: [92              {93                label: 'Twitter',94                href: 'https://twitter.com/teledriveapp',95              },96              {97                label: 'Discord',98                href: 'https://discord.gg/8v26KavKa4'99              },100              {101                label: 'Youtube',102                href: 'https://www.youtube.com/channel/UCg9WsNAHdOpo8SyM8JHGuZQ',103              }104            ],105          },106          {107            title: 'More',108            items: [109              {110                label: 'GitHub',111                href: 'https://github.com/mgilangjanuar/teledrive',112              },113              {114                label: 'Donate',115                href: 'https://opencollective.com/teledrive/contribute',116              },117            ],118          },119        ],120        copyright: `Copyright © ${new Date().getFullYear()} TeleDrive, Inc. Built with Docusaurus.`,121      },122      prism: {123        theme: lightCodeTheme,124        darkTheme: darkCodeTheme,125      },126      colorMode: {127        defaultMode: 'dark',128        disableSwitch: true,129        respectPrefersColorScheme: false,130      },131    }),132};133 134module.exports = config;