summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2014-07-03 02:13:09 -0600
committerDan Allen <dan.j.allen@gmail.com>2014-07-03 02:13:25 -0600
commit6da62e23c856ff00ab318ed9ed986d6de2349002 (patch)
tree1a1e6e5957d7bb01c45637e1329e59885e320e53
parent91d3ed62f96756d0aa06a0c99ed123d2fb87e05e (diff)
fix yard task
-rw-r--r--.yardopts2
-rw-r--r--Rakefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.yardopts b/.yardopts
index d717fce2..5e8f41c0 100644
--- a/.yardopts
+++ b/.yardopts
@@ -1,5 +1,5 @@
--exclude opal_ext
--hide-api private
--o rdoc
--plugin tomdoc
--title "Asciidoctor API Documentation"
+--output-dir rdoc
diff --git a/Rakefile b/Rakefile
index f1c08c55..6ff240df 100644
--- a/Rakefile
+++ b/Rakefile
@@ -92,7 +92,7 @@ begin
)
# --no-highlight enabled to prevent verbatim blocks in AsciiDoc that begin with $ from being dropped
# need to patch htmlify method to not attempt to syntax highlight blocks (or fix what's wrong)
- yard.options = IO.readlines '.yardopts'
+ yard.options = (IO.readlines '.yardopts').map {|l| l.chomp.delete('"').split ' ', 2 }.flatten
end
rescue LoadError
end