// THE ORIGIN STORY
Why Docit exists
In Python, API documentation is practically free. FastAPI generates it from type hints. Django REST gets you there with a decorator.
In Rails, that story didn't exist yet. The existing tools are solid, but they each ask for something extra: a test suite, a different framework, a separate DSL. For many teams, the friction was just high enough that docs never got written.
Rails deserved the same effortless documentation story. That's the gap.
So I built Docit. Inspired by what makes documentation effortless in other ecosystems: write docs where you write code, or generate them from what's already there.
No new framework to adopt. No test suite to maintain alongside it. Just your existing Rails controllers and a DSL that stays out of your way.
Documentation that lives with your code and ships when you ship.
If you've ever inherited a codebase where the API docs were "coming soon" for two years, or stared at an endpoint wondering "what does this actually return?", this gem is for you.