hammerspoon
hammerspoon copied to clipboard
docs.css missing from local help page
My hammerspoon help page seems to be missing its docs.css.
When I call hs.doc.hsdocs.help()
, the page opens, but it's all messed up.
When I display the source code in Safari, it tells me that the docs.css cannot be loaded.
I already replaced my hammerspoon.app file with a freshly downloaded one, but it didn't help.
Please Help :'-/
Thanks :-)
Pinging @cmsj - I assume the CSS file was just left out of the new method to copy across files into the app bundle.
As a workaround you can copy manually copy the CSS file across from GitHub.
Thank you @latenitefilms. I managed to solve the problem using the workaround you suggested :-)
I'll leave this issue open as a reminder for the devs to fix it.
@cmsj, during your changes to the build process, I think you left out copying the docs.css file into the hsdocs
folder of the doc extension... in the original build process you can see this here: https://github.com/Hammerspoon/hammerspoon/blob/d2eb524a001e251e24d97eb43c1142d5ba7ecce7/scripts/copy_extensions_to_bundle.sh#L127
I'm not in a place to look at Hammerspoon in XCode at the moment... but I seem to recall you migrated these move statements directly into the Hammerspoon build process instead of as a separate script, correct?