Skip to content

Commit

Permalink
Copy over some old content
Browse files Browse the repository at this point in the history
Needs a lot of work
  • Loading branch information
joeldrapper committed Sep 2, 2024
1 parent 46cab59 commit 35596fb
Show file tree
Hide file tree
Showing 7 changed files with 1,022 additions and 23 deletions.
54 changes: 46 additions & 8 deletions .vitepress/config.mts
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.",
},
},
});
6 changes: 6 additions & 0 deletions community.md
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
Loading

0 comments on commit 35596fb

Please sign in to comment.