Skip to content

docs:apollo c++ client sdk#5398

Merged
nobodyiam merged 2 commits intoapolloconfig:masterfrom
jiazhanfeng1989:master
Jun 5, 2025
Merged

docs:apollo c++ client sdk#5398
nobodyiam merged 2 commits intoapolloconfig:masterfrom
jiazhanfeng1989:master

Conversation

@jiazhanfeng1989
Copy link
Contributor

@jiazhanfeng1989 jiazhanfeng1989 commented Jun 3, 2025

What's the purpose of this PR

add apollo c++ client sdk

Follow this checklist to help us incorporate your contribution quickly and easily:

  • [Y ] Read the Contributing Guide before making this pull request.
  • [Y ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [ Y] Write necessary unit tests to verify the code.
  • [ Y] Run mvn clean test to make sure this pull request doesn't break anything.
  • [ Y] Update the CHANGES log.

Summary by CodeRabbit

  • Documentation
    • Added a new section in both English and Chinese user guides introducing the Apollo C++ client, including a link to its GitHub repository and an acknowledgment of the contributor.
    • Updated the sidebar navigation in both languages to include the C++ client usage guide for easier access.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 3, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 3, 2025

Walkthrough

A new section introducing the Apollo C++ client has been added to both the English and Chinese C++ SDK user guide documentation files. The section includes a GitHub repository link and an acknowledgment to the contributor, without any changes to code or public interfaces. Additionally, sidebar entries linking to the new guides were added in both languages.

Changes

File(s) Change Summary
docs/en/client/cpp-sdks-user-guide.md, docs/zh/client/cpp-sdks-user-guide.md Added a new section about the Apollo C++ client with a repo link and contributor acknowledgment.
docs/en/_sidebar.md, docs/zh/_sidebar.md Added sidebar entries linking to the new C++ client usage guides in English and Chinese.

Suggested labels

size:XS

Poem

A hop and a skip, a client appears,
In English and Chinese, the message is clear.
With thanks to a friend who lent us a hand,
The C++ client now takes a stand.
Documentation grows, as bunnies do cheer!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 01dee0d and 08c0bb1.

📒 Files selected for processing (2)
  • docs/en/_sidebar.md (1 hunks)
  • docs/zh/_sidebar.md (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • docs/zh/_sidebar.md
  • docs/en/_sidebar.md
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build (8)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link

github-actions bot commented Jun 3, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@jiazhanfeng1989
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
docs/zh/client/cpp-sdks-user-guide.md (1)

4-4: Refine acknowledgment formatting in Chinese
Add spaces around the GitHub mention and a full‐width period at the end for consistency with other Chinese docs.

- > 非常感谢[@jiazhanfeng](https://github.com/jiazhanfeng1989)提供C++ Apollo客户端的支持
+ > 非常感谢 [@jiazhanfeng](https://github.com/jiazhanfeng1989) 提供 C++ Apollo 客户端的支持。
docs/en/client/cpp-sdks-user-guide.md (1)

5-5: Add punctuation to support English grammar
Include a period at the end of the acknowledgment sentence to match the style of other documentation.

- > Thanks [@jiazhanfeng](https://github.com/jiazhanfeng1989) for providing support for the C++ Apollo client
+ > Thanks [@jiazhanfeng](https://github.com/jiazhanfeng1989) for providing support for the C++ Apollo client.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 56ec144 and 01dee0d.

📒 Files selected for processing (2)
  • docs/en/client/cpp-sdks-user-guide.md (1 hunks)
  • docs/zh/client/cpp-sdks-user-guide.md (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build (8)
🔇 Additional comments (2)
docs/zh/client/cpp-sdks-user-guide.md (1)

1-3:

Details

✅ Verification successful

Ensure Chinese heading consistency and link label
Please verify that the section title “Apollo C++ 客户端” and the spacing around “C++” match existing Chinese SDK guides. Also consider using a more descriptive label such as “GitHub 仓库地址:” instead of “项目地址:” for clarity.


🏁 Script executed:

#!/bin/bash
# Verify Chinese client SDK section naming conventions in the docs
rg "### .+ 客户端" -n docs/zh/client

Length of output: 1790


I’ll check how other SDK guides label their repo links for consistency.


🏁 Script executed:

#!/bin/bash
echo "Occurrences of '项目地址' in docs/zh/client:"
rg -n -C1 "项目地址" docs/zh/client/*.md
echo
echo "Occurrences of '仓库地址' in docs/zh/client:"
rg -n -C1 "仓库地址" docs/zh/client/*.md

Length of output: 7616


Heading and link label are consistent as-is
Verified that the section title “### Apollo C++ 客户端” follows the same pattern as other SDK guides (e.g. “### Apollo Rust 客户端”). All Chinese client guides uniformly use “项目地址:” for GitHub links, so no update is needed here.

docs/en/client/cpp-sdks-user-guide.md (1)

1-3:

Details

✅ Verification successful

Verify consistent labeling of the C++ client repository link
Check whether other English SDK guides use “Project address”, “Repository”, or “GitHub repository” to ensure uniform style across docs.


🏁 Script executed:

#!/bin/bash
# Search for repository link labels in English client SDK guides
rg -n "Project address" -A1 docs/en/client

Length of output: 4543


Uniform “Project address” label confirmed
All English client SDK guides (C++, Rust, PHP, Python, Node.js, Go, C) consistently use Project address for their repository links. No changes needed.

Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

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

You may also need to update _sidebar.md and run docsify serve docs to check if it works.

hezhangjian
hezhangjian previously approved these changes Jun 4, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 4, 2025
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Jun 4, 2025
@jiazhanfeng1989
Copy link
Contributor Author

You may also need to update _sidebar.md and run docsify serve docs to check if it works.

Done, and checked with docsify serve docs.

Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

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

LGTM

@nobodyiam nobodyiam merged commit 271991d into apolloconfig:master Jun 5, 2025
10 of 11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2025
@nobodyiam nobodyiam added this to the 2.5.0 milestone Feb 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments