The API documentation is apparently missing some subheadings.
Compare, for example, this source .md file
https://github.com/mmomtchev/rlayers/blob/main/src/style/RStyle.md
with the generated output
https://mmomtchev.github.io/rlayers/api/#styles
You can see that all the subheadings are missing from the API documentation, making it very hard to interpret.