diff options
| -rw-r--r-- | .yardopts | 2 | ||||
| -rw-r--r-- | Rakefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ --exclude opal_ext --hide-api private --o rdoc --plugin tomdoc --title "Asciidoctor API Documentation" +--output-dir rdoc @@ -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 |
