-
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
Trouble using yuidoc.json #160
Comments
Figured this out. Had to provide the -c yuidoc.json option to the yuidoc command too. |
Even though this worked it would be good to know why it did not work without adding the -c switch. |
Putting the yuidoc.json file in the search path doesn't seem to work. Ran it with the --server option and the server debug output says that it found my yuidoc.json file and was processing it, the values in the name/version/logo were not used. Then I used the --config option and it works. |
I am having problems even specifying the -c option. [Using YUIDoc@0.3.47 using YUI@3.9.1 with NodeJS@0.10.24] BTW, my json is trivial... |
I am able to reproduce the problem that @polyglotinc described using YUIDocJS@0.3.47 and nodejs@0.10.12 By adding an 'options' entry with an 'outdir' directory to the JSON that @polyglotinc used I was able to get the correct output (e.g. had the logo URL pointing to http://www.polyglotinc.com/Gravy/Gravy/logo.jpg and the correct version number. NOTE - the output directory is actually the same as the default output directory. Using an empty 'options' object did not trigger YUIDoc to apply the other settings properly.
|
Had the same problem, did what lexander said and added an options block with the default output directory and it worked fine. |
Hi,
This might not be an issue but I am not able to figure this out. All the settings seem to be correct.
I have just started using yuidoc. However, I am having a slight issue. I have the outdir option to point to my custom directory in yuidoc.json file. But on running yuidoc . on my source tree, I cannot see the files under the custom directory. The default "out" folder is generated, just seems as thought the outdir option is ignored. Could you help me out here?
YUIDoc version: 0.3.44
Node version: 0.8.22
YUI version: 3.9.1
Thanks,
The text was updated successfully, but these errors were encountered: