Skip to content

Commit

Permalink
Add some file excludes for YARDoc generation (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite authored Dec 22, 2024
1 parent 88f8899 commit 8d0f89e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ bridgetown-foundation/lib/**/*.rb
bridgetown-paginate/lib/**/*.rb
bridgetown-routes/lib/**/*.rb
-m markdown
-p yard/templates
-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
3 changes: 2 additions & 1 deletion bridgetown-core/lib/bridgetown-core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d0f89e

Please sign in to comment.