Skip to content

Commit

Permalink
Post: Read the Docs loves Ruby (#268)
Browse files Browse the repository at this point in the history
* Post: Read the Docs loves Ruby

Initial content for the blog post.

* Update image

* Initial content for the blog post

* Update date

* Category typo

* Minor update

* Apply suggestions from code review

Co-authored-by: Eric Holscher <[email protected]>

---------

Co-authored-by: Eric Holscher <[email protected]>
  • Loading branch information
humitos and ericholscher authored Mar 5, 2024
1 parent 37b938f commit cc458fb
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Binary file added content/images/read-the-docs-loves-ruby.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions content/posts/read-the-docs-loves-ruby.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
title: Read the Docs ❤️ Ruby
date: 2024-03-05
category: Feature announcement
tags: builders, tools
authors: Manuel Kaufmann
status: published
image: /images/read-the-docs-loves-ruby.jpg
image_credit: Photo by <a href="https://unsplash.com/@jasondeblooisphotography?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Jason D</a> on <a href="https://unsplash.com/photos/selective-focus-photo-of-red-gemstone-VKLJ-BJlszE?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Unsplash</a>


We are happy to announce that **support for Ruby is now available** as an option for our pre-defined building tools ([`build.tools`](https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools)).
Projects requiring Ruby to build their documentation are officially supported on Read the Docs 🎉

## Demo project using Jekyll

As an example of a project using Ruby, [see a demo of the default Jekyll blog](https://test-builds.readthedocs.io/en/jekyll/) built and hosted on Read the Docs.
The following code is the `.readthedocs.yaml` configuration file used to build it:


```yaml
version: 2

build:
os: ubuntu-22.04
tools:
ruby: "3.3"
commands:
- gem install bundle
- bundle install
- jekyll build --destination $READTHEDOCS_OUTPUT/html
```
As you can see, it's pretty simple to use Read the Docs with Ruby
and install dependencies with `gem` and `bundle` following the community standard patterns.


## More documentation tools supported

With the support for Ruby, a new door is opened for projects requiring documentation tools that weren't supported on Read the Docs before,
like [Jekyll](https://jekyllrb.com/), [Asciidoctor](https://asciidoctor.org/), [yard](https://yardoc.org/), [rdoc](https://ruby.github.io/rdoc/), and many others.


## Try it out and give us feedback

We encourage you to give Read the Docs a try if you are using any of these documentation tools,
and take advantage of the extra features we provide to empower your documentation workflow,
like [pull request previews](https://docs.readthedocs.io/en/stable/pull-requests.html) and [Git-based versioning](https://docs.readthedocs.io/en/stable/versions.html).

Please [let us know](mailto:[email protected]) how your experience is with any of these Ruby documentation tools, and how we might improve our support.

0 comments on commit cc458fb

Please sign in to comment.