[doc] restore json_object_flatten doc removed by #3660#3916
Merged
Conversation
The json_object_flatten function docs were added in apache#3589 but were accidentally deleted by the "online new home page" refactor in apache#3660, which replaced the docs tree with the docs-next tree that predated the function. As a result the page is missing from the live site. Restore the EN/ZH pages for both current(dev) and version-4.x from the original apache#3589 commit (8908f21) and re-register them in sidebars.ts and version-4.x-sidebars.json. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
run buildall |
Restoring the json_object_flatten page (previous commit) made the build fail: config/redirects-4.x.json still had fallback redirects that pointed the json-object-flatten URL to what-is-apache-doris (auto-generated by scripts/migrate-4.x/build-redirects.py when apache#3660 deleted the page). With the real page back, the client-redirects plugin tries to emit a redirect at a path the page already occupies, erroring with "The redirect plugin is not supposed to override existing files". Remove the EN and ZH json-object-flatten redirect entries so the restored page is served directly. Verified `yarn docusaurus build` for version 4.x now passes in both en and zh-CN locales. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
The json_object_flatten function docs were added in #3589 but were accidentally deleted by the "online new home page" refactor in #3660, which replaced the docs tree with the docs-next tree that predated the function. As a result the page is missing from the live site.
Restore the EN/ZH pages for both current(dev) and version-4.x from the original #3589 commit (8908f21) and re-register them in sidebars.ts and version-4.x-sidebars.json.
Versions
Languages
Docs Checklist