taza docs not working

jen's Avatar

jen

26 Feb, 2019 03:51 PM

  1. Support Staff 1 Posted by lsegal on 26 Feb, 2019 05:52 PM

    lsegal's Avatar

    This is due to a parsing error in the taza gem. If this is your library, you can fix it by changing instances of {browser.element_by_xpath(...)} in examples on lib/taza/page.rb to include spaces around the braces ({ browser... }). Omitting the braces throws off YARD and causes it to interpret the reference as a class method, which is invalid in that context.

    If this is not your library, I would recommend reporting the error to http://github.com/hammernight/taza -- the issue can reproduced by running yard --debug on the project locally.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • taza-doc_screengrab.png 1.31 MB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac