Conversation
The developer/{meta.json} pages array listed only sdk, integration,
and license, so the developer/examples folder (aws-cli, s3cmd,
rclone, boto3, capo, aws-sdk-js, aws-sdk-go, terraform) never
appeared in the sidebar and was reachable only through direct page
links. docs:check did not flag it because its orphan rule counts a
folder with its own meta.json as referenced.
Add 'examples' after 'sdk' in all five locales (en, zh, de, fr, ja);
folder labels come from each locale's examples/meta.json title.
|
@majinghe is attempting to deploy a commit to the overtrue's projects Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
Author
|
Superseded by #147: instead of adding the Examples folder to the sidebar, the capo guide moves under Developer → Integration → Others, keeping Examples out of the navigation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Developer section's
meta.jsonlisted onlysdk,integration, andlicense— thedeveloper/examplesfolder was never referenced, so it never appeared in the sidebar. All example pages (AWS CLI, s3cmd, rclone, boto3, capo, AWS SDK for JavaScript/Go, Terraform) were reachable only through direct links on other pages.npm run docs:checkdid not flag this because its orphan rule counts any folder that owns ameta.jsonas referenced.Fix
Add
examplesto thepagesarray indeveloper/meta.json, right aftersdk, in all five locales (en, zh, de, fr, ja). Folder labels in the sidebar come from each locale'sdeveloper/examples/meta.jsontitle(Examples / 示例 / Beispiele / Exemples / 使用例), which is already localized — no label changes needed.Verification
npm run docs:check— PASSnpm run build— PASS (2515 files); the rendered/en/developerpage now contains the Examples navigation entry with links todeveloper/examples/*