-
Notifications
You must be signed in to change notification settings - Fork 35
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
What path for grunt.file.expand? #130
Comments
I get 404 errors when it loads on several of the resource files too: github.css, ngplugin.css,doc_api.css, and angular-route.min.js.map. Is the really beta ready? |
For what it's worth, we've been using this to host our angular documentation for with no problems. But I realize that's just our setup and may not be applicable to you. So, on that note, the 'files' bit... could you give a bit of an example of what your folder structure looks like? For instance,
Then I can attempt to repro that and help you nail down a configuration that works. |
Great, thanks. My application is setup like so: Hope that helps. |
My apologies on the delay - had some pre-release bugs that needed ironing out. I'm pretty sure that your 'files' should be grunt.file.expand(['app/js/*/.js']). Can you paste the output here? Or if it has any private information, I can give you an email to send it to. |
Well, i don't know why it didn't previously work, but when i went back and ran it.......it worked!!! Thanks for taking time to help me through this. Pretty cool stuff! |
Hmmm. I still get 404 errors for a few resource files(github.css, ngplugin.css,doc_api.css, and angular-route.min.js.map). It would seem that the document descriptions should render in the doc, but they are not. I used the below code from this(#54) thread, and it did not render the description?
|
So my application path setup looks like this:
/app/js/a-controller.js
/app/js/controllers/b-controller.js
I've go this config:
baseUrl: "http://localhost:8000/app/docs/",
docular_webapp_target: 'app/docs',
I'm struggling with the groups files configuration field, each of what i have listed below produces nothing. Any help with what this should be?
files: grunt.file.expand(['../app/js//*.js'])
files: grunt.file.expand(['../js//.js'])
files: grunt.file.expand(['../js/.js'])
files: grunt.file.expand(['app/js/**/*.js'])
The text was updated successfully, but these errors were encountered: