Skip to content

Commit

Permalink
docs: flatten tools in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Nov 26, 2024
1 parent 1a38802 commit 0556024
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 36 deletions.
3 changes: 2 additions & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: "^.idea/"
- id: check-yaml
- id: check-toml
- id: check-json
Expand Down
68 changes: 33 additions & 35 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,45 +49,43 @@ export default defineConfig({
{ text: "Comparison to asdf", link: "/dev-tools/comparison-to-asdf" },
{ text: "Shims", link: "/dev-tools/shims" },
{ text: "Aliases", link: "/dev-tools/aliases" },
{ text: "Registry", link: "/registry" },
{
text: "Plugins / Languages",
link: "/plugins",
text: "Core tools",
link: "/core-tools",
collapsed: true,
items: [
{ text: "Bun", link: "/lang/bun" },
{ text: "Deno", link: "/lang/deno" },
{ text: "Erlang", link: "/lang/erlang" },
{ text: "Go", link: "/lang/go" },
{ text: "Java", link: "/lang/java" },
{ text: "Node.js", link: "/lang/node" },
{ text: "Python", link: "/lang/python" },
{ text: "Ruby", link: "/lang/ruby" },
{ text: "Rust", link: "/lang/rust" },
],
},
{
text: "Backends",
link: "/dev-tools/backends/",
collapsed: true,
items: [
{
text: "Core tools",
link: "/core-tools",
collapsed: true,
items: [
{ text: "Bun", link: "/lang/bun" },
{ text: "Deno", link: "/lang/deno" },
{ text: "Erlang", link: "/lang/erlang" },
{ text: "Go", link: "/lang/go" },
{ text: "Java", link: "/lang/java" },
{ text: "Node.js", link: "/lang/node" },
{ text: "Python", link: "/lang/python" },
{ text: "Ruby", link: "/lang/ruby" },
{ text: "Rust", link: "/lang/rust" },
],
},
{ text: "Tool registry", link: "/registry" },
{
text: "Tool backends",
link: "/dev-tools/backends/",
collapsed: true,
items: [
{ text: "aqua", link: "/dev-tools/backends/aqua" },
{ text: "asdf", link: "/dev-tools/backends/asdf" },
{ text: "cargo", link: "/dev-tools/backends/cargo" },
{ text: "go", link: "/dev-tools/backends/go" },
{ text: "npm", link: "/dev-tools/backends/npm" },
{ text: "pipx", link: "/dev-tools/backends/pipx" },
{ text: "spm", link: "/dev-tools/backends/spm" },
{ text: "ubi", link: "/dev-tools/backends/ubi" },
{ text: "vfox", link: "/dev-tools/backends/vfox" },
],
},
{ text: "aqua", link: "/dev-tools/backends/aqua" },
{ text: "asdf", link: "/dev-tools/backends/asdf" },
{ text: "cargo", link: "/dev-tools/backends/cargo" },
{ text: "go", link: "/dev-tools/backends/go" },
{ text: "npm", link: "/dev-tools/backends/npm" },
{ text: "pipx", link: "/dev-tools/backends/pipx" },
{ text: "spm", link: "/dev-tools/backends/spm" },
{ text: "ubi", link: "/dev-tools/backends/ubi" },
{ text: "vfox", link: "/dev-tools/backends/vfox" },
],
},
{
text: "Plugins",
link: "/plugins",
},
],
},
{
Expand Down

0 comments on commit 0556024

Please sign in to comment.