From df43f188b0205b17495d2a2e61f1cb44ac5b892d Mon Sep 17 00:00:00 2001 From: Alexis Bernard Date: Thu, 17 Oct 2024 12:20:26 +0200 Subject: [PATCH] Rename development script make it more obvious --- README.md | 6 +++--- rdoc.rb => rorvswild-theme-rdoc | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) rename rdoc.rb => rorvswild-theme-rdoc (84%) diff --git a/README.md b/README.md index cb1856a..90f2838 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,13 @@ If you want to use this theme in your documentation: gem install rorvswild_theme_rdoc # Generate the documentation -rdoc --root path/to/source/code --template=rorvswild +rdoc --root path/to/source/code --template rorvswild ``` ## Development -Call the custom `rdoc.rb` script which automatically loads RoRvsWild's theme. +Call the custom `rorvswild-theme-rdoc` script which automatically loads RoRvsWild's theme. ``` -./rdoc.rb --root path/to/source/code --template rorvswild +./rorvswild-theme-rdoc --root path/to/source/code ``` diff --git a/rdoc.rb b/rorvswild-theme-rdoc similarity index 84% rename from rdoc.rb rename to rorvswild-theme-rdoc index a51d54d..2e4daa6 100755 --- a/rdoc.rb +++ b/rorvswild-theme-rdoc @@ -5,4 +5,5 @@ require "rdoc" require "rorvswild_theme_rdoc" +ARGV << "--template=rorvswild" RDoc::RDoc.new.document(ARGV)