Conversation

tyrauber

A basic css stylesheet with font and table styling, without the need for bootstrap. The stylesheet is read and embedded into the html enabling the html examples to be easily shared/viewed without requiring external resources. The stylesheet can also be overridden within an app by creating a stylesheet with similar name in the app directory: app/assets/stylesheets/rspec_api_documentation/styles.css

…ling, without the need for bootstrap.

The stylesheet resides at lib/rspec_api_documentation/assets/stylesheets/rspec_api_documentation/styles.css, but may be overridden by creating a stylesheet in the app directory, app/assets/stylesheets/rspec_api_documentation/styles.css.  This allows users to override the default styles if so desired.

The styles are read from the stylesheet and embedded in the HTML, allowing the individual example html pages to be styled without the need for an external resource.
@oestrich

I like this. Going to merge it in manually because I'd like to make the app/assets/stylesheets/... folder configurable. I'm trying to keep RAD as framework agnostic as possible. We can default to that folder though.

@tyrauber

Yeah, I had the same thought - At least for the ability to change the stylesheet name.

@oestrichoestrich merged commit 102f4b3 into zipmark:master Aug 13, 2014
Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.