# Ruby Documentation

**URL:** <https://www.ruby-forum.com/t/ruby-documentation/146726>\
**Category:** Ruby\
**Created:** [August 24, 2008, 8:02pm UTC](https://www.ruby-forum.com/t/ruby-documentation/146726 "2008-08-24T20:02:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fantomknight10](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/94ad74/32.png) [@fantomknight10](https://www.ruby-forum.com/u/fantomknight10)\
**Post date:** [August 24, 2008, 8:02pm UTC](https://www.ruby-forum.com/t/ruby-documentation/146726/1 "2008-08-24T20:02:16Z")

</div>

Does the ruby project provide any equivalent to the Python pydoc -g  
command, to provide browsable documentation via an embedded web server?

---

<div class="post-metadata">

**Author:** ![fantomknight10](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/94ad74/32.png) [@fantomknight10](https://www.ruby-forum.com/u/fantomknight10)\
**Post date:** [August 24, 2008, 9:47pm UTC](https://www.ruby-forum.com/t/ruby-documentation/146726/2 "2008-08-24T21:47:49Z")

</div>

Tommy N. wrote:

> Does the ruby project provide any equivalent to the Python pydoc -g  
> command, to provide browsable documentation via an embedded web server?

I believe `gem server` can accomplish this for rubygems. However, one  
can easily generate html documentation on-disk with the distributed  
`rdoc` tool directly, and serve it via normal means.
