-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Upgrade VitePress to v2 alpha #8975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| import { defineAdditionalConfig } from 'vitepress' | ||
|
|
||
| export default defineAdditionalConfig({ | ||
| themeConfig: { | ||
| nav: [ | ||
| { text: 'Guide', link: '/v3/0-installation' }, | ||
| { text: 'Discuss', link: 'https://github.com/activeadmin/activeadmin/discussions' }, | ||
| { | ||
|
Comment on lines
+1
to
+8
|
||
| text: 'Demo', | ||
| items: [ | ||
| { text: 'GitHub Repository', link: 'https://github.com/activeadmin/demo.activeadmin.info' }, | ||
| { text: 'Demo App', link: 'https://demo.activeadmin.info/' }, | ||
| ], | ||
| }, | ||
| { | ||
| text: 'v3.x', | ||
| items: [ | ||
| { text: 'v3.x', link: '/v3/0-installation' }, | ||
| { text: 'Changelog', link: 'https://github.com/activeadmin/activeadmin/releases' }, | ||
| { text: 'Contributing', link: 'https://github.com/activeadmin/activeadmin/blob/master/CONTRIBUTING.md' }, | ||
| ], | ||
| }, | ||
| ], | ||
| sidebar: [ | ||
| { | ||
| text: 'Setup', | ||
| items: [ | ||
| { text: 'Installation', link: '/v3/0-installation' }, | ||
| { text: 'Configuration', link: '/v3/1-general-configuration' }, | ||
| ], | ||
| }, | ||
| { | ||
| text: 'Resources', | ||
| items: [ | ||
| { text: 'Working with Resources', link: '/v3/2-resource-customization' }, | ||
| { text: 'Customize the Index page', link: '/v3/3-index-pages' }, | ||
| { text: 'Index as a Table', link: '/v3/3-index-pages/index-as-table' }, | ||
| { text: 'Custom Index View', link: '/v3/3-index-pages/custom-index' }, | ||
| { text: 'CSV Format', link: '/v3/4-csv-format' }, | ||
| { text: 'Forms', link: '/v3/5-forms' }, | ||
| { text: 'Customize the Show Page', link: '/v3/6-show-pages' }, | ||
| { text: 'Sidebar Sections', link: '/v3/7-sidebars' }, | ||
| { text: 'Custom Controller Actions', link: '/v3/8-custom-actions' }, | ||
| { text: 'Batch Actions', link: '/v3/9-batch-actions' }, | ||
| { text: 'Decorators', link: '/v3/11-decorators' }, | ||
| { text: 'Authorization Adapter', link: '/v3/13-authorization-adapter' }, | ||
| ], | ||
| }, | ||
| { | ||
| text: 'Other', | ||
| items: [ | ||
| { text: 'Custom Pages', link: '/v3/10-custom-pages' }, | ||
| { text: 'Arbre Components', link: '/v3/12-arbre-components' }, | ||
| { text: 'Gotchas', link: '/v3/14-gotchas' }, | ||
| ], | ||
| }, | ||
| ], | ||
| editLink: { | ||
| pattern: 'https://github.com/activeadmin/activeadmin/edit/master/docs/:path', | ||
| text: 'Edit this page on GitHub', | ||
| }, | ||
| }, | ||
| }) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
| # https://vitepress.dev/reference/default-theme-home-page | ||
| layout: home | ||
|
|
||
| hero: | ||
| name: ActiveAdmin | ||
| text: An admin engine for Rails applications | ||
| tagline: Abstracts common patterns to implement beautiful and elegant interfaces with ease. | ||
|
|
||
| actions: | ||
| - theme: brand | ||
| text: Getting Started | ||
| link: /v3/0-installation | ||
| - theme: alt | ||
| text: View on GitHub | ||
| link: https://github.com/activeadmin/activeadmin | ||
|
|
||
| features: | ||
| - icon: 🌎 | ||
| title: Global Navigation | ||
| details: Customizable navigation allows you to create usable admin interfaces for your business. | ||
| - icon: 🔒 | ||
| title: User Authentication | ||
| details: Use the bundled Devise configuration or implement your own authorization using the provided hooks. | ||
| - icon: 🎬 | ||
| title: Action Items | ||
| details: Add buttons or links as action items in the page header for a resource. | ||
| link: /v3/8-custom-actions | ||
| linkText: Learn about action items | ||
| - icon: 🔍 | ||
| title: Filters | ||
| details: Allow users to filter resources by searching strings, text fields, dates, and numeric values. | ||
| link: /v3/3-index-pages | ||
| linkText: Learn about filters | ||
| - icon: 🗂️ | ||
| title: Scopes | ||
| details: Use scopes to create sections of mutually exclusive resources for quick navigation and reporting. | ||
| - icon: 📑 | ||
| title: Custom Index Views | ||
| details: The default index screen is a table view, but custom index views are supported. | ||
| - icon: 📋 | ||
| title: Sidebar Sections | ||
| details: Add your own sections to the sidebar using a simple DSL. | ||
| link: /v3/7-sidebars | ||
| linkText: Learn about sidebar sections | ||
| - icon: 💾 | ||
| title: Downloads | ||
| details: Each resource becomes available as CSV, JSON, and XML with customizable output. | ||
| --- |

Uh oh!
There was an error while loading. Please reload this page.