Hammerspoon / hammerspoon

Staggeringly powerful macOS desktop automation with Lua

Home Page:http://www.hammerspoon.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docs.css missing from local help page

lhemkendreis opened this issue · comments

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.
image

When I display the source code in Safari, it tells me that the docs.css cannot be loaded.
image

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.

commented

@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:

cp -av "${SRCROOT}/scripts/docs/templates/docs.css" "${HS_DST}/doc/hsdocs"

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?