It is documented somewhat using rst: https://github.com/mcvine/mcvine/blob/38f37cf820df34096deb10dafaa08bef855a67b2/docs/sphinx/KernelImplementation.rst
But we may need more docs in notebook format to mix calculation, formula, and explanations