vendor/bundle/ruby/2.5.0/gems/jekyll-2.4.0/lib/jekyll/plugin_manager.rb
# Public: Setup the plugin search path
#
# Returns an Array of plugin search paths
Setup the plugin search path
Returns an Array of plugin search paths
Setup the plugin search path Returns an Array of plugin search paths
def plugins_path
      if (site.config['plugins'] == Jekyll::Configuration::DEFAULTS['plugins'])
        [Jekyll.sanitized_path(site.source, site.config['plugins'])]
      else
        Array(site.config['plugins']).map { |d| File.expand_path(d) }
      end
    end
def plugins_path if ( site . config [ 'plugins' ] == Jekyll :: Configuration :: DEFAULTS [ 'plugins' ] ) [ Jekyll . sanitized_path ( site . source , site . config [ 'plugins' ] ) ] else Array ( site . config [ 'plugins' ] ) . map { | d | File . expand_path ( d ) } end end
Public: Setup the plugin search path
Returns an Array of plugin search paths
Public : Setup the plugin search path Returns an Array of plugin search paths