Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

The [Docusaurus](https://docusaurus.io/) site behind [tsvrc.com](https://tsvrc.com), with the docs
for every TsVRC project. The code of each project lives in its own repository, such as
[tsvrc/tsvrc-core](https://github.com/tsvrc/tsvrc-core) for Core and
[tsvrc/udon-test-kit](https://github.com/tsvrc/udon-test-kit) for Udon Test Kit.
[tsvrc/udon-test-kit](https://github.com/tsvrc/udon-test-kit) for Udon Test Kit and
[tsvrc/tsvrc-core](https://github.com/tsvrc/tsvrc-core) for Core.

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const config: Config = {
links: [
{
label: 'Docs',
to: '/docs/core/intro',
to: '/docs/udon-test-kit/intro',
},
{
label: 'GitHub',
Expand Down
2 changes: 1 addition & 1 deletion i18n/es/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"link.item.label.Docs": {
"message": "Documentación",
"description": "The label of footer link with label=Docs linking to /docs/core/intro"
"description": "The label of footer link with label=Docs linking to /docs/udon-test-kit/intro"
},
"link.item.label.GitHub": {
"message": "GitHub",
Expand Down
66 changes: 33 additions & 33 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
/**
* Each project under docs/<project>/ gets one top-level category here, built from
* autogenerated subtrees so individual pages never need a sidebar entry of their own.
* Adding another project means adding its own top-level category the same way core's
* and udon-test-kit's are built below, not relying on blanket autogeneration (see
* Adding another project means adding its own top-level category the same way
* udon-test-kit's and core's are built below, not relying on blanket autogeneration (see
* AGENTS.md's Gotchas section for why).
*
* Each labeled category below wraps a single-folder `autogenerated` subtree: pointing
Expand All @@ -16,6 +16,37 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
*/
const sidebars: SidebarsConfig = {
tutorialSidebar: [
{
type: 'category',
label: 'Udon Test Kit',
link: {type: 'doc', id: 'udon-test-kit/intro'},
items: [
{
type: 'category',
label: 'Getting started',
key: 'udon-test-kit-getting-started',
items: ['udon-test-kit/add-to-your-project', 'udon-test-kit/first-test'],
},
{
type: 'category',
label: 'How-to guides',
key: 'udon-test-kit-how-to',
items: [{type: 'autogenerated', dirName: 'udon-test-kit/how-to'}],
},
{
type: 'category',
label: 'Reference',
key: 'udon-test-kit-reference',
items: [{type: 'autogenerated', dirName: 'udon-test-kit/reference'}],
},
{
type: 'category',
label: 'Explanations',
key: 'udon-test-kit-explanations',
items: [{type: 'autogenerated', dirName: 'udon-test-kit/explanations'}],
},
],
},
{
type: 'category',
label: 'Core',
Expand Down Expand Up @@ -121,37 +152,6 @@ const sidebars: SidebarsConfig = {
},
],
},
{
type: 'category',
label: 'Udon Test Kit',
link: {type: 'doc', id: 'udon-test-kit/intro'},
items: [
{
type: 'category',
label: 'Getting started',
key: 'udon-test-kit-getting-started',
items: ['udon-test-kit/add-to-your-project', 'udon-test-kit/first-test'],
},
{
type: 'category',
label: 'How-to guides',
key: 'udon-test-kit-how-to',
items: [{type: 'autogenerated', dirName: 'udon-test-kit/how-to'}],
},
{
type: 'category',
label: 'Reference',
key: 'udon-test-kit-reference',
items: [{type: 'autogenerated', dirName: 'udon-test-kit/reference'}],
},
{
type: 'category',
label: 'Explanations',
key: 'udon-test-kit-explanations',
items: [{type: 'autogenerated', dirName: 'udon-test-kit/explanations'}],
},
],
},
// Shared by every project, so it sits at the docs root rather than under one project.
'install-a-package',
],
Expand Down
24 changes: 12 additions & 12 deletions src/components/homepage/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@ import ProjectCard, { type Project } from '@site/src/components/homepage/Project

function useProjects(): Project[] {
return [
{
name: 'Core',
status: 'available',
description: translate({
id: 'homepage.projects.core.description',
message:
'A structured way to build VRChat worlds with UdonSharp: consistent startup, ' +
'wired-up dependencies, and generated code instead of hand-wiring everything yourself.',
}),
docsHref: '/docs/core/intro',
repo: 'tsvrc/tsvrc-core',
},
{
name: 'Udon Test Kit',
status: 'available',
Expand All @@ -27,6 +15,18 @@ function useProjects(): Project[] {
docsHref: '/docs/udon-test-kit/intro',
repo: 'tsvrc/udon-test-kit',
},
{
name: 'Core',
status: 'available',
description: translate({
id: 'homepage.projects.core.description',
message:
'A structured way to build VRChat worlds with UdonSharp: consistent startup, ' +
'wired-up dependencies, and generated code instead of hand-wiring everything yourself.',
}),
docsHref: '/docs/core/intro',
repo: 'tsvrc/tsvrc-core',
},
];
}

Expand Down
Loading