-
Notifications
You must be signed in to change notification settings - Fork 210
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
fix so that the logo is showing #275
Conversation
Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄 |
Alright I have signed that license! Thanks! :) |
Hmm, do you mean logo in
|
I'm getting the same output, but there is actually no logo showing in the generated html. That is, the output from the yuidoc command is the same before and after... It's just that without the fix there is actually no logo showing up in the generated html, but with the fix the logo shows. Can you please verify that the logo is actually there for you aslo in the generated html? And yes, I'm referring to the logo specified in the yuidoc.json |
Okay, this example works for me.
Run
The output as follows. |
Ehum... That works for me too actually... However, in my project it only works with the "fix" i provided in this pull request... So something is weird and needs fixing, I will investigate a bit and see if I can find out what... |
Thanks, a reproducible example will be appreciated. |
Well... Actually... Don't worry about this, it is working in my project now as well... Maybe I had an old version or something... |
Oh... It was actually my own cached version that made it work... Ok will investigate a bit... |
CLA is valid! |
Got it... it is connected to preprocessors, which makes sense also if you look at the code also... so if you do (in a clean directory):
Then use this
And run:
And look in the output folder, then the logo will be gone... With my fix it works, so I would still say that my fix is valid... Let me create a unit test also... |
bump? |
I tried to install
|
Oh I don't know if it works for preprocessors to be installed globally, maybe that's the problem if that's how you installed it. Then that's a separate bug that I feel responsible for causing since I implemented the preprocessor thingy... :) Anyway, this is exactly what I did to reproduce:
So this creates a node_modules directory and installs
My youdoc version installed globally is 0.3.49. I run on mac (if there is something strange with the paths maybe for other os:es). So also this shows that the behaviour of the preprocessor modules is not intuitive somehow, but that's a separate question... |
Gotcha. My error is due to installed
or
But I think that this is a different problem. We probably need to file an another issue for this. So I could reproduce @limikael's original bug, and I just confirmed that this problem resolves by this PR. I'm ok with this PR. |
Ok sounds good! If you file an issue related to the preprocessor loading I will look at that... |
Done! See #279. |
Hi,
The logo wasn't working for me, after this fix it is.
I also tried to create a test to actually verify what is going on but I wasn't able to really.
If someone can provide more info on how and why then that would be interesting.