-
Notifications
You must be signed in to change notification settings - Fork 0
Update sidebar navigation for version 3.9 of English and Japanese docs #597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This navigation is necessary since we will be hard-coding titles (`labels`) in the sidebar navigation in the near future. Without this, the sidebar navigation for Japanese docs would show in English.
jnmt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Almost LGTM. I left a few comments. PTAL!
✅ Deploy Preview for staging-scalardl-docs-site ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
josh-wong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jnmt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for revising it! I left a very minor improvement, but basically LGTM.
Make Japanese titles consistently use noun form, as mentioned in the PR for the ScalarDB sidebar navigation (https://github.com/scalar-labs/docs-scalardb/pull/762/files/1c1b5404f5b23485105ae6a17a42977ecdc5aac3#r1869009005).
josh-wong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kota2and3kan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates! (And sorry for my late review...)
I left several comments and suggestions.
Please take a look when you have time! 🙇♂️
feeblefakie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For just introducing sidebar.js and stop hard-coding the sidebar menus, it's fine.
In that case, let's not update the content at all.
Anyway, I think all the sidebar menus need to be updated soon.
Co-authored-by: Josh Wong <joshua.wong@scalar-labs.com>
jnmt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
5ecf5c5 to
0256034
Compare
Apply suggestions for consistency with suggestion in https://github.com/scalar-labs/docs-scalardl/pull/597/files#r1897305521.
|
@kota2and3kan I've addressed your comments and others that we discussed in today's short meeting (0368d93). PTAL! |
kota2and3kan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
fcd75d8 to
cc1b4a3
Compare
b55f7a8 to
3694e9d
Compare
…lar-labs/docs-scalardl into sidebar-nav/update-structure

Description
This PR updates the sidebar navigation for ScalarDL 3.9 (and will apply to later versions as well). Since we'll be hard-coding titles (
labels) in the sidebar navigation in the near future, we should address this now before it becomes an issue.If we don't specify which sidebar navigation to show for each language, the sidebar navigation for Japanese docs would show in English.
Note
This method follows Docusaurus's method for sidebars, as described in Understanding sidebar association.
labels) in the sidebar navigation so that we can make the titles shorted in the sidebar navigation while keeping longer titles at the top of each doc. Keeping titles within the actual doc provides readers with better context and is better for SEO.See an example of the sidebar navigation at:
Related issues and/or PRs
Note
Similar changes are being done in the ScalarDB docs:
Changes made
docstodocsEnglish.docsJapanese) that matches the English docs.labels) in thedocsJapanesesidebar into Japanese.Checklist
N/AAdditional notes (optional)
N/A