Skip to content

Commit 11420a7

Browse files
authored
make nav work properly with placeholder pages, add homepage content (#31)
* make nav work properly with placeholder pages * clone homepage
1 parent 1d2b61d commit 11420a7

32 files changed

+282
-33
lines changed

advanced.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Advanced Bazel
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

apis.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Bazel APIs
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

basics.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Bazel Basics
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

build-encyclopedia.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Build Encyclopedia
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

build-system-basics.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Build System Basics
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

command-line-reference.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Command Line Reference
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

concepts.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Bazel Concepts
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

contributing.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Contributing to Bazel
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

distributing-rules.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Distributing Bazel Rules
3+
---
4+
5+
*This is a placeholder page for demo purposes. Real content will be added later.*

docs.json

Lines changed: 104 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,125 @@
1818
"tabs": [
1919
{
2020
"tab": "About Bazel",
21-
"pages": ["index"]
21+
"groups": [
22+
{
23+
"group": "Why Bazel?",
24+
"pages": ["why-bazel"]
25+
},
26+
{
27+
"group": "Build system basics",
28+
"pages": ["build-system-basics"]
29+
}
30+
]
2231
},
2332
{
2433
"tab": "Getting started",
25-
"pages": ["index"]
34+
"groups": [
35+
{
36+
"group": "Install",
37+
"pages": ["install"]
38+
},
39+
{
40+
"group": "First build tutorials",
41+
"pages": ["first-build-tutorials"]
42+
},
43+
{
44+
"group": "Concepts",
45+
"pages": ["concepts"]
46+
}
47+
]
2648
},
2749
{
2850
"tab": "User guide",
29-
"pages": ["index"]
51+
"groups": [
52+
{
53+
"group": "Releases",
54+
"pages": ["releases"]
55+
},
56+
{
57+
"group": "Basics",
58+
"pages": ["basics"]
59+
},
60+
{
61+
"group": "Advanced",
62+
"pages": ["advanced"]
63+
},
64+
{
65+
"group": "Remote Execution",
66+
"pages": ["remote-execution"]
67+
},
68+
{
69+
"group": "Tutorials",
70+
"pages": ["tutorials"]
71+
},
72+
{
73+
"group": "Migrate",
74+
"pages": ["migrate"]
75+
}
76+
]
3077
},
3178
{
3279
"tab": "Reference",
33-
"pages": ["index"]
80+
"groups": [
81+
{
82+
"group": "Build encyclopedia",
83+
"pages": ["build-encyclopedia"]
84+
},
85+
{
86+
"group": "Command line reference",
87+
"pages": ["command-line-reference"]
88+
},
89+
{
90+
"group": "Query Language",
91+
"pages": ["query-language"]
92+
},
93+
{
94+
"group": "Glossary",
95+
"pages": ["glossary"]
96+
},
97+
{
98+
"group": "Flag cheatsheet",
99+
"pages": ["flag-cheatsheet"]
100+
}
101+
]
34102
},
35103
{
36104
"tab": "Extending",
37-
"pages": ["index"]
105+
"groups": [
106+
{
107+
"group": "Concepts",
108+
"pages": ["extending-concepts"]
109+
},
110+
{
111+
"group": "Writing rules",
112+
"pages": ["writing-rules"]
113+
},
114+
{
115+
"group": "Distributing rules",
116+
"pages": ["distributing-rules"]
117+
},
118+
{
119+
"group": "APIs",
120+
"pages": ["apis"]
121+
}
122+
]
38123
},
39124
{
40125
"tab": "Community",
41-
"pages": ["index"]
126+
"groups": [
127+
{
128+
"group": "Contributing",
129+
"pages": ["contributing"]
130+
},
131+
{
132+
"group": "Programs",
133+
"pages": ["programs"]
134+
},
135+
{
136+
"group": "Getting help",
137+
"pages": ["getting-help"]
138+
}
139+
]
42140
}
43141
]
44142
}

0 commit comments

Comments
 (0)