# Dash docset for Elm now uses the packages.elm-lang.org styling

**URL:** <https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143>\
**Category:** Show and Tell\
**Created:** [February 7, 2020, 1:34pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143 "2020-02-07T13:34:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![kraklin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/kraklin/32/385_2.png) [@kraklin](https://discourse.elm-lang.org/u/kraklin)\
**Post date:** [February 7, 2020, 1:34pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/1 "2020-02-07T13:34:10Z")

</div>

For all of you who uses Dash ([https://kapeli.com/dash](https://kapeli.com/dash)) or Zeal ([https://zealdocs.org/](https://zealdocs.org/)) for offline elm packages documentation:

We have updated the list of packages (and I’ll try to do that on monthly bases in the future) but we have also changed the coloring of the code snippets. It now uses the style that is at the [packages.elm-lang.org](http://packages.elm-lang.org) site instead of default one.

Do you like it? Do you have some requests regarding Dash elm documentation?

File the issue at [https://github.com/kraklin/elm-docset](https://github.com/kraklin/elm-docset) or (continuation of pdamoc/elm-docset, thanks @pdamoc for that 😉 )

 ![Screenshot 2020-02-07 at 14.20.25](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/2X/f/fb6a7ae33b4fa919082b8c0b4b7eba0888de88c8.png)

---

<div class="post-metadata">

**Author:** ![eberfreitas](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/eberfreitas/32/2741_2.png) [@eberfreitas](https://discourse.elm-lang.org/u/eberfreitas)\
**Post date:** [February 7, 2020, 1:51pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/2 "2020-02-07T13:51:42Z")

</div>

I didn’t know about Zeal. Gonna try it out.

Code snippets are looking good 🙂

---

<div class="post-metadata">

**Author:** ![kraklin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/kraklin/32/385_2.png) [@kraklin](https://discourse.elm-lang.org/u/kraklin)\
**Post date:** [February 7, 2020, 2:02pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/3 "2020-02-07T14:02:42Z")

</div>

[https://zealdocs.org/](https://zealdocs.org/) 😉

---

<div class="post-metadata">

**Author:** ![eberfreitas](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/eberfreitas/32/2741_2.png) [@eberfreitas](https://discourse.elm-lang.org/u/eberfreitas)\
**Post date:** [February 7, 2020, 2:28pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/4 "2020-02-07T14:28:55Z")

</div>

Uhm, I couldn’t find the Elm docset. How can I enable it?

---

<div class="post-metadata">

**Author:** ![kraklin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/kraklin/32/385_2.png) [@kraklin](https://discourse.elm-lang.org/u/kraklin)\
**Post date:** [February 7, 2020, 2:43pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/5 "2020-02-07T14:43:35Z")

</div>

I’m using Dash, not Zeal so I have no particular idea - quick googling on the topic found this and Elm is mirrored there: [https://zealusercontributions.now.sh/](https://zealusercontributions.now.sh/)

```auto
To install a docset in Zeal: 
Copy the .xml url, open Zeal, click on Tools -> Docsets... -> Installed -> Add feed. Paste the URL and click OK

```

---

<div class="post-metadata">

**Author:** ![brian](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/brian/32/2180_2.png) [@brian](https://discourse.elm-lang.org/u/brian)\
**Post date:** [February 10, 2020, 2:50pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/6 "2020-02-10T14:50:23Z")

</div>

> Do you like it?

Yes! I **love** having docs available offline and on a hotkey. So helpful! I have docsets for all the languages and libraries I use available trivially. Dash has some warts (like prefixing the haskell and hackage docsets differently) but I don’t mind 'em at all since the benefit is so enormous.

To that end, thank you for taking over and updating this! Really helpful. ❤

> Do you have some requests regarding Dash elm documentation?

I actually do! I wonder about using this generation script to generate a docset for only the packages and versions that a specific project uses? For example, I work on a really big project and we took a while to upgrade to `elm/http` 2.x since 1.x was working fine for us. I’d love to run this script in CI and publish an XML to an internal location so that I could pull down the correct set of docs for each project to make this situation a little easier. Do you think that would be possible?

---

<div class="post-metadata">

**Author:** ![kraklin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/kraklin/32/385_2.png) [@kraklin](https://discourse.elm-lang.org/u/kraklin)\
**Post date:** [February 10, 2020, 6:06pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/7 "2020-02-10T18:06:01Z")

</div>

@brian Thanks for pointing that out. It was not obvious to me that we are creating packages for only the latest version and in our company we had the problem with being on HTTP 1.0 for a while as well so I can relate to the need for having different version of the package docs e.g. locally.

It should be possible with some e.g. whitelist of versions you want for specific packages as right now it is hardcoded to take the last one - [https://github.com/kraklin/elm-docset/blob/master/generate.py#L337](https://github.com/kraklin/elm-docset/blob/master/generate.py#L337)

I’m not a Python dev, so I’m not sure if the change needed is huge or small one, I can imagine something like:

- read whitelist for versions
- process docs, if you find package that is whitelisted, try to get the specified version, if you can’t use the latest

If you know how to Python, feel free to file PR and we can discuss it there 😉

---

<div class="post-metadata">

**Author:** ![alexkorban](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/alexkorban/32/3242_2.png) [@alexkorban](https://discourse.elm-lang.org/u/alexkorban)\
**Post date:** [February 10, 2020, 10:41pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/8 "2020-02-10T22:41:10Z")

</div>

The update looks good. Thank you for maintaining the docset! I use it practically every day in Dash. For me it isn’t even about offline use, it’s just much more convenient for me than the package site because of the search and navigation.

---

<div class="post-metadata">

**Author:** ![kraklin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/kraklin/32/385_2.png) [@kraklin](https://discourse.elm-lang.org/u/kraklin)\
**Post date:** [February 16, 2020, 6:54pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/9 "2020-02-16T18:54:16Z")

</div>

Yeah, that’s so true. I’m quite used to the ability of searching the exact function I need from the package 😃

---

<div class="post-metadata">

**Author:** ![mch](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/mch/32/817_2.png) [@mch](https://discourse.elm-lang.org/u/mch)\
**Post date:** [February 18, 2020, 3:07pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/10 "2020-02-18T15:07:44Z")

</div>

Thanks for this! I was wondering if there was an Elm docset available.

For those on Windows, I couldn’t get Zeal to work, but there is another doc viewer, [Velocity](https://velocity.silverlakesoftware.com/), that seems to work ok.

---

<div class="post-metadata">

**Author:** ![kraklin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/kraklin/32/385_2.png) [@kraklin](https://discourse.elm-lang.org/u/kraklin)\
**Post date:** [February 18, 2020, 3:28pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/11 "2020-02-18T15:28:28Z")

</div>

Thank you. I didn’t know that Velocity exists as I used Zeal back in my Windows days. So I hope everything runs smoothly there 😉

---

<div class="post-metadata">

**Author:** ![eimfach](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/eimfach/32/3247_2.png) [@eimfach](https://discourse.elm-lang.org/u/eimfach)\
**Post date:** [February 21, 2020, 7:51pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/12 "2020-02-21T19:51:04Z")

</div>

Thank you ! I use Dash 3 sometimes, and wasn’t aware that there is an elm dockset for it, always wanted it ! Also, there is one little issue for Dash 3: There are no left and right whitespace margins like shown in your screenshot …

 ![Bildschirmfoto 2020-02-21 um 20.50.22](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/2X/3/3d2b8d9b58e43f7a3ec4f07ec358b0db0e017d17.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [March 2, 2020, 7:51pm UTC](https://discourse.elm-lang.org/t/dash-docset-for-elm-now-uses-the-packages-elm-lang-org-styling/5143/13 "2020-03-02T19:51:07Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
