-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
1,022 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,61 @@ | ||
import { defineConfig } from "vitepress"; | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "Phlex", | ||
description: "Ruby views", | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: [ | ||
{ text: "Home", link: "/" }, | ||
{ text: "Guide", link: "/guide/rails" }, | ||
{ text: "Community", link: "/community" }, | ||
{ text: "Guide", link: "/guide" }, | ||
], | ||
|
||
sidebar: [ | ||
{ | ||
text: "Guide", | ||
items: [{ text: "Rails", link: "/guide/rails" }], | ||
text: "Intro", | ||
link: "guide", | ||
}, | ||
{ | ||
text: "Rails", | ||
items: [ | ||
{ text: "Installation", link: "guide/rails/installation" }, | ||
{ text: "Views", link: "guide/rails/views" }, | ||
{ text: "Components" }, | ||
{ text: "Layouts" }, | ||
{ text: "Helpers" }, | ||
{ text: "Generators" }, | ||
{ text: "Migrating to Phlex" }, | ||
], | ||
}, | ||
{ | ||
text: "HTML", | ||
items: [ | ||
{ text: "Introduction" }, | ||
{ text: "Elements" }, | ||
{ text: "Attributes" }, | ||
{ text: "Comments" }, | ||
{ text: "Helpers" }, | ||
{ text: "Whitespace" }, | ||
], | ||
}, | ||
{ | ||
text: "SVG", | ||
items: [ | ||
{ text: "Introduction" }, | ||
{ text: "Elements" }, | ||
{ text: "Attributes" }, | ||
], | ||
}, | ||
{ | ||
text: "CSV", | ||
items: [{ text: "Introduction" }, { text: "CSV Injection" }], | ||
}, | ||
], | ||
|
||
socialLinks: [{ icon: "github", link: "https://github.com/phlex-ruby" }], | ||
socialLinks: [ | ||
{ icon: "github", link: "https://github.com/phlex-ruby" }, | ||
{ icon: "discord", link: "https://discord.gg/p7C9SWS8Sa" }, | ||
], | ||
footer: { | ||
message: "Released under the MIT License.", | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Community | ||
|
||
## GitHub Repositories | ||
|
||
- [Phlex](https://github.com/phlex-ruby/phlex) - The main repository for Phlex | ||
- [Phlex Rails](https://github.com/phlex-ruby/phlex-rails) - The Rails engine for Phlex |
Oops, something went wrong.