-
Notifications
You must be signed in to change notification settings - Fork 74
Description
The Page.get_keyword_names function attempts to auto-detect that it is running from within libdoc, and returns an abridged version of the keywords (ie: it doesn't include aliases). This is great when generating documentation from libdoc, but not so great when generating documentation from other documentation tools (think: robotframework-hub, and maybe others).
It would be nice if there was a public, documented way to set this flag. What I'm doing now is import robotpageobjects.page; robotpageobjects.page.in_ld=True, but that seems sketchy and prone to breaking in future releases of the pageobjects code.
I would like a supported way to flip this bit. Perhaps a class method (Page.set_keyword_mode("libdoc")) or at least a guarantee that robotpageobjects.in_ld is public, and won't change in future versions of the library.