- docs(*, new=0, autoraise=True)ΒΆ
Opens the pwfdf-api docs in a web browser
Open Docs
docs()
Opens the pwfdf-api docs in a web browser. Returns a boolean indicating whether the page was successfully opened.
Browser Options
docs(..., *, new) docs(..., *, autoraise=False)
Web browser options. The
newinput controls how the page is opened. 0 opens in the current window, 1 opens a new window, and 2 opens a new tab. Setautoraise=Falseto disable raising the opened page when possible.Note
Many web browsers ignore both these options.
- Inputs:
new (0 | 1 | 2) β (0 - default) current window, (1) new window, (2) new tab
autoraise (bool) β True (default) to autoraise the page. False to not autoraise
- Outputs:
bool β True if the page was opened successfully. Otherwise False.