spring-io / spring-doc-resources

Asciidoctor theme for Spring reference documentations
https://spring.io/
Apache License 2.0
40 stars 20 forks source link

Allow customization of stylesheets by projects using Spring Doc Resources #31

Open odrotbohm opened 4 years ago

odrotbohm commented 4 years ago

We occasionally need to tweak a few of the CSS declared in spring.css and Asciidoctor unfortunately doesn't seem to have a solution to using multiple CSS files. I wonder if it was possible if the project here would out of the box include an additional, empty CSS file. Consuming projects could then override those custom CSS declarations by maintaining a file named as the empty one and just copy theirs over the one produced by Spring Doc Resources.

odrotbohm commented 4 years ago

This doesn't seem to be necessary. I've resorted to the following strategy to make customizations: