Publish documentation to gitlab pages

Description

As mentioned in core!29 (merged) publish docs using the tool typedoc.

Explanation

To make it easier for developers as it provides an overview of the classes and methods and their signatures.

Dependencies, issues to be resolved beforehand

None.

cc: @krlwlfrt @sebastianlange

Edited by Jovan Krunić