I had an issue with getting content of docs for Padrino (
http://www.rubydoc.info/github/padrino/padrino-framework/) as described here
https://github.com/Thibaut/devdocs/issues/345.
I've implemented the
get_name
/
get_type
/
additional_entries
in my entries-filter and pushed the filters. You can find my code under
https://github.com/wikimatze/devdocs/tree/padrino-supportI get the following error when running thor docs:generate padrino:
thor docs:generate padrino
Note: this command will scrape the documentation from the source.
Some scrapers require a local setup. Others will send thousands of
HTTP requests, potentially slowing down the source site.
Please don't use it unless you are modifying the code.
To download the latest tested version of a documentation, use:
thor docs:download padrino
Proceed? (y/n) y
[###################################################################################################################################################] [1/1] [100.00%] [00:00] [00:00] [3.03/s]URL:
http://www.rubydoc.info/github/padrino/padrino-framework
/home/wm/.rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/node.rb:819:in `coerce': Requires a Node, NodeSet or String argument, and cannot accept a NilClass. (ArgumentError)
(You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)
from /home/wm/.rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/node.rb:769:in `add_sibling'
from /home/wm/.rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/node.rb:184:in `add_previous_sibling'
from /home/wm/.rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/node.rb:208:in `before'
from /home/wm/git/devdocs/lib/docs/filters/padrino/clean_html.rb:7:in `call'
Cheers,
Matthias