Skip to content

Commit

Permalink
chore(docs): Remove blank pages and update sidebar (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
leaysgur authored Jan 9, 2025
1 parent 1961e60 commit e603d87
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 72 deletions.
51 changes: 15 additions & 36 deletions .vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,37 +79,28 @@ export const enConfig = defineLocaleConfig("root", {
},
],
"/docs/learn/": [
{
text: "JavaScript Parser in Rust",
items: [
{ text: "Introduction", link: "/docs/learn/parser_in_rust/intro" },
{ text: "Lexer", link: "/docs/learn/parser_in_rust/lexer" },
{ text: "AST", link: "/docs/learn/parser_in_rust/ast" },
{ text: "Parser", link: "/docs/learn/parser_in_rust/parser" },
{ text: "Errors", link: "/docs/learn/parser_in_rust/errors" },
{ text: "Semantic Analysis", link: "/docs/learn/parser_in_rust/semantic_analysis" },
],
},
{
text: "Architecture",
items: [
// {
// text: "Introduction",
// link: "/docs/learn/architecture/introduction",
// },
// {
// text: "Parser",
// link: "/docs/learn/architecture/parser",
// },
{
text: "Parser",
link: "/docs/learn/architecture/parser",
},
{
text: "Linter",
link: "/docs/learn/architecture/linter",
},
// {
// text: "Resolver",
// link: "/docs/learn/architecture/resolver",
// },
// {
// text: "Transformer",
// link: "/docs/learn/architecture/transformer",
// },
// {
// text: "Formatter",
// link: "/docs/learn/architecture/formatter",
// },
// {
// text: "Minifier",
// link: "/docs/learn/architecture/minifier",
// },
{
text: "Test Infrastructure",
link: "/docs/learn/architecture/test",
Expand All @@ -120,17 +111,6 @@ export const enConfig = defineLocaleConfig("root", {
},
],
},
{
text: "JavaScript Parser in Rust",
items: [
{ text: "Introduction", link: "/docs/learn/parser_in_rust/intro" },
{ text: "Lexer", link: "/docs/learn/parser_in_rust/lexer" },
{ text: "AST", link: "/docs/learn/parser_in_rust/ast" },
{ text: "Parser", link: "/docs/learn/parser_in_rust/parser" },
{ text: "Errors", link: "/docs/learn/parser_in_rust/errors" },
{ text: "Semantic Analysis", link: "/docs/learn/parser_in_rust/semantic_analysis" },
],
},
{
text: "ECMAScript",
items: [
Expand Down Expand Up @@ -177,7 +157,6 @@ export const enConfig = defineLocaleConfig("root", {
text: "Transformer",
link: "/docs/contribute/transformer",
},
// { text: "Codegen", link: "/docs/contribute/codegen" },
{ text: "Minifier", link: "/docs/contribute/minifier" },
{ text: "VSCode", link: "/docs/contribute/vscode" },
],
Expand Down
6 changes: 0 additions & 6 deletions src/docs/contribute/codegen.md

This file was deleted.

6 changes: 0 additions & 6 deletions src/docs/learn/architecture/formatter.md

This file was deleted.

6 changes: 0 additions & 6 deletions src/docs/learn/architecture/introduction.md

This file was deleted.

6 changes: 0 additions & 6 deletions src/docs/learn/architecture/minifier.md

This file was deleted.

6 changes: 0 additions & 6 deletions src/docs/learn/architecture/resolver.md

This file was deleted.

6 changes: 0 additions & 6 deletions src/docs/learn/architecture/transformer.md

This file was deleted.

0 comments on commit e603d87

Please sign in to comment.