Comments (16)
When you say class overview, what are you referring to? http://yardoc.org/docs/TwP-servolux looks right to me
from yard.
The Servolux::Daemon class has a lengthy explanation of how to use the class just above the class declaration. RDoc will capture this class comment and put it at the top of the file. Yard used to do this (version 2.3.5.1) but the latest release no longer pulls in this data for this particular gem.
http://github.com/TwP/servolux/blob/master/lib/servolux/daemon.rb
All the leading commentary is not showing up in yardoc output.
TwP
If you would like a more real-time conversation, IM me at tim(dot)pease(at)gmail(dot)com using your favorite jabber IM client.
from yard.
Okay, I confirmed this bug in with the legacy parser and in 1.8. Should be fixed soon.
from yard.
Note that you have a "# class Servolux::Daemon" following the end of your class definition. If you remove that, the prepended comments should show up- YARD is just getting confused because it accepts both prepended comments and comments appended to the end of the line. I will make it so that the legacy parser takes the prepended comments at a higher precedence.
from yard.
Legacy parser should prioritize prepended comments over appended ones.
Closed by e545ba0
from yard.
I'm still getting this error. I pulled down the change you made, installed the gem and run it against my project. The odd thing is that it caught and parsed the text for one class, but no others.
from yard.
Which one is yours?
from yard.
http://github.com/sprsquish/blather/tree/better-docs
the "better-docs" branch of Blather
from yard.
It looks correct to me: http://yardoc.org/docs/sprsquish-blather/Blather/Client
Anything wrong on any of the pages? I'm seeing everything you would expect.
from yard.
hm.. that all looks right. what options did you pass in?
I'm building my docs with the rake task. And I don't get the search box in the upper left
from yard.
The search box is a customization for the live docs at yardoc.org. I tested this locally, though, and I get the same results. I simply used yardoc
in the base directory, which is what the Rake task does by default as well. Verify that you've properly updated yard (yardoc -v
), and make sure to delete 0.2.3.5 if you still have it, the rubygems plugin is known to interfere.
from yard.
ah.. It works on ruby 1.9 not on 1.8.7
from yard.
I tested this in 1.8 as well. Same result:
Generated on Tue Nov 17 02:15:51 2009 by yard 0.4.0 (ruby-1.8.7).
from yard.
Perhaps your gem install in 1.8 is not using the stable branch and doesn't have the recent changes?
from yard.
I updated both from the cloned repo.
The other odd thing is that the Index isn't in alphabetical order on 1.8.7.
from yard.
Thanks, index ordering is fixed in 1.8, but I still get proper data when generating for your project in 1.8.
from yard.
Related Issues (20)
- Is there a way to define reusable type definitions?
- yield_handler_spec.rb test fails with recent ruby3.3.0dev HOT 5
- `.yardopts` refuses filenames containing non-ASCII characters HOT 1
- Documented classes missing from generated class_list.html but present in generated alphabetical index.
- Unicode characters breaks YARD generation
- RangeError When using pattern matching in YARD documentation generation HOT 2
- Attribute source code
- Wrong documentation for order-dependent lists. HOT 1
- Remove OpenStruct HOT 3
- Documenting constants defined in a Ruby C extension
- `yard server` ignores `--query`
- Commonmarker 1.0 support HOT 1
- Do you know where the file plugins/yard_plugin.rb is coming from? HOT 1
- Global search - how it works? HOT 2
- What is the proper way to document a class returned from Data.define? HOT 8
- How is !group directive working? HOT 6
- Error on case statement parsing HOT 1
- Expand path non-absolute home HOT 8
- Any way to ignore Undocumentable? HOT 4
- difference in behavior, MacOS vs Linux/CI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yard.