Open the Hammerspoon 2 API documentation in a window
If the documentation window is already open, it is brought to the front (and restored if
minimized) instead of opening another one. It navigates to the requested page if
moduleName is given, or if it isn't currently showing the requested docs (JS or TS);
otherwise it stays on whatever page it is showing.
Parameters
OptionalmoduleName: string|null
Optional module to navigate to directly (e.g. "hs.application"). Omit to open the index page.
OptionalshowTS: boolean
Pass true to show TypeScript docs instead of JS docs
Open the Hammerspoon 2 API documentation in a window If the documentation window is already open, it is brought to the front (and restored if minimized) instead of opening another one. It navigates to the requested page if
moduleNameis given, or if it isn't currently showing the requested docs (JS or TS); otherwise it stays on whatever page it is showing.