Search code examples
grailsdocumentationtextile

How can I change the CSS of the files that get generated with 'grails doc' in Grails


When I use grails doc, the tables I'm using in the markdown language have no padding, and I'd like to add some for readability. How can I accomplish this?


Solution

  • You can add custom css via configuration.

    grails.doc.css - The location of a directory containing custom CSS files (type java.io.File)

    Example:

    grails.doc.css = new File("src/docs/css")