I'm running:
./bin/pdoc -o outDir test/fixtures/ajax.js
from the root of the repo. It completes the parsing phase, but then I
get this:
Parsing source files: test/fixtures/ajax.js.
Parsing completed in 4.938345 seconds.
Generating documentation to: /Users/nrajlich/Desktop/pdoc/outDir.
/Users/nrajlich/Desktop/pdoc/lib/pdoc/generators/html/
syntax_highlighter.rb:10:in `initialize': undefined method `to_sym'
for nil:NilClass (NoMethodError)
from /Users/nrajlich/Desktop/pdoc/lib/pdoc/generators/html/website.rb:
21:in `new'
from /Users/nrajlich/Desktop/pdoc/lib/pdoc/generators/html/website.rb:
21:in `initialize'
from /Users/nrajlich/Desktop/pdoc/lib/pdoc/runner.rb:36:in `new'
from /Users/nrajlich/Desktop/pdoc/lib/pdoc/runner.rb:36:in `render'
from /Users/nrajlich/Desktop/pdoc/lib/pdoc/runner.rb:43:in `run'
from ./bin/pdoc:57
I've noticed in recent commits it has noted stuff about "Syntax
Highlighter", and ideas? Thanks in advance!
In the meantime you can just set the :syntax_hichlighter option
to :none when you instantiate the runner.
Best,
Tobie