Elixir Livebook is a secret weapon for documentation
31–40 of 72 posts
Re: Elixir Livebook is a secret weapon for documentation
#32Sorry for asking a dumb question, but how is this different from using Jupyter to write your interactive documentation/runbooks and interactive tests?
It requires you to run a far less common tech stack and limits your hiring to a vanishingly small subset of developers.
Paradoxically, that may be a good thing.
Re: Elixir Livebook is a secret weapon for documentation
#33One simple thing I need thats stopping me from jumping into Livebook fully: Salesforce API integration. Right now, I can't manage to make the auth work there (since oAuth needs some http redirect dance). Connecting to some proper SQL database is a breeze, but if I cannot access some silo'ed data that is absilute critical, its not that useful after all :-/
Re: Elixir Livebook is a secret weapon for documentation
#34Sorry for asking a dumb question, but how is this different from using Jupyter to write your interactive documentation/runbooks and interactive tests?
> how is this different from using Jupyter It requires you to run a far less common tech stack and limits your hiring to a vanishingly small subset of developers. Paradoxically, that may be a good thing.
Re: Elixir Livebook is a secret weapon for documentation
#35While I'm glad the idea of tying documentation to tests is catching on, I think markdown documentation -> create tests is the wrong way around. I built this tool to let people generate evergreen markdown documentation from annotated type-safe YAML integration tests: https://github.com/hitchdev/hitchstory
To anyone curious, I highly recommend:
- https://hitchdev.com/hitchstory/approach/
- https://hitchdev.com/hitchstory/why-not/
From the overall RDD/BDD type home page:
- https://hitchdev.com/hitchstory/
The entire product site is a thing of richly informative beauty.
---
My only question was whether the generated 'docs' snippets would add value over just reading the story in your DASL. Any markdown site generator (such as the chosen Material for MKDocs) can just embed the ```yaml anyway. But then I realized what was generating e.g. …
- https://hitchdev.com/hitchstory/using/engine/rewrite-story/
… and how superior that is to typical docs, especially typical docstring or swagger factories.
Re: Elixir Livebook is a secret weapon for documentation
#36To ensure you do not miss this: LiveBook comes with a Vega Lite integration ( https://livebook.dev/integrations -> https://livebook.dev/integrations/vega-lite/ ), which means you get access to a lot of visualisations out of the box, should you need that ( https://vega.github.io/vega-lite/ ). In the same "standing on giant's shoulders" stance, you can use Explorer (see example LiveBook at https://github.com/elixir-exp…
The vega-lite wrapper is very slim too, basically just converts your slithery_snake keys into humpyCamels and corrals between different data sources, so if the docs on the elixir page seem sparse its because most of the "how do I build a graph like x" is just on the vega docs. You can easily dump it to json to share too, etc.
Re: Elixir Livebook is a secret weapon for documentation
#37To ensure you do not miss this: LiveBook comes with a Vega Lite integration ( https://livebook.dev/integrations -> https://livebook.dev/integrations/vega-lite/ ), which means you get access to a lot of visualisations out of the box, should you need that ( https://vega.github.io/vega-lite/ ). In the same "standing on giant's shoulders" stance, you can use Explorer (see example LiveBook at https://github.com/elixir-exp…
The vega-lite wrapper is very slim too, basically just converts your slithery_snake keys into humpyCamels and corrals between different data sources, so if the docs on the elixir page seem sparse its because most of the "how do I build a graph like x" is just on the vega docs. You can easily dump it to json to share too, etc.
Re: Elixir Livebook is a secret weapon for documentation
#38Earlier quoted context omitted.
> how is this different from using Jupyter It requires you to run a far less common tech stack and limits your hiring to a vanishingly small subset of developers. Paradoxically, that may be a good thing.
Love it! yes, it might be better. We have found paying above market average and being tighter on interviews has a similar outcome.
Re: Elixir Livebook is a secret weapon for documentation
#39Sorry for asking a dumb question, but how is this different from using Jupyter to write your interactive documentation/runbooks and interactive tests?
Jupyter outputs JSON.