0.01
Low commit activity in last 3 years
There's a lot of open issues
A long-lived project that still receives updates
SketchUp Ruby API YARD template.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.15.0, < 3.0

Runtime

~> 0.9.37
~> 3.26
 Project Readme

SketchUp Ruby API YARD Template

Gem Version

This is the customized YARD template the SketchUp team uses to generate the SketchUp Ruby API documentation.

It is made available for easy re-use. Using this gem a local copy of the documentation can be generated from our SketchUp Ruby API stubs.

Example Usage

Make sure YARD and yard-sketchup are installed:

gem install yard
gem install yard-sketchup

Example .yardopts config:

--title "SketchUp Ruby API Documentation"
--no-api
--no-private
--plugin yard-sketchup
SketchUp/**/*.rb
-
pages/*.md

The assets and pages directory can be found in the SketchUp Ruby API stubs repository.

Useful YARD Commands

TL;DR - YARD Usage

Note: The Thor commands mentioned above are wrappers on top of these YARD commands.

Generate API Documentation: yardoc

Exclude a version:

yardoc --query '@version.text != "SketchUp 2018"'

Generate API Stubs: yardoc -t stubs -f text

Generate coverage.manifest: yardoc -t coverage -f text