From 053930ae4f9d0042000d91ac0bb4414195c5a74b Mon Sep 17 00:00:00 2001 From: Michael Camilleri Date: Thu, 30 May 2019 08:33:26 +0900 Subject: [PATCH] Configure YARD to document protected code By default, YARD does not document code marked private or protected. There are important elements of Rouge (such as the `Rouge::RegexLexer::StateDSL#rule` method) that are marked protected but are intended for broad use. This ensures that documentation is generated for those elements. --- .yardopts | 1 + 1 file changed, 1 insertion(+) diff --git a/.yardopts b/.yardopts index 2d5dda37e9..6e5e74b73f 100644 --- a/.yardopts +++ b/.yardopts @@ -1,3 +1,4 @@ --no-private +--protected --markup-provider=redcarpet --markup=markdown