markvincze / sabledocs

Simple static documentation generator for Protobuf and gRPC contracts.
MIT License
45 stars 12 forks source link

CSS theming #16

Open stoiandan opened 8 months ago

stoiandan commented 8 months ago

Hi,

I was wondering if there is a way to specify, or to include a CSS file to the generated HTML, so that the page can be customized. Thanks!

markvincze commented 8 months ago

Hi @stoiandan,

Thanks for showing an interest in the library and sending the question!

At the moment there is no built-in feature to include one extra CSS file.

But you can replace the whole HTML template, and then you can include an additional CSS in it, or adjust the existing CSS file. This is not a documented feature at the moment, but I just tested it now, and it works, you need to do the following: