-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
gulp build-docs does not copy 'dist' to docs/out #177
Comments
I'm not sure I understand. |
I am having the same problem, did you find the fix @brianveltman? |
You run the command from the ui directory. Perhaps that is the issue? |
Yes, I am in the semantic folder after installing it without any custom settings. The gulp build-docs creates the src folder, but not dist. Here is the log:
|
It's been a while for me now. I'll dive in to this today and report back :) |
Something strange is going on. I found the issue, did not solve it yet. |
I've gone through it all from scratch and it's still missing the dist folder. detailed step-by-step:
So when running gulp build-docs it created all .overrides and .variables files in docs/out/src instead of css. js in /docs/out/dist. When I copy the dist folder to docs/out everything works fine. |
For now I used a work-around by changing semantic.json output to
|
The only fault I can see in your steps is #3 isnt necessary. You arent installing Semantic UI directly in docs at all but running it from a sibling directory. If you run Keep in mind you dont want to run these gulp commands from the doc folder, but the adjacted UI folder. |
When running gulp build-docs it only creates the src folder with all .variables and .overwrite files but not the dist folder. |
After reading the README.md several times I still had no clue how to successfully run the Docs on my local machine, so I looked through the issues hoping to find something usage related, and found Semantic-Org#177 and Semantic-Org#242 clearing things up a little, but still not completely. Based on brianveltman's step-by-step and jlukic's reply on it in Semantic-Org#177 I was finally able to run the Docs locally. I expanded the How to Use guide to a structure with more levels and refined parts that were not clear enough for me. My goal was to end up with a How to that I can follow almost blindly and end up with the running Docs.
Maybe my comment in related issue could help: |
@brianveltman did you ever resolve this? I'm having the same issue. |
I figured out why there is no dist folder. on line#187 on line#201 on line#214 |
When I run gulp build-docs it does not copy the actual dist folder to the docs server. I have to manually copy the dist folder to make it work.
The text was updated successfully, but these errors were encountered: