Apipie
Ruby on Rails API documentation tool (by Apipie)
RDoc
RDoc produces HTML and online documentation for Ruby projects. (by ruby)
Our great sponsors
Apipie | RDoc | |
---|---|---|
2 | 8 | |
2,446 | 819 | |
0.2% | 0.9% | |
7.2 | 8.8 | |
13 days ago | about 19 hours ago | |
Ruby | Ruby | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Apipie
Posts with mentions or reviews of Apipie.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-10.
- Is there a way to easily autogenerate API documentation for a Ruby on Rails API?
-
OpenAPI/Swagger comment parser for ruby
This gem takes directives in your controllers and can output swagger.json. It takes some work but it is nice that it can provide examples by capturing test output and because of this it doesn't get out of date as easily. https://github.com/Apipie/apipie-rails
RDoc
Posts with mentions or reviews of RDoc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-29.
-
Xeme: I'd value your opinion on my new Ruby gem
In addition to project documentation, you've included a lot of code comments. You could adopt a standardized format and use it to generate API documentation. RDoc and YARD are two options. If I were reviewing this code at work, I would probably ask you to remove comments that explain what, not why.
-
The right is on the left
That turns out to be a pretty common use case for markdown. Github, for example, renders your README.md is part of a git repo's "home" page. It's also common to have tooling that parses specially formatted comments in your source code and produce a documentation bundle, usually as a web page (ex. RDoc, YARD, JSDoc, etc.).
-
RDoc questions
I have an open (draft) documentation PR for RDoc over at GitHub (https://github.com/ruby/rdoc/pull/824) that has six unanswered questions. These are embedded in the committed text itself, and each is labelled as "Reviewers: ...."
- ¿Por qué aprender Ruby en 2021?
-
Generate API Docs
If you want to document your whole code base you should check https://github.com/ruby/rdoc
-
CVE-2021-31799: A command injection vulnerability in RDoc
I suspect the fix is to remove_unparseable, and the repository, like the CVE, just hasn't been updated yet.
-
Building Jekyll-Twitch, the gem
RDoc We'll use this gem to document our TwitchTag.rb class.
What are some alternatives?
When comparing Apipie and RDoc you can also consider the following projects:
grape-swagger - Add OAPI/swagger v2.0 compliant documentation to your grape API
YARD - YARD is a Ruby Documentation tool. The Y stands for "Yay!"
rswag - Seamlessly adds a Swagger to Rails-based API's
Asciidoctor - :gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.
rspec_api_documentation - Automatically generate API documentation from RSpec
Annotate - Annotate Rails classes with schema and routes info
Hanna - RDoc generator designed with simplicity, beauty and ease of browsing in mind