Skip to content

Commit b5e8670

Browse files
committed
Fixing add
1 parent 2d86048 commit b5e8670

File tree

2 files changed

+85
-84
lines changed

2 files changed

+85
-84
lines changed

LangSidebars.ts

Lines changed: 5 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ const sidebars: SidebarsConfig = {
3131

3232
// JavaScript Tutorial Structure
3333

34-
{
35-
type: "link",
36-
label: "JavaScript",
37-
href: "/languages-platforms/javascript/introduction-to-javascript/what-is-js",
38-
},
34+
// {
35+
// type: "link",
36+
// label: "JavaScript",
37+
// href: "/languages-platforms/javascript/introduction-to-javascript/what-is-js",
38+
// },
3939

4040
// Java Tutorial Structure
4141

@@ -694,80 +694,6 @@ const sidebars: SidebarsConfig = {
694694
},
695695
],
696696

697-
// javascript: [
698-
// {
699-
// type: "category",
700-
// label: "Introduction to JavaScript",
701-
// link: {
702-
// type: "doc",
703-
// id: "javascript/introduction-to-javascript/what-is-js",
704-
// },
705-
// items: [
706-
// "javascript/introduction-to-javascript/what-is-js",
707-
// "javascript/introduction-to-javascript/history-of-javascript",
708-
// "javascript/introduction-to-javascript/javascript-versions",
709-
// "javascript/introduction-to-javascript/how-to-run-javascript",
710-
// ],
711-
// },
712-
713-
// {
714-
// type: "category",
715-
// label: "All About Variables",
716-
// link: {
717-
// type: "doc",
718-
// id: "javascript/all-about-variables/variable-declarations",
719-
// },
720-
// items: [
721-
// "javascript/all-about-variables/variable-declarations",
722-
// "javascript/all-about-variables/variable-naming-rules",
723-
// "javascript/all-about-variables/variable-scopes",
724-
// "javascript/all-about-variables/hoisting",
725-
// ],
726-
// },
727-
728-
// {
729-
// type: "category",
730-
// label: "Data Types",
731-
// link: {
732-
// type: "doc",
733-
// id: "javascript/data-types/intro",
734-
// },
735-
// items: [
736-
// "javascript/data-types/intro",
737-
738-
// {
739-
// type: "category",
740-
// label: "Primitive Types",
741-
// link: {
742-
// type: "doc",
743-
// id: "javascript/data-types/primitive-types/intro",
744-
// },
745-
// items: [
746-
// "javascript/data-types/primitive-types/number",
747-
// "javascript/data-types/primitive-types/string",
748-
// "javascript/data-types/primitive-types/boolean",
749-
// "javascript/data-types/primitive-types/null",
750-
// "javascript/data-types/primitive-types/undefined",
751-
// "javascript/data-types/primitive-types/symbol",
752-
// "javascript/data-types/primitive-types/bigint",
753-
// ],
754-
// },
755-
// {
756-
// type: "category",
757-
// label: "Non-Primitive Types",
758-
// link: {
759-
// type: "doc",
760-
// id: "javascript/data-types/non-primitive-types/object/intro",
761-
// },
762-
// items: [
763-
// "javascript/data-types/non-primitive-types/object/intro",
764-
// "javascript/data-types/non-primitive-types/object/creating-objects",
765-
// ],
766-
// },
767-
// ],
768-
// },
769-
// ],
770-
771697
html: [
772698
"html/intro-html",
773699
"html/setup-environment",

sidebars.ts

Lines changed: 80 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,11 @@ const sidebars: SidebarsConfig = {
262262

263263
// JavaScript Tutorial Structure
264264

265-
// {
266-
// type: "link",
267-
// label: "JavaScript",
268-
// href: "/javascript/introduction-to-javascript/what-is-js",
269-
// },
265+
{
266+
type: "link",
267+
label: "JavaScript",
268+
href: "/javascript/introduction-to-javascript/what-is-js",
269+
},
270270

271271
// Git Tutorial Structure
272272

@@ -1372,6 +1372,81 @@ const sidebars: SidebarsConfig = {
13721372
},
13731373
"internet/quiz",
13741374
],
1375+
1376+
javascript: [
1377+
{
1378+
type: "category",
1379+
label: "Introduction to JavaScript",
1380+
link: {
1381+
type: "doc",
1382+
id: "javascript/introduction-to-javascript/what-is-js",
1383+
},
1384+
items: [
1385+
"javascript/introduction-to-javascript/what-is-js",
1386+
"javascript/introduction-to-javascript/history-of-javascript",
1387+
"javascript/introduction-to-javascript/javascript-versions",
1388+
"javascript/introduction-to-javascript/how-to-run-javascript",
1389+
],
1390+
},
1391+
1392+
{
1393+
type: "category",
1394+
label: "All About Variables",
1395+
link: {
1396+
type: "doc",
1397+
id: "javascript/all-about-variables/variable-declarations",
1398+
},
1399+
items: [
1400+
"javascript/all-about-variables/variable-declarations",
1401+
"javascript/all-about-variables/variable-naming-rules",
1402+
"javascript/all-about-variables/variable-scopes",
1403+
"javascript/all-about-variables/hoisting",
1404+
],
1405+
},
1406+
1407+
{
1408+
type: "category",
1409+
label: "Data Types",
1410+
link: {
1411+
type: "doc",
1412+
id: "javascript/data-types/intro",
1413+
},
1414+
items: [
1415+
"javascript/data-types/intro",
1416+
1417+
{
1418+
type: "category",
1419+
label: "Primitive Types",
1420+
link: {
1421+
type: "doc",
1422+
id: "javascript/data-types/primitive-types/intro",
1423+
},
1424+
items: [
1425+
"javascript/data-types/primitive-types/number",
1426+
"javascript/data-types/primitive-types/string",
1427+
"javascript/data-types/primitive-types/boolean",
1428+
"javascript/data-types/primitive-types/null",
1429+
"javascript/data-types/primitive-types/undefined",
1430+
"javascript/data-types/primitive-types/symbol",
1431+
"javascript/data-types/primitive-types/bigint",
1432+
],
1433+
},
1434+
{
1435+
type: "category",
1436+
label: "Non-Primitive Types",
1437+
link: {
1438+
type: "doc",
1439+
id: "javascript/data-types/non-primitive-types/object/intro",
1440+
},
1441+
items: [
1442+
"javascript/data-types/non-primitive-types/object/intro",
1443+
"javascript/data-types/non-primitive-types/object/creating-objects",
1444+
],
1445+
},
1446+
],
1447+
},
1448+
],
1449+
13751450
};
13761451

13771452
export default sidebars;

0 commit comments

Comments
 (0)