Documenting legacy code
Use the Ona agent to autonomously analyze codebases and create comprehensive documentation in your Gitpod environment.
This guide demonstrates how to use the Ona agent to autonomously generate documentation for complex, legacy, or difficult-to-understand codebases. Ona can traverse entire codebases, analyze assembly code, extract meaningful insights, and create complete documentation sites without human intervention.
Caption: Video showing Ona understanding a complex, legacy codebase and documenting it. Using the Lunar 11 landing module as the example.
Prerequisites (optional)
Giving Ona the ability to run any applications will produce better results. Configure your environment with Dev Container before launching an Ona conversation to create your documentation.
- Give access to the codebase to be documented (example using Apollo 11)
- Install any necessary build tools and dependencies
Example using Hugo and Jekyll