https://codewiki.google/

A new way to understand code

At Google, our mission is to organize the world's information and make it universally accessible and useful. For developers, that means unlocking the vital knowledge currently buried in complex source code.

We built a system that fulfills this mission by keeping documentation alive. Instead of static files, it maintains a continuously updated, structured wiki for every repository.

在谷歌,我们的使命是整合全球信息,供大众使用,并让人受益。对开发者而言,这意味着挖掘深藏于复杂源代码中的关键知识。

我们构建了一个通过保持文档活性来实现这一使命的系统。它并非静态文件,而是为每个代码库维护持续更新的结构化维基。

https://codewiki.google/

  1. Automated & always up-to-date: Code Wiki scans the full codebase and regenerates the documentation after each change. The docs evolve with the code.
  2. Intelligent & context-aware: The entire, always-current wiki serves as the knowledge base for an integrated chat. You’re not talking to a generic model, but to one that knows your repo end-to-end.
  3. Integrated & actionable: Every wiki section and chat answer is hyper-linked directly to the relevant code files and definitions. Reading and exploring merge into one workflow.

The Code Wiki website

Today, we're launching the Code Wiki website in public preview, our first product built on this new system. It ingests public repositories and generates, hosts, and maintains comprehensive and interactive documentation for each one.

Instead of reading static text, you can navigate interactively, jumping directly from high-level concept explanations to the exact code files, classes, and functions they reference. If you get stuck on a complex module, you can ask the Gemini-powered chat agent that uses the always-up-to-date wiki as context to answer highly specific questions about your repository, instantly bridging the gap between learning about the code and actually exploring it. For times when text isn't enough, Code Wiki automatically generates always-current architecture, class, and sequence diagrams, ensuring you can visualize complex relationships that match the exact current state of the code.

相比阅读静态文本,您可以通过交互方式导航,直接从高层概念解释跳转到它们引用的具体代码文件、类与函数。若遇到复杂模块卡壳,可向基于Gemini的聊天助手提问——该助手以实时更新的知识库为上下文,能精准解答代码库相关问题,瞬间弥合理论学习和实际探索之间的鸿沟。当文字不足以阐明时,代码百科会自动生成始终同步更新的架构图、类图和时序图,确保您能可视化呈现与代码当前状态完全匹配的复杂关系。

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐