# Man page from rdoc source

**URL:** <https://www.ruby-forum.com/t/man-page-from-rdoc-source/122512>\
**Category:** Ruby\
**Created:** [December 8, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/man-page-from-rdoc-source/122512 "2007-12-08T15:57:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gendag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f04885/32.png) [@gendag](https://www.ruby-forum.com/u/gendag)\
**Post date:** [December 8, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/man-page-from-rdoc-source/122512/1 "2007-12-08T15:57:25Z")

</div>

Hi all,

is there a way to create an unix man page from an rdoc formatted source?

Thanks in advance.  
Andrea

---

<div class="post-metadata">

**Author:** ![gendag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f04885/32.png) [@gendag](https://www.ruby-forum.com/u/gendag)\
**Post date:** [December 9, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/man-page-from-rdoc-source/122512/2 "2007-12-09T16:20:18Z")

</div>

Ok, it seems that there is not a way to produce an unix man page from an  
rdoc source file. However, a ruby documentation tool that produce a man  
page output exists: it’s RDtool [1][2]. Using RDtool I can get a man  
formatted output from a wiki-like markup source.

Reference

[1] - [http://raa.ruby-lang.org/project/rdtool/](http://raa.ruby-lang.org/project/rdtool/)  
[2] - [Programming Ruby: The Pragmatic Programmer's Guide](http://www.ruby-doc.org/docs/ProgrammingRuby/html/rdtool.html)

Bye.  
Andrea

Andrea F. ha scritto:
