Dash Docset for Xojo

I’ve got some great news for those of you who use Dash from Kapeli to view your technical documentation. Long story short, I’ve been working on getting the Xojo API2 docs into Dash for quite some time now and it’s finally here!

Here are the steps to install the new docset…

  1. Go to Dash
  2. Open the Settings
  3. Go to the Downloads tab
  4. Click on User Contributed in the left hand pane
  5. Search for Xojo
  6. The first listing there will be Xojo
  7. Press Download or the popup arrow to view that it’s 2023r4

One thing to note is that as part of the generation, I disabled the left navigation bar that is normally seen in the HTML Xojo docs as navigation is covered by Dash itself.

For those who might be interested in the journey to get here, I’ll elaborate. Being a full time Dash user, just like everyone else I’ve been relegated to the old API1 docsets. In mid-August of this year Bogdan at Kapeli rolled out a new Docset Generator to automatically create your own docset based upon an HTML source. I put it through its paces with the latest Xojo API2 documentation at the time, but it didn’t produce the result I was looking for.

Towards the end of the month I reached out to Bogdan and asked if you could update his internal docsets of Xojo to API2 and I noted that things had switched over to Sphinx for the HTML generation. Then towards the end of November a new version of Dash rolled out and lo and behold, it included support for Sphinx within the Docset Generator.

I got to working on a User Contributed but hosted by Kapeli docset. With lots of changes and back and forth with Bogdan over the holidays, the final hurdle was some kind of an index bug in the Sphinx side of the Docset Generator. He just fixed this yesterday, I recreated the docset last night and early this morning the Docset went live.

12 Likes

Thanks Patrick!

This is really helpful since I exclusively use Dash for documentation.

I still dislike the formatting that they went with for the new documentation, but this will make it a lot more palatable.

@Patrick_Salo
Newest docset available is 2021r3.1
I am not finding the docset for 2023r4 as you said is available.
And the oldest one is 2019r3.2
It would be nice to be available 2019r1.1 (latest Web1.0 xojo version)


May be because my Dash version is not the last one ?
I have Dash version 4.6.7

You’ll want to look in the User Contributed tab in the left hand pane (two down from your current selection based upon your screenshot).

1 Like

Great. Now I have it !!! THANKS

1 Like

@Patrick_Salo You just made my day. I moved to a new laptop and was rebuilding my Dash,

Thank you very much.

1 Like

Lovely work. Thank you very much.

1 Like

After a bit of time in the queue with Kapeli, the Xojo DocSet for Dash has been updated to 2024r1.

Unfortunately it appears to have replaced the 2023r4 version. :frowning: I’ve reached out to Bogdan to see what can be done to retain prior versions of the DocSets (e.g. similar to the listing you get when looking under the Main DocSets when you press the disclosure button).

I’ll keep everyone updated and sorry for any churn for those of you not moving up to 2024r1 yet. :crossed_fingers: that this will be worked out soon.

3 Likes

Looks like a configuration problem on my end and Bogdan @ Kapeli provided the guidance I needed. He merged things in earlier tonight and everyone should be all set.

If you press the popup (disclosure) arrow as defined in Step 7, you’ll now see 2024r1 and 2023r4 as the Docsets that you can download.

Also if anyone sees this post and is looking for API1 compatible Docsets, instead of looking in the User Contributed in Step 4, look in the Main Docsets section where you’ll find older Docsets Bogdan created several years ago. As of this writing I’m seeing 2019r3.2 through 2021r3.1.

1 Like

Isn’t this already API2 (or have substential changes) ?

Personally I wouldn’t consider 2019r3.2 to be fully API2 compatible. There’s some API2 there, but there’s also lots of deprecations and slight language changes since then. One of my motivations to create a Docset using the newer documentation version is because Project Analyze would regularly flag parts of my code when I use the following analysis warning:

Item is deprecated. You should use Item instead

The root cause was that I was using older documentation and not using the newer vernacular of API2 everywhere.

The other question folks might have, is why even have a Docset for 2024r1 when 2023r4 would likely suffice? It’s things like the new ShowPopover method in DesktopWindow that will only be found under 2024r1 plus any other general documentation fixes or improvements the Xojo team has made. So ideally one would want to pair the precise Xojo Docset version to the actual Xojo version they’re using (or as close as possible).

I do not use API2 nor API1.5 :wink: at all…

Great news in that the Dash Docset for 2024r4 is now available! Just a refresher from the top of the thread…

  1. Go to Dash
  2. Open the Settings
  3. Go to the Downloads tab
  4. Click on User Contributed in the left hand pane
  5. Search for Xojo
  6. The first listing there will be Xojo
  7. Press Download or the popup arrow to select the version to download

I did go through and submit Docsets for all the intermediary versions that were missing as well (e.g. 2024r2 & 2024r3). Alas the Xojo documentation footprint is too much for Bogdan @ Kapeli to host (over 350MB a piece) so he’s removed 2024r3, 2024r2 & 2024r1. I’ve let him know that going forward I’ll keep things to just a single Docset per Xojo year.

6 Likes

Thanks for putting in all that effort. I just wanted to chime in for any Linux or Windows users. Grab a copy of Zealdocs (https://zealdocs.org/) then…

  1. Go to Zeal
  2. Open “Tools”
  3. Open “Docsets”
  4. Click on “Add feed” (feeds can be found here: https://zealusercontributions.vercel.app/)
  5. Search for Xojo
  6. Copy the feed URL
  7. Paste in into the Zeal “Add feed” dialog

If you have prior years docsets, they can be “sideloaded” by popping them into the Zeal docset folder manually.

3 Likes