The language-independent documentation for Cosmic