Browse Source

Correct a few typos in comments

main
Samuel Hym 11 years ago
committed by Lakshmi Vyasarajan
parent
commit
aebeef9a83
3 changed files with 6 additions and 6 deletions
  1. +1
    -1
      hyde/engine.py
  2. +4
    -4
      hyde/generator.py
  3. +1
    -1
      hyde/site.py

+ 1
- 1
hyde/engine.py View File

@@ -114,7 +114,7 @@ class Engine(Application):
""" """
The serve command. Serves the site at the given The serve command. Serves the site at the given
deployment directory, address and port. Regenerates 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) sitepath = self.main(args)
site = self.make_site(sitepath, args.config, args.deploy) site = self.make_site(sitepath, args.config, args.deploy)


+ 4
- 4
hyde/generator.py View File

@@ -67,8 +67,8 @@ class Generator(object):


def load_template_if_needed(self): 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): class GeneratorProxy(object):
@@ -105,7 +105,7 @@ class Generator(object):


def load_site_if_needed(self): 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. necessary.
""" """
self.site.reload_if_needed() self.site.reload_if_needed()
@@ -266,7 +266,7 @@ class Generator(object):
incremental=False): incremental=False):
""" """
Generates a single resource. If resource_path is non-existent or empty, 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: if not self.generated_once and not incremental:
return self.generate_all() return self.generate_all()


+ 1
- 1
hyde/site.py View File

@@ -286,7 +286,7 @@ class RootNode(Node):
def add_node(self, a_folder): def add_node(self, a_folder):
""" """
Adds a new node to this folder's hierarchy. 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. for quick lookup.
""" """
folder = Folder(a_folder) folder = Folder(a_folder)


Loading…
Cancel
Save