Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Teach SlateWriter to prepend custom YAML Front Matter #294

Closed
myabc opened this issue Jul 18, 2016 · 2 comments
Closed

Comments

@myabc
Copy link
Contributor

myabc commented Jul 18, 2016

Something along the lines of:

  RspecApiDocumentation.configure do |config|
    config.api_name   = 'My Documentation'
    config.format     = [:html, :slate]
    config.slate_index_front_matter = <<-YAML
toc_footers:
  - <a href='https://github.com/zipmark/rspec_api_documentation/'>Documentation Powered by RSpec API Documentation</a>
includes:
  - custom
  - errors
search: true
YAML
  end
@myabc
Copy link
Contributor Author

myabc commented Jul 18, 2016

Should make customisation of tabs easier, e.g. #295

@myabc myabc changed the title [Feature Request] Teach SlateFormatter to prepend custom YAML Front Matter [Feature Request] Teach SlateWriter to prepend custom YAML Front Matter Jul 19, 2016
@oestrich
Copy link
Contributor

Closing after #375 was merged. If this is still a problem please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants