Skip to content

Commit b0cd2b4

Browse files
committed
Sketch out new content
1 parent f2c9bcb commit b0cd2b4

File tree

7 files changed

+30
-2
lines changed

7 files changed

+30
-2
lines changed

.vitepress/config.mts

+19-2
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,21 @@ export default defineConfig({
3535
},
3636
{ text: "Tags", link: "/handbook/tags" },
3737
{ text: "Layouts", link: "/handbook/layouts" },
38+
{ text: "Helpers", link: "/handbook/helpers" },
39+
{ text: "Testing", link: "/handbook/testing" },
3840
],
3941
},
4042

4143
{
4244
text: "Guides",
43-
collapsed: false,
45+
collapsed: true,
4446
items: [{ text: "Upgrading to v2", link: "/guides/v2-upgrade" }],
4547
},
4648

4749
{
4850
text: "Reference",
4951
link: "/reference/",
50-
collapsed: false,
52+
collapsed: true,
5153
items: [
5254
{ text: "SGML", link: "/reference/sgml" },
5355
{ text: "HTML", link: "/reference/html" },
@@ -65,6 +67,18 @@ export default defineConfig({
6567
],
6668
},
6769

70+
{
71+
text: "Compared to…",
72+
collapsed: true,
73+
items: [
74+
{ text: "ViewComponent", link: "/compare/view-component" },
75+
{ text: "ActionView & ERB", link: "/compare/action-view" },
76+
{ text: "React", link: "/compare/react" },
77+
{ text: "Slim", link: "/compare/slim" },
78+
{ text: "Haml", link: "/compare/haml" },
79+
],
80+
},
81+
6882
{
6983
text: "Technical Design",
7084
collapsed: true,
@@ -88,8 +102,11 @@ export default defineConfig({
88102
{ icon: "github", link: "https://github.com/phlex-ruby" },
89103
{ icon: "discord", link: "https://discord.gg/p7C9SWS8Sa" },
90104
],
105+
91106
footer: {
92107
message: "Released under the MIT License.",
108+
copyright:
109+
'Made by <a href="https://github.com/joeldrapper">Joel Drapper</a>, <a href="https://github.com/willcosgrove">Will Cosgrove</a> and dozens of other <a href="https://github.com/phlex-ruby/phlex/graphs/contributors">contributors</a>.',
93110
},
94111
},
95112
});

compare/action-view.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Phlex vs ActionView & ERB

compare/haml.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Phlex vs Haml

compare/react.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Phlex vs React

compare/slim.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Phlex vs Slim

compare/view-component.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Phlex vs ViewComponent

handbook/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
3+
prev: false
4+
5+
---
6+
17
# Intro
28

39
Phlex is a Ruby gem for building fast object-oriented views. Phlex actually supports **HTML**, **SVG** and **CSV** views, but we'll focus on HTML views to begin with.

0 commit comments

Comments
 (0)