Sha256: d8eb3ebbd63484e126d497aef186e98e0aa0444a219cdc8d02e163f17c1776f9

Contents?: true

Size: 1.97 KB

Versions: 1

Compression:

Stored size: 1.97 KB

Contents

import { defineConfig } from 'vitepress';

export default defineConfig({
  title: 'AuthRails',
  description: 'Simple authentication for Rails',
  srcDir: './src',
  base: '/auth_rails/',
  themeConfig: {
    nav: [
      {
        text: 'Guide',
        link: '/introduction/what-is-it',
      },
    ],
    sidebar: [
      {
        text: 'Introduction',
        items: [
          {
            text: 'What is AuthRails?',
            link: '/introduction/what-is-it',
          },
          {
            text: 'Getting Started',
            link: '/introduction/getting-started',
          },
        ],
      },
      {
        text: 'CLI',
        items: [
          {
            text: 'Configuration',
            link: '/cli/configuration',
          },
          {
            text: 'Migration',
            link: '/cli/migration',
          },
        ],
      },
      {
        text: 'Customization',
        items: [
          {
            text: 'Custom Strategy',
            link: '/customization/custom-strategy',
          },
          {
            text: 'Custom Response Data',
            link: '/customization/custom-response',
          },
          {
            text: 'Custom Password Validation',
            link: '/customization/custom-password-validation',
          },
          {
            text: 'Custom Identifier Column',
            link: '/customization/custom-identifier',
          },
          {
            text: 'Complex Retrieve Resource',
            link: '/customization/complex-retrieve-resource',
          },
        ],
      },
      {
        text: 'API Reference',
        link: '/api-reference',
      },
    ],
    outline: {
      level: [2, 3],
      label: 'On this page',
    },
    lastUpdated: {
      text: 'Last updated',
      formatOptions: {
        dateStyle: 'full',
        timeStyle: 'medium',
      },
    },
    socialLinks: [
      {
        icon: 'github',
        link: 'https://github.com/zgid123/auth_rails',
      },
    ],
  },
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auth_rails-1.1.1 docs/.vitepress/config.mts