Document SyntaxHighlighter

Original problem: https://api-staging.kde.org/ksyntaxhighlighting-index.html does not show the QML types. (fixed by nicofee)

This MR makes SyntaxHighlighter show up and adds some docs for it to be usable since it's the entrypoint to use the API. Fixes to show other things like Repository and such are for later.

I probably got some things wrong (like the repository property), please correct :D

Also yes, there's some repetition, but that's fine.

I had one main problem, namely that KSyntaxHighlighting::Repository can't be linked. It just points to the index page instead. (Fixed by nicofee)

Very large image showing the result image

CC @vkrause @nicolasfella

Probably interests @akselmo as well

Edited by Thiago Sueto

Merge request reports

Loading
Loading