- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 404
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
No documentation for top level namespace #776
Comments
It seems to generate in One thing I noticed is that we no longer seem to list Top Level Namespace in the index, which could be why you're not seeing it? |
Oh, you're right. I see now that the file is generated. Apparently, it's the link to the method in the web interface that doesn't work. |
Why does clicking the method replace your entire page with the method list? That's likely what is going wrong, as I think the links there are powered by JS to replace the parent frame or something like that. The method list should only ever appear inside of an iframe, never the full page. |
Good question. It only does that when clicking the top level namespace method. I wonder if I can figure out what's going wrong in the javascript. btw, clicking the top level namespace method in the method list generates this warning in chrome:
Changing to the latest jquery removed the warning, but not the incorrect behaviour. |
Fixes regression where "Top Level Namespace" was missing from namespace listing page. References #776
Trying to document a simple script w/o classes (like the quadruple function below). The method shows up in the method list, but there's no documentation.
Wrapping the function in a class (like the double function below) works (but is not an option)
According to http://stackoverflow.com/questions/19465192/how-to-document-simple-scripts-with-yard it should work w/o classes
rake (10.3.2)
rdoc (4.1.1)
yard (0.8.7.4)
The text was updated successfully, but these errors were encountered: