From 8d0f89e1e253c5be3ad85d3bfda456e2fd09b812 Mon Sep 17 00:00:00 2001 From: Jared White Date: Sat, 21 Dec 2024 22:11:02 -0800 Subject: [PATCH] Add some file excludes for YARDoc generation (#964) --- .yardopts | 8 +++++++- bridgetown-core/lib/bridgetown-core.rb | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.yardopts b/.yardopts index 8adb9fd6b..46ddec046 100644 --- a/.yardopts +++ b/.yardopts @@ -4,4 +4,10 @@ bridgetown-foundation/lib/**/*.rb bridgetown-paginate/lib/**/*.rb bridgetown-routes/lib/**/*.rb -m markdown --p yard/templates \ No newline at end of file +-p yard/templates +--exclude bridgetown-core/lib/bridgetown-core/configurations/ruby2js/hello_world.js.rb +--exclude bridgetown-core/lib/bridgetown-core/configurations/vercel/vercel_url.rb +--exclude bridgetown-core/lib/site_template/server/roda_app.rb +--exclude bridgetown-core/lib/site_template/plugins/site_builder.rb +--exclude bridgetown-core/lib/site_template/TEMPLATES/erb/_components/shared/navbar.rb +--exclude bridgetown-core/lib/site_template/TEMPLATES/serbea/_components/shared/navbar.rb \ No newline at end of file diff --git a/bridgetown-core/lib/bridgetown-core.rb b/bridgetown-core/lib/bridgetown-core.rb index 14c20d04c..c5af5ac0a 100644 --- a/bridgetown-core/lib/bridgetown-core.rb +++ b/bridgetown-core/lib/bridgetown-core.rb @@ -54,8 +54,9 @@ def require_all(path) # Monkey patches: +# @!visibility private module HashWithDotAccess - class Hash # :nodoc: + class Hash def to_liquid to_h.to_liquid end