sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Yardoc for ruby api

    Scheduled Pinned Locked Moved Developers' Forum
    14 Posts 6 Posters 602 Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      Sounds interesting. Sign me up.

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        @thomthom said:

        Sounds interesting. Sign me up.

        You should be able to push directly, thanks.

        Hi

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          I have the basic hierarchy set up for the classes and modules. It's nice to be able to see all of a classes methods and inherited methods on a single page ; for example Sketchup::Edge.

          0118.png

          The next most important work is to add @return tags to as many methods as possible in order to enable linking the return values to the documentation for the returned type.

          For example, the following would enable linking back to the Array class in the documentation, which is handy when following the method lookup chain of SketchUp objects.

          module Sketchup
            class Edge
              # @return [Array] an array of connected entities plus the edge itself.
              def all_connected
              end
            end
          end
          

          See the yard guide for more info.

          Hi

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            Dan Rathbun
            last edited by

            Looks nice so far !

            I'm not here much anymore.

            1 Reply Last reply Reply Quote 0
            • jolranJ Offline
              jolran
              last edited by

              Yeah, this looks really great. Thanks for doing this!

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                @dan rathbun said:

                Looks nice so far !

                @jolran said:

                Yeah, this looks really great. Thanks for doing this!

                Thanks.

                Did you know you can do online edits right on github? Should I sign you up? πŸ˜‰

                Hi

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  I really want to add info to UI::WebDialog and Geom::PolygonMesh which is areas where the official docs are lacking and/or often plain wrong! I got a bit much on my plate right now, but I'll get around to it.

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • jolranJ Offline
                    jolran
                    last edited by

                    @unknownuser said:

                    Did you know you can do online edits right on github? Should I sign you up?

                    I'm afraid of messing things up 😳

                    I mean, maybe it's best if these things are done by proffessionals.

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      I feel the same.

                      But Github has version history, so if you mess something up, one of the professionals sxhould be able to undo your changes if I recall correctly.

                      I'm hoping maybe this will be a good chance for me to learn how to work on one of these collaborative projects. I never really got into it that last time (skx, etc).

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        Go for it! πŸ˜„
                        These docs can easily become better than the official.

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • Dan RathbunD Offline
                          Dan Rathbun
                          last edited by

                          Bookmark these links:

                          YARD Features

                          YARD Tags

                          I'm not here much anymore.

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bigcatln
                            last edited by

                            Sounds a good idea,support!

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim
                              last edited by

                              Added some new methods that came in version 8.0 M2. https://github.com/jimfoltz/SketchUp-Ruby-API-Doc

                              The new GitHub Windows client makes it very easy to contribute.

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement