kotlin4example
crystal-book
kotlin4example | crystal-book | |
---|---|---|
1 | 2 | |
15 | 384 | |
- | 0.8% | |
6.0 | 8.1 | |
about 2 months ago | 4 days ago | |
Kotlin | Makefile | |
MIT License | GNU General Public License v3.0 or later |
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.
kotlin4example
-
Technical documentation that just works
This tool seems like it is a nice markdown based CMS but I don't see too many features related to the more difficult parts of doing technical documentation. Like having working code samples.
I attempted a Kotlin centric documentation framework a while ago to address this: https://github.com/jillesvangurp/kotlin4example
I mainly use it to generate the documentation for my Elasticsearch Kotlin Client (jillesvangurp/es-kotlin-client). The idea there is that all examples and source samples are correctly compiling Kotlin code that I can get the output of when they run (e.g. a println). Running the tests, actually generates the documentation markdown. Using a dsl and multiline strings, I can mix lambda code blocks, markdown, or markdown inside files. For the lambda blocks, it figures out the source and line numbers using reflection. But it can also grab source samples based on comment markers. For bigger blobs of markdown, it's easier to grab the content from markdown files. For smaller sections of markdown, I can use inline multi line strings or a Kotlin DSL.
The main benefit of this is that my examples update as I change and refactor the code base. Also, since it runs as part of my tests, I know when examples break.
crystal-book
-
Blocks and methods overloading
The other day while working on the Blocks section for the Crystal's tutorial, I came across something interesting about blocks, methods and overloading.
- Technical documentation that just works
What are some alternatives?
ltex-ls - LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
furo - A clean customizable documentation theme for Sphinx
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
mike - Manage multiple versions of your MkDocs-powered documentation via Git
sphinx - The Sphinx documentation generator
mkdocs-material - Documentation that simply works
autokeras - AutoML library for deep learning
mkdocstrings - :blue_book: Automatic documentation from sources, for MkDocs.
emacs-keyboard-shortcuts - A list of Emacs keyboard shortcuts that I use on a regular basis.
docs - The official Pi-hole documentation