You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Not sure if this is still actually being maintained, but here is goes :)
I don't seem to be able to get full documentation (missing args and ruby comments) via robot.libdoc.
require 'robot_remote_server'
class TestServer
#Keyword documentation
def keyword(value)
puts "Hello " + value + " !"
end
end
if __FILE__ == $0
RobotRemoteServer.new(TestServer::new, host='localhost', port=8270)
end
YARD docs generated from same path: yardoc TestServer.rb
Result:
Keyword args and comments info missing from test.hmlt file.
Workaround
I am not familiar with Ruby, but a workaround I've found was to modify robot_remote_server.rb source file with additional load and force caching in get_keyword_arguments method:
Hi,
Not sure if this is still actually being maintained, but here is goes :)
I don't seem to be able to get full documentation (missing args and ruby comments) via robot.libdoc.
Environment:
TestServer.rb:
YARD docs generated from same path:
yardoc TestServer.rb
Serving:
ruby TestServer.rb
Robot docs generation:
python -m robot.libdoc Remote::http://127.0.0.1:8270 test.html
Result:
Keyword args and comments info missing from test.hmlt file.
Workaround
I am not familiar with Ruby, but a workaround I've found was to modify robot_remote_server.rb source file with additional load and force caching in get_keyword_arguments method:
The text was updated successfully, but these errors were encountered: