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
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,21 +117,21 @@ const config: Config = {
items: [
{
type: 'docSidebar',
sidebarId: 'gettingStartedSidebar',
sidebarId: 'overviewSidebar',
position: 'left',
label: 'Getting started',
label: 'Overview',
},
{
type: 'docSidebar',
sidebarId: 'hardwareSidebar',
sidebarId: 'manufacturingSidebar',
position: 'left',
label: 'Hardware',
label: 'Hardware', // todo: Rename when v2 is ready.
},
{
type: 'docSidebar',
sidebarId: 'softwareSidebar',
sidebarId: 'apiReferenceSidebar',
position: 'left',
label: 'Software',
label: 'Software', // todo: Rename when v2 is ready.
},
Comment on lines 119 to 135
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description says the sidebar section names are being renamed (Getting Started→Overview, Hardware→Manufacturing guide, Software→API reference), but the navbar labels are still the old names with TODOs. If the intent is to apply the rename now, these label values should be updated to the new names (or the PR description/title should be adjusted to match the current behavior).

Copilot uses AI. Check for mistakes.
{
type: 'docSidebar',
Expand Down
6 changes: 3 additions & 3 deletions website/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
topSidebar: [{type: 'autogenerated', dirName: '.'}],

gettingStartedSidebar: [{type: 'autogenerated', dirName: 'getting-started'}],
hardwareSidebar: [{type: 'autogenerated', dirName: 'hardware'}],
softwareSidebar: [{type: 'autogenerated', dirName: 'software'}],
overviewSidebar: [{type: 'autogenerated', dirName: 'overview'}],
manufacturingSidebar: [{type: 'autogenerated', dirName: 'manufacturing'}],
apiReferenceSidebar: [{type: 'autogenerated', dirName: 'api-reference'}],
teleopSidebar: [{type: 'autogenerated', dirName: 'teleop'}],
simulationSidebar: [{type: 'autogenerated', dirName: 'simulation'}],
purchaseSidebar: [{type: 'autogenerated', dirName: 'purchase'}],
Expand Down
6 changes: 3 additions & 3 deletions website/versioned_sidebars/version-1.0-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"dirName": "."
}
],
"gettingStartedSidebar": [
"overviewSidebar": [
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to use the same sidebar ID for both 1.0 and 2.0.
Although it doesn't match the directory name in 1.0, we've matched it to the sidebar ID in 2.0.

{
"type": "autogenerated",
"dirName": "getting-started"
}
],
"hardwareSidebar": [
"manufacturingSidebar": [
{
"type": "autogenerated",
"dirName": "hardware"
}
],
"softwareSidebar": [
"apiReferenceSidebar": [
{
"type": "autogenerated",
"dirName": "software"
Expand Down