Skip to content

Commit

Permalink
Add README and script to build docs in development
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisbernard committed Oct 14, 2024
1 parent 43280b7 commit c6fd922
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# RorVsWild theme for RDoc

## Usage

```
gem install rorvswild_theme_rdoc
rdoc --root path/source/code --template=rorvswild
```

## Development

Call the custom `rdoc.rb` script which automatically loads RorVsWild'd theme.

```
./rdoc.rb --root path/source/code --template rorvswild
```
8 changes: 8 additions & 0 deletions rdoc.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby

$LOAD_PATH.prepend(File.expand_path(File.dirname(__FILE__)) + "/lib")

require "rdoc"
require "rorvswild_theme_rdoc"

RDoc::RDoc.new.document(ARGV)

0 comments on commit c6fd922

Please sign in to comment.