sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

    [Project] Community Documentation Effort

    Scheduled Pinned Locked Moved Developers' Forum
    11 Posts 5 Posters 796 Views 5 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.
    • danielbowringD
      danielbowring
      last edited by

      Hey,

      It's no secret that the documentation for the ruby API has its problems. We've asked for problems to be fixed (and we had comments for a while!) but it seems the dev team is too busy with other things to maintain it (which, in-of-itself is a good thing - SketchUp improvements!)

      So, I've started working on a community written API documentation. I've mostly decided on a style and layout, but before things are set in stone I'd like to have some input from other people.

      The project is hosted on Github and is made of of two parts:

      • A Wiki to hold information on all the classes, modules, methods, ... as well as tutorials and guides
      • A repository for non-trivial examples and resources (such as images)

      I'll be waiting a few days before I start the real effort so I can (hopefully) get some feedback from everyone. I suggest looking at the wiki page for UI, UI::WebDialog and UI::WebDialog#write_image for an example of each main "type" of page (module, class, method).

      I know a lot of the information is scattered around already (especially here on these forums), but hopefully we can consolidate it into one, organised location.

      1 Reply Last reply
      Reply Quote 0
      • M
        mptak
        last edited by

        Sounds like a good idea, especially the github part, but are there other efforts out there?

        1 Reply Last reply
        Reply Quote 0
        • danielbowringD
          danielbowring
          last edited by

          Only other one I'm aware of is JimFoltz's, but his doesn't allow the kind of stuff a wiki can.

          1 Reply Last reply
          Reply Quote 0
          • Rich O BrienR
            Rich O Brien Moderator
            last edited by

            That's a great idea. Is there a means of embedding that on a webpage here?

            It would be a great reference point for people to get to.

            Download the free D'oh Book for SketchUp πŸ“–

            1 Reply Last reply
            Reply Quote 0
            • tt_suT
              tt_su
              last edited by

              Just so you're aware, we're looking into new solution for the API docs. I don't know of any time frame, yet though.

              1 Reply Last reply
              Reply Quote 0
              • danielbowringD
                danielbowring
                last edited by

                @rich o brien said:

                Is there a means of embedding that on a webpage here?

                I doubt there will be any particular mechanism (as there is for gists) because of demand reasons.

                1 Reply Last reply
                Reply Quote 0
                • danielbowringD
                  danielbowring
                  last edited by

                  @tt_su said:

                  Just so you're aware, we're looking into new solution for the API docs. I don't know of any time frame, yet though.

                  That's great! I'll continue working on this in the meantime, though. There's still a lot of community info to round-up and it may even come of use once you guys have whatever it is you're planning sorted.

                  Here's hoping you deprecate this soon πŸ˜›

                  1 Reply Last reply
                  Reply Quote 0
                  • tt_suT
                    tt_su
                    last edited by

                    Yea, when we get the new system up we need to review everything - and input from the users of the docs is valuable.

                    I got a couple of repositories myself with observer and webdialog bugs. Had to file them somewhere with some structure.

                    1 Reply Last reply
                    Reply Quote 0
                    • M
                      mptak
                      last edited by

                      Anything that gets folk using git is a good thing. That cool sketch-up community empowered with the power of github would be incredible

                      1 Reply Last reply
                      Reply Quote 0
                      • tt_suT
                        tt_su
                        last edited by

                        Yea, it would be good to see more community projects going.

                        1 Reply Last reply
                        Reply Quote 0
                        • M
                          matt.gordon320
                          last edited by

                          I'm still (extremely) new to ruby scripting and Git, but I'd be happy to help where I can!

                          1 Reply Last reply
                          Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better πŸ’—

                          Register Login
                          • 1 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement