Inspiration
I wanted a tool where every commit instantly becomes documentation, release notes, or even a blog post. This was inspired by the frustration of keeping docs in sync with code which is an extremely common problem faced by many people of the coding community.
How I built it
- Used Python’s ast to parse functions and docstrings.
- Created a CLI with argparse to generate docs, changelogs, and blogs.
- Generated Markdown outputs so they can be easily published or committed back to the repo.
All of the above was accomplished with the help of the extremely powerful AI Assistant Roo-Code
Challenges
- Parsing Python AST into human-readable docs.
- Designing outputs that feel natural for both technical (docs) and casual (blogs).
- Making the system flexible for future expansion (HTML export, PR automation).
What I learned
- The importance of developer experience in tooling.
- How AI-inspired workflows (code → content) can boost productivity.
What's next for Code To Content
- Possibly giving it a UI interface.
- Multi-language Support Extend parsing beyond Python → add support for JavaScript, TypeScript, Go, Rust, and more.
- Customizable Styles & Templates Choose tone and format: technical docs, executive summaries, casual blog posts, or even social-media-ready snippets.
- Continuous Mode Run as a background watcher: whenever code changes, docs/changelog/blog updates are regenerated instantly.
Log in or sign up for Devpost to join the conversation.