-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slate-bundled JS files generated as broken symlinks #25
Comments
Is this still true for this report? If you could tell me what the following symlinks are trying to point to, from your
I'd also like to know whether you used |
That is still true, though it's worth noting that if I try to run Running
I have been using |
This should be fixed in |
Bug Description
As of
3.0.0-2
, I am able to build and serve the documentation site successfully. However, there appears to be an error with several of the JS files from Slate that get generated, namely "imagesloaded.min.js", "jquery.min.js", and "lunr.min.js". The error seems to stem from the call tonpx reslate init
, where the code files that get generated are symlinks instead of the files themselves, and inspecting these symlinks reveals them to be broken. If I look in the "node_modules" directory for reslate, the source files for these files are broken symlinks as well.The symlinks are copied to the output upon running
npx reslate build
, which results in several aspects of the final site not working properly. For example, the code snippet column shows the sample code from all languages at once, and clicking the language tabs does nothing.Here is the directory of my API description after having only run
npx reslate init
(note the curled arrows by the aforementioned files indicating they are symlinks and inspecting the files results in a read error):And here is the resulting web page (note the code samples for Ruby, Python, Shell, and JavaScript are all being displayed simultaneously):
And this is the console output from the web page (the errors regarding
$
would be because the jQuery script isn't being loaded):The text was updated successfully, but these errors were encountered: