Comments (3)
Are these cases where the doc is written too much human-style that yardoc cannot extract parameters?
First of all, re rdoc based doc, its been a while since I looked at rdoc, so I don't recall how well it can doc parameter or return types/descriptions. Regardless, even it it can, the comments in Ruby don't do so. Examples at my doc site here.
Is there a yardoc method that returns html-formatted description? Should we otherwise try to convert RDoc formatting into html (RDoc stdlib, markdown javascript)?
Do we need to convert \n into <br/>?
I'll take a look. I think so, but don't recall how.
I haven't downloaded the plug-in or forked the repo yet. FYI, I've got Ruby 2.3 hacked into SU 2017, I'll try the code there. Right now I'm spending most of my 'OSS time' trying to get better windows support for Ruby...
from sketchup-console-plus.
The method block_given?
did not show documentation in all contexts (e.g. when directly called at Kernel) because on Kernel it is used as class method (Kernel.block_given?
) but it is documented as. instance method (Kernel#block_given?
). When I added lookup in included modules in commit 5c2bbe3 it seems this was also fixed.
For RDoc I decided to detect and replace markup in the description text with a simple regexp (instead of requiring additional libraries). fc419a3
from sketchup-console-plus.
I guess I had forgotten about that. Notice the difference between the Kernel method lists of rubydoc.info and msp-greg.github.io...
Glad you got it sorted out. Thanks,
from sketchup-console-plus.
Related Issues (20)
- Multiple warnings when on a Portuguese version HOT 7
- SketchUp Console+ closes when Geolocating HOT 1
- Error when transfering strings with non-UTF-8 compatible bytes HOT 2
- Tutorials HOT 3
- Warning upon launching Console+ 3.1.3 HOT 5
- Text in some console window is white on pale grey - almost ureadable HOT 1
- Points visualized as vectors? HOT 2
- Idea: In-console visualizations HOT 3
- undefined local variable or method `cp' HOT 1
- Draw 3d normals using view.draw? HOT 2
- super laggy some times
- Promise.then method conflicts with standard ruby in Sketchup 2021
- Documentation search not working?
- Console is lagging even after uninstalling console-plus
- Load error, ruby 3
- Display file paths in error trace as a links
- Sketchup2022(Get a reference to an entity in the model by picking it with the pointer.)not work HOT 1
- ReferenceError: ace is not defined HOT 1
- Intro to Sketchup tutorial fails on first step? HOT 5
- Not starting in Sketchup 2024 HOT 1
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 sketchup-console-plus.