Skip to content

Commit 8416d7b

Browse files
committed
Add playground link to docs
1 parent 1c50a3f commit 8416d7b

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

docs/vocs.config.tsx

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
import { defineConfig } from 'vocs';
1+
import { defineConfig } from "vocs";
22

33
export default defineConfig({
4-
title: 'Planck.js',
5-
rootDir: '.',
4+
title: "Planck.js",
5+
rootDir: ".",
66
basePath: "/planck.js/docs/",
77
baseUrl: "/planck.js/docs/",
88
topNav: [
9-
{ text: 'API Reference', link: '/api/'},
10-
{ text: 'GitHub', link: 'https://github.com/piqnt/planck.js/'},
11-
{ text: 'Discord', link: 'https://discord.gg/znjh6J7'},
9+
{ text: "API Reference", link: "/api/"},
10+
{ text: "Playground", link: "https://piqnt.com/"},
11+
{ text: "GitHub", link: "https://github.com/piqnt/planck.js/"},
12+
{ text: "Discord", link: "https://discord.gg/znjh6J7"},
1213
],
1314
sidebar: [
1415
{ link: "/", text: "Introduction" },
1516
{
16-
text: 'Get Started',
17+
text: "Get Started",
1718
collapsed: true,
1819
items: [
1920
{ link: "/run-your-code", text: "Run Your Code" },
@@ -24,7 +25,7 @@ export default defineConfig({
2425
},
2526

2627
{
27-
text: 'API Conventions',
28+
text: "API Conventions",
2829
collapsed: true,
2930
items: [
3031
{ link: "/api-conventions/units", text: "Units" },
@@ -39,7 +40,7 @@ export default defineConfig({
3940
{ link: "/fixture", text: "Fixture" },
4041

4142
{
42-
text: 'Shape',
43+
text: "Shape",
4344
collapsed: true,
4445
link: "/shape",
4546
items: [
@@ -52,7 +53,7 @@ export default defineConfig({
5253
},
5354

5455
{
55-
text: 'Joint',
56+
text: "Joint",
5657
collapsed: true,
5758
link: "/joint",
5859
items: [

0 commit comments

Comments
 (0)