bin/pdoc not working on commit e4290279a1d42bc02b09b234291a2d05c0134a43?

7 views
Skip to first unread message

TooTallNate

unread,
Dec 25, 2009, 4:43:03 PM12/25/09
to PDoc
Hello, the (as of today) newest commit into pdoc
(e4290279a1d42bc02b09b234291a2d05c0134a43) doesn't seem to execute
properly for me.

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!

Tobie Langel

unread,
Dec 26, 2009, 9:34:34 PM12/26/09
to PDoc
I'll be fixing this asap.

In the meantime you can just set the :syntax_hichlighter option
to :none when you instantiate the runner.

Best,

Tobie

Reply all
Reply to author
Forward
0 new messages