Corrected a handful of documentation typos.
This commit is contained in:
parent
1dc9b97a5e
commit
df1236412b
|
@ -2,7 +2,7 @@
|
|||
libdir = File.expand_path(File.dirname(__FILE__))
|
||||
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
||||
|
||||
# Require thor since that's what the who CLI is built around
|
||||
# Require Thor since that's what the whole CLI is built around
|
||||
require 'thor'
|
||||
require 'thor/group'
|
||||
|
||||
|
@ -11,7 +11,7 @@ module Middleman
|
|||
|
||||
module Cli
|
||||
|
||||
# The base task from which everything else etends
|
||||
# The base task from which everything else extends
|
||||
class Base < Thor
|
||||
class << self
|
||||
def start(*args)
|
||||
|
|
|
@ -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…
Reference in a new issue