From aebeef9a83691947680fc4abc4470dc037524a76 Mon Sep 17 00:00:00 2001 From: Samuel Hym Date: Mon, 29 Jul 2013 13:07:31 +0200 Subject: [PATCH] Correct a few typos in comments --- hyde/engine.py | 2 +- hyde/generator.py | 8 ++++---- hyde/site.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hyde/engine.py b/hyde/engine.py index 85ac171..2dc0cdc 100644 --- a/hyde/engine.py +++ b/hyde/engine.py @@ -114,7 +114,7 @@ class Engine(Application): """ The serve command. Serves the site at the given deployment directory, address and port. Regenerates - the entire site or specific files based on ths request. + the entire site or specific files based on the request. """ sitepath = self.main(args) site = self.make_site(sitepath, args.config, args.deploy) diff --git a/hyde/generator.py b/hyde/generator.py index 0ec04c8..558fafa 100644 --- a/hyde/generator.py +++ b/hyde/generator.py @@ -67,8 +67,8 @@ class Generator(object): def load_template_if_needed(self): """ - Loads and configures the template environement from the site - configuration if its not done already. + Loads and configures the template environment from the site + configuration if it's not done already. """ class GeneratorProxy(object): @@ -105,7 +105,7 @@ class Generator(object): def load_site_if_needed(self): """ - Checks if the site requries a reload and loads if + Checks if the site requires a reload and loads if necessary. """ self.site.reload_if_needed() @@ -266,7 +266,7 @@ class Generator(object): incremental=False): """ Generates a single resource. If resource_path is non-existent or empty, - generats the entire website. + generates the entire website. """ if not self.generated_once and not incremental: return self.generate_all() diff --git a/hyde/site.py b/hyde/site.py index 08b08e3..e5ed6f1 100644 --- a/hyde/site.py +++ b/hyde/site.py @@ -286,7 +286,7 @@ class RootNode(Node): def add_node(self, a_folder): """ Adds a new node to this folder's hierarchy. - Also adds to to the hashtable of path to node associations + Also adds it to the hashtable of path to node associations for quick lookup. """ folder = Folder(a_folder)