• Stars
    star
    112
  • Rank 311,097 (Top 7 %)
  • Language
    Ruby
  • Created over 15 years ago
  • Updated almost 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Your local gem documentation browser

Bdoc¶ ↑

github.com/manalang/bdoc

Description¶ ↑

Bdoc is a simple replacement for the gem or yard server. All it does is look at all of the Gems you have installed locally and creates a nice iframe based browser that makes it easy to navigate between gem docs. IT DOES NOT REQUIRE A SERVER FOR VIEWING… not like gem server does!

If you use this, I highly suggest also using Hanna (a beautiful rdoc theme).

Check out the demo manalang.github.com/bdoc/bdoc.html

Install¶ ↑

[sudo] gem install bdoc

Usage¶ ↑

bdoc

That’s it! This will create an index of all your local gems then launch your default browser. Enjoy!

Specify output directory¶ ↑

Optionally you can specify the output directory on the command line:

bdoc /path/to/bdoc

Bonus¶ ↑

To improve your Bdoc experience, I highly recommend you install the Hanna gem

[sudo] gem install hanna

This will make your Rdocs looks so much better. After you install Hanna, you’ll need to rebuild all of your Rdocs. In order to do that, add this to your ~/.gemrc:

rdoc: --inline-source --line-numbers --format=html --template=hanna

…then rebuild:

[sudo] gem rdoc --all --overwrite --no-ri

LICENSE:¶ ↑

(The MIT License)

Copyright © 2011 Rich Manalang

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

vim-config

My Vim config. Optimized for Ruby, JavaScript, Rails, Markdown, and Haml support
Vim Script
23
star
2

sinatra-on-gae-template

Sinatra template for Google AppEngine
Ruby
12
star
3

heroku-directory-index

Example of how to create a simple directory listing app on Heroku
Ruby
7
star
4

webcenter-rest

WebCenter REST Examples
JavaScript
6
star
5

socialgraph-viewer

Simple social graph javascript viewer. Uses the Google Social Graph API
JavaScript
4
star
6

monkeygrease

a very simple servlet filter that will allow a web developer to inject JavaScript, CSS or other elements within a web page.
4
star
7

osx-services-for-coders

Useful collection of OSX services for coders
3
star
8

anthonyandrich

Anthony and Rich's Pet Project
Ruby
2
star
9

service-tester

A quick and dirty GH hook tester
2
star
10

posterit

Simple Sinatra app that posts to Posterous
Ruby
2
star
11

taskboard

An agile planner for the rest of us
JavaScript
2
star
12

growww

Webby source for growww.com
2
star
13

wadl-library

Collection of WADL (Web Application Description Language) representations for APIs, extended for Apigee.
1
star
14

atmosphere-on-gae

Atmosphere Demo on GAE
1
star
15

jira_exception_collector

Send your Rack exceptions to JIRA
Ruby
1
star
16

manalang.github.com

JavaScript
1
star
17

frontender

Posterous theme for http://frontender.posterous.com
JavaScript
1
star
18

hipchat-github-addon

THIS IS JUST A MIRROR REPOSITORY. THE REAL REPO IS ON BITBUCKET!
JavaScript
1
star
19

ngrok-desktop

A simple ngrok desktop menubar app
JavaScript
1
star
20

rest-api-browser

An API browser intended to be embedded into a web app.
JavaScript
1
star
21

coolmartian-canyon

PHP
1
star
22

twome

A better twitter.com on Chrome
JavaScript
1
star