Corrected a handful of documentation typos.
This commit is contained in:
parent
1dc9b97a5e
commit
df1236412b
4 changed files with 6 additions and 6 deletions
|
@ -58,7 +58,7 @@ module Middleman
|
|||
parent.children.reject { |p| p == self }
|
||||
end
|
||||
|
||||
# Whether this resource either a directory index, or has the same name as an existing directory in the source
|
||||
# Whether this resource is either a directory index, or has the same name as an existing directory in the source
|
||||
# @return [Boolean]
|
||||
def directory_index?
|
||||
path.include?(app.config[:index_file]) || path =~ /\/$/ || eponymous_directory?
|
||||
|
|
|
@ -73,7 +73,7 @@ module Middleman
|
|||
end
|
||||
|
||||
# Merge in new metadata specific to this resource.
|
||||
# @param [Hash] metadata A metadata block like provides_metadata_for_path takes
|
||||
# @param [Hash] meta A metadata block like provides_metadata_for_path takes
|
||||
def add_metadata(meta={})
|
||||
@local_metadata.deep_merge!(meta.dup)
|
||||
end
|
||||
|
|
|
@ -113,7 +113,7 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
# Get a recusive list of files inside a set of paths.
|
||||
# Get a recursive list of files inside a set of paths.
|
||||
# Works with symlinks.
|
||||
#
|
||||
# @param paths Some paths string or Pathname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue