Repository navigation
doc: hide Zhihu link from English docs - #5008
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a mechanism to conditionally filter out Chinese-specific documentation elements (marked with the class zh-cn-only) when building the documentation for non-Chinese languages. This is implemented via a custom Sphinx extension hook in doc/source/conf.py and applied to a Zhihu link in doc/source/index.rst. The review feedback suggests a safer way to remove nodes from the docutils tree to avoid potential ValueError exceptions if a node is already removed.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
a44a3c5 to
99161b1
Compare
Summary
Validation