Corrected a handful of documentation typos.

i18n_v4
Sam Symons 2014-01-09 19:49:41 -08:00
parent 1dc9b97a5e
commit df1236412b
4 changed files with 6 additions and 6 deletions

View File

@ -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)
@ -91,4 +91,4 @@ require 'middleman-cli/bundler'
require 'middleman-cli/extension'
require 'middleman-cli/server'
require 'middleman-cli/build'
require 'middleman-cli/console'
require 'middleman-cli/console'

View File

@ -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?

View File

@ -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

View File

@ -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