summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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