kapshot
mdx
kapshot | mdx | |
---|---|---|
2 | 1 | |
69 | 263 | |
- | 0.8% | |
4.0 | 6.5 | |
11 months ago | about 2 months ago | |
Kotlin | OCaml | |
MIT License | ISC License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kapshot
-
Elixir Livebook is a secret weapon for documentation
The ability to execute sample code during documentation generation seems invaluable. Instead of being subject to rot, documentation turns into an executable test suite.
I've been working on something like this for Kotlin using a compiler plugin that allows code to access the source text of lambdas, functions and classes being executed. You write code that spits out markdown and captures its own source into code blocks.
https://github.com/mfwgenerics/kapshot
-
Is there a way to make this possible in Kotlin
Maybe try https://github.com/mfwgenerics/kapshot
mdx
-
Elixir Livebook is a secret weapon for documentation
This concept sounds quite a bit like the usage of .mdx files in OCaml. Those are markdown files which can load and execute OCaml code in them.
They are useful for unit testing code like libraries, providing usage examples for end-users (as well as the text format markdown usually supports) and testing it at the same time. Definitely a great idea for documentation, and one which I should use more of.
https://github.com/realworldocaml/mdx
What are some alternatives?
kotlinx-knit - Kotlin source code documentation management tool
hitchstory - Type-safe YAML integration tests. Tests that write your docs. Tests that rewrite themselves.
bumblebee - Pre-trained Neural Network models in Axon (+ 🤗 Models integration)
notebooks - A collection of Livebook notebooks
livebook - Automate code & data workflows with interactive Elixir notebooks
explorer - Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir
Docusaurus - Easy to maintain open source documentation websites.
vega-lite - A concise grammar of interactive graphics, built on Vega.