This is the codebase for the Apache Doris website and documentation site, built with Docusaurus. The current English docs live under docs/, active versioned docs live under versioned_docs/, Chinese localized docs live under i18n/zh-CN/docusaurus-plugin-content-docs/, community docs live under community/, Chinese localized community docs live under i18n/zh-CN/docusaurus-plugin-content-docs-community/, blog posts live under blog/, and the site UI/configuration lives under src/, static/, config/, docusaurus.config.js, sidebars.ts, sidebarsCommunity.json, versioned_sidebars/, and versions.json.
For review tasks, if the PR involves changes to the website‘s basic framework and display, you need to verify from the code level whether the changes are reasonable and comply with various front-end standards and best practices. If the PR is about submitting document content, you need to assess whether the content is reasonable and complete, ensuring it does not cause any confusion or ambiguity from the user’s perspective. In summary, your principle is: first follow the standards mentioned in this document for the review, but the ultimate goal is to ensure a complete and seamless user experience with the documentation.
sidebars.ts, sidebarsCommunity.json, versioned_sidebars/, versions.json, and docusaurus.config.js as the authoritative sources for navigation, active versions, and routing. Do not rely on older README tree examples when they disagree with the current repository layout.versions.json. In the current repository state they are 4.x, 3.x, and current; 2.1, 2.0, and 1.2 are archived as PDFs on /archived-docs. Many docs changes intentionally update the same topic across docs/, versioned_docs/, and the mirrored i18n/zh-CN trees together. Review missing mirror updates against the actual touched page set and nearby history, and treat them as issues when the repository context shows those mirrors are expected to stay aligned.2.1, 2.0, and 1.2, including English and Chinese docs, sidebars, and translation metadata, live under archived_docs/ with their original relative paths. Keep these snapshots unchanged during routine documentation work, and do not recreate their former directories in versioned_docs/, versioned_sidebars/, or i18n/. They are retained for historical redirects and PDF exports.title, description, slug, keywords, sidebar_position, and tags.src/scss/_variables.scss and src/components/brand-theme/ as the authoritative sources for global brand themes and theme switching.src/scss/_variables.scss instead of hard-coded brand colors. If a new semantic color role is required, define it consistently for every supported theme. Verify that the page remains readable and visually coherent after switching themes; embedded or iframe-based content must receive the same theme tokens through the existing theme bridge.sidebarsCommunity.json and Chinese localized community content lives under i18n/zh-CN/docusaurus-plugin-content-docs-community/.When conducting code review, including automated AI review and self-review, you must follow this file as the review guide. There is no separate review skill in this repository.
During review, you must individually provide conclusions for each applicable critical checkpoint below:
sidebars.ts, sidebarsCommunity.json, versioned_sidebars/, i18n/, and config updated consistently?Review emphasis by change type:
docs/, versioned_docs/, i18n/, community/, sidebars.ts, sidebarsCommunity.json, and versioned_sidebars/; verify redirect behavior and moved-link handling.If you submit a review summary, keep it concrete and actionable. If no issue is found, explicitly say so.
For documentation, you need to put yourself in the user's perspective, ensuring that after reading the documentation, you can fully understand the usage and meaning of the feature without any ambiguity or confusion. Any defects that hinder this goal are worth pointing out.
Ensure complete consistency in the Chinese and English expressions. If the same function differs in behavior due to redesign or bugfix in different versions, it must be clearly stated in the documentation. If no such statement is made, the expression of the same function must remain completely consistent across different versions. (This point is ignored for versions 2.1 and earlier.)
Every SQL function doc must contain the following sections in order: Description, Syntax, Parameters, Return Value, Example. Additional sections such as Alias or Usage Notes may follow Description when applicable.
sql code block with the full formal syntax. Include all overloads and optional clauses. Use <angle_bracket> notation for placeholders.Parameter and Description. Mark optional parameters explicitly. State accepted types and constraints per parameter.text block. Determine whether all possible typical and special inputs that may cause uncertainty among users are described with examples and coverage.Feature docs (load methods, table types, catalog connectors, admin operations, etc.) are the primary reference for users performing a task. Each doc should cover:
This content is not immutable. You should always aim to help users thoroughly and clearly understand the corresponding functions, allowing for flexible adjustments based on actual circumstances.