Files
2026-02-08 11:20:43 -10:00
..
2026-02-08 11:20:43 -10:00
2026-02-08 11:20:43 -10:00
2026-02-08 11:20:43 -10:00

:samples

Code samples, as well as DataFrame iframes and Kandy plot images, for the documentation website.

Korro

Saves code samples using Korro.

To save or update samples:

  • Run the korroClean and korro Gradle tasks.

Important: May not work correctly until the migration from :core is finished. Run Korro tasks for the whole project.

SampleHelper

SampleHelper allows you to save the resulting Kandy plots as SVG images and DataFrames as iframes.

Running tests in this module will save or update these samples.

Important:

  1. If a sample has changed, verify that the change is intentional and correct. You can track it with the Git file changes tracker in IDEA.
  2. Add all iframes as resources in this file. Run this script to update them.

Notebook-To-Doc

A Kotlin notebook can be easily converted to documentation using this script. It produces two files: .kt and .md.

  • Place the .kt file in the tests of this module and run it.
  • Place the .md file in the docs topics directory.
  • Run the Korro tasks.