No release in over 3 years
Low commit activity in last 3 years
TBD
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0.8.7, < 1.0.0
>= 0.1.2, < 2.0.0
 Project Readme

yard-api-slatelike

What is?

A plugin that overrides the templates provided by yard-api to make it look more like slate.

Usage

Nothing special except that you have to include the gem in your Gemfile (if using bundler) after yard-api. E.g:

# Gemfile

group :doc do
  gem 'yard-api'
  gem 'yard-api-slatelike'
end

Here's a sample Rake task doc:generate that invokes yard-api's rake task:

namespace :doc do
  desc 'generate docs using yard-api'
  task :generate => :environment do
    require 'yard-api'
    require 'yard-api/yardoc_task'
    require 'yard-api-slatelike'

    YARD::APIPlugin::YardocTask.new(:my_app_docs)
    Rake::Task['my_app_docs'].invoke
  end
end

Configuration

The plugin comes with two themes out of the box, one that is a mimic of Slate's, and another which follows the same layout but with different colors and a few readability (opinionated) enhancements.

  1. slate (default)
  2. vroom (recommended)

You can specify the theme in your yard_api.yml file under the theme parameter.

License

Released under the AGPLv3 license.