Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
docusaurus.config.js 4.96 KiB
Newer Older
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
Hugues's avatar
Hugues committed

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
  title: "Simplifiez-vous le code !",
Hugues's avatar
Hugues committed
  tagline: "Froggit aide à booster la coopération des Dev, Ops et autres Techs des entreprises autour du code source, sans gérer une infrastructure complexe !",
  url: process.env.DOCUSAURUS_URL || "https://froggit.fr",
  baseUrl: process.env.DOCUSAURUS_BASEURL || "/",
  onBrokenLinks: "throw",
  onBrokenMarkdownLinks: "warn",
Hugues's avatar
Hugues committed
  favicon: "img/favicon/favicon.ico",
  organizationName: "froggit/www", // Usually your GitHub org/user name.
  projectName: "froggit.fr", // Usually your repo name.
Hugues's avatar
Hugues committed
  themeConfig: {
    navbar: {
Hugues's avatar
Hugues committed
      logo: {
        alt: "Froggit Logo",
        src: "img/logo_typo_froggit.png",
      items: [      
        {label: "✨ Fonctionnalités", position: "left", to: "/#features"},
        {label: "❓ FAQ", position: "left", to: "/faq"},
        {label: "💰 Tarifs", position: "left", to: "/tarifs"},
        {label: "📔 Doc", position: "left", type: "doc", docId: "intro", },
          label: "🎁 Antisèche git",
          position: "left",
          href: "https://lydra.systeme.io/froggit-inscription",
        },
        {
          label: "👤 Connexion",
          position: "right",
          href: "https://lab.frogg.it/users/sign_in",
Christophe Chaudier's avatar
Christophe Chaudier committed
        {label: "🚀 S'enregistrer", position: "right", to: "/tarifs"},
Hugues's avatar
Hugues committed
      ],
    },
    footer: {
      style: "dark",
Hugues's avatar
Hugues committed
      links: [
        {
Hugues's avatar
Hugues committed
          items: [
            {
              label: "▶️ Youtube",
              href: "https://www.youtube.com/channel/UCauIDghddUNu6Fto1nR9Bmg/?sub_confirmation=1",
            },
            {
              label: "👔 Linkedin",
              label: "🐸 Froggit",
              label: "🦊 GitLab",
              label: "🐦 Twitter",
Hugues's avatar
Hugues committed
          items: [
            {
              label: "🔐 Ton code source est-il en sécurité?",
              href: "https://lydra.fr/es-2-ton-code-source-est-il-vraiment-en-securite/",
              label: "⚖️ La souveraineté numérique",
              href: "https://lydra.fr/category/souverainete-numerique/",
            {
              label: "❓ git kesako",
              href: "https://github.com/git-guides/",
            },
          title: "Support",
              label: "🛎️ Contact",
              to: "/contacts",
              label: "✔️ Status",
              href: "https://status.froggit.fr",
Hugues's avatar
Hugues committed
          items: [
            {
              label: "🏢 À propos",
              href: "https://lydra.fr",
              label: "💼 Équipe",
              href: "https://lydra.fr/#team",
              label: "⚖️ Mentions légales",
              to: "/mentions_legales",
              label: "📜 CGV",
              to: "/CGV",
              label: "📃 CGU",
              to: "/CGU",
              label: "🔍 Politique de confidentialité",
              to: "/confidentialite",
              label: "👥 Sous-traitants",
              to: "/sous-traitants",
      copyright: `Lydra © ${new Date().getFullYear()}` +"<br/>"+ `Froggit est fièrement fabriqué avec ❤️ par <a href="http://lydra.fr/">Lydra</a> avec des Logiciels Libres et hébergé en 🇫🇷 chez <a href="https://www.scaleway.fr/">Scaleway</a>`,
Hugues's avatar
Hugues committed
    },
    prism: {
      theme: lightCodeTheme,
      darkTheme: darkCodeTheme,
    },
  },
  presets: [
    [
      "@docusaurus/preset-classic",
Hugues's avatar
Hugues committed
      {
        docs: {
          sidebarPath: require.resolve("./sidebars.js"),
Hugues's avatar
Hugues committed
          // Please change this to your repo.
          editUrl:
            "https://lab.frogg.it/froggit/www/froggit.fr/-/tree/master",
Hugues's avatar
Hugues committed
        },
        blog: {
          showReadingTime: true,
          // Please change this to your repo.
          editUrl:
            "https://lab.frogg.it/froggit/www/froggit.fr/-/tree/master/blog/",
Hugues's avatar
Hugues committed
        },
        theme: {
          customCss: require.resolve("./src/css/custom.css"),