@@ -1,16 +1 @@ | |||||
{% extends "demo.django" %} | |||||
{%hyde | |||||
title: | |||||
description: | |||||
teaser: | |||||
standalone: generator.htm | |||||
%} | |||||
{% block introduction %} | |||||
{% endblock introduction %} | |||||
{% block documentation %} | |||||
{% endblock documentation %} | |||||
# -*- coding: utf-8 -*- |
@@ -17,7 +17,7 @@ def main(): | |||||
parser.add_argument('-s', '--sitepath', action='store', default='.', help="Location of the hyde site") | parser.add_argument('-s', '--sitepath', action='store', default='.', help="Location of the hyde site") | ||||
subcommands = parser.add_subparsers(title="Hyde commands", | subcommands = parser.add_subparsers(title="Hyde commands", | ||||
description="Entry points for hyde") | description="Entry points for hyde") | ||||
init_command = subcommands.add_parser('init', help='Initializes a new hyde site') | |||||
init_command = subcommands.add_parser('init', help='Create a new hyde site') | |||||
init_command.set_defaults(run=init) | init_command.set_defaults(run=init) | ||||
init_command.add_argument('-f', '--force', action='store_true', default=False, dest='force', | init_command.add_argument('-f', '--force', action='store_true', default=False, dest='force', | ||||
help='Overwrite the current site if it exists') | help='Overwrite the current site if it exists') | ||||
@@ -1,3 +1,4 @@ | |||||
# -*- coding: utf-8 -*- | |||||
def init(args): | def init(args): | ||||
print args.sitepath | print args.sitepath | ||||
print args.force | print args.force | ||||
@@ -1,3 +1,4 @@ | |||||
# -*- coding: utf-8 -*- | |||||
""" | """ | ||||
Unified object oriented interface for interacting with file system objects. File system operations in | Unified object oriented interface for interacting with file system objects. File system operations in | ||||
python are distributed across modules: os, os.path, fnamtch, shutil and distutils. This module attempts | python are distributed across modules: os, os.path, fnamtch, shutil and distutils. This module attempts | ||||
@@ -0,0 +1 @@ | |||||
# -*- coding: utf-8 -*- |
@@ -1,16 +1 @@ | |||||
{% extends "demo.django" %} | |||||
{%hyde | |||||
title: | |||||
description: | |||||
teaser: | |||||
standalone: layout.htm | |||||
%} | |||||
{% block introduction %} | |||||
{% endblock introduction %} | |||||
{% block documentation %} | |||||
{% endblock documentation %} | |||||
# -*- coding: utf-8 -*- |
@@ -1,16 +1 @@ | |||||
{% extends "demo.django" %} | |||||
{%hyde | |||||
title: | |||||
description: | |||||
teaser: | |||||
standalone: plugin.htm | |||||
%} | |||||
{% block introduction %} | |||||
{% endblock introduction %} | |||||
{% block documentation %} | |||||
{% endblock documentation %} | |||||
# -*- coding: utf-8 -*- |
@@ -1,3 +1,4 @@ | |||||
# -*- coding: utf-8 -*- | |||||
""" | """ | ||||
Use nose | Use nose | ||||
`$ pip install nose` | `$ pip install nose` | ||||
@@ -1,16 +1 @@ | |||||
{% extends "demo.django" %} | |||||
{%hyde | |||||
title: | |||||
description: | |||||
teaser: | |||||
standalone: theme.htm | |||||
%} | |||||
{% block introduction %} | |||||
{% endblock introduction %} | |||||
{% block documentation %} | |||||
{% endblock documentation %} | |||||
# -*- coding: utf-8 -*- |
@@ -0,0 +1 @@ | |||||
# -*- coding: utf-8 -*- |