* Add YARD and plugins to generate source code doc * Expose yard Ruby doc in gitdocs * Add yard doc step to Travis * Tell netlify to build the docs before deploying * Add Gemfile for Ruby prerequisites and Makefile * Makefile uses tabs, not spaces * Build ruby-doc and then gitdocs * Add recent Ruby version to make sure yard plugins work * Switch Ruby to a pre-built version inside Netlify * Add ActiveRecord for the yard-activerecord plugin * Add Ruby doc header link and info to build it locally
10 lines
558 B
Ruby
10 lines
558 B
Ruby
# frozen_string_literal: true
|
|
|
|
source "https://rubygems.org"
|
|
|
|
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
|
|
gem "activerecord", "~> 5.2.3" # Databases on Rails
|
|
gem "yard-activerecord", "~> 0.0.16" # YARD extension that handles and interprets methods used when developing applications with ActiveRecord
|
|
gem "yard-activesupport-concern", "~> 0.0.1" # YARD extension that brings support for modules making use of ActiveSupport::Concern
|
|
gem "yard", "~> 0.9.19" # YARD is a documentation generation tool for the Ruby programming language
|