Created
January 1, 2010 21:09
-
-
Save deepakjois/267250 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 380862a3686429338f7c7f76b5de16610ca1c44d Mon Sep 17 00:00:00 2001 | |
From: Deepak Jois <[email protected]> | |
Date: Fri, 1 Jan 2010 12:49:09 -0800 | |
Subject: [PATCH 1/2] Adding dist folder to gitignore | |
--- | |
.gitignore | 1 + | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
create mode 100644 .gitignore | |
diff --git a/.gitignore b/.gitignore | |
new file mode 100644 | |
index 0000000..1521c8b | |
--- /dev/null | |
+++ b/.gitignore | |
@@ -0,0 +1 @@ | |
+dist | |
-- | |
1.6.4.2 | |
From 4f254b6a1ba4655886e8af443e0f8d082b2bc72c Mon Sep 17 00:00:00 2001 | |
From: Deepak Jois <[email protected]> | |
Date: Fri, 1 Jan 2010 13:01:58 -0800 | |
Subject: [PATCH 2/2] Documentation cleanups | |
Removed templatedir option, and added some additional details. | |
--- | |
README.markdown | 8 ++++++-- | |
1 files changed, 6 insertions(+), 2 deletions(-) | |
diff --git a/README.markdown b/README.markdown | |
index ec2443f..de8fc56 100644 | |
--- a/README.markdown | |
+++ b/README.markdown | |
@@ -169,12 +169,15 @@ The configuration file specifies the following: | |
- `indexfile`: the filename of the index file (default: `index.yaml`) | |
- `title`: the title of the whole site | |
-- `templatedir`: the directory containing templates (default: `.`) | |
+- `sourcedir`: the directory containing all the templates and page sources | |
+ (default: `.`) | |
- `datadir`: the directory containing yaml data files (default: `.`) | |
- `filesdir`: the directory containing static files (default: `files`) | |
- `layout`: the default layout template for the site (default: | |
`layout.html.st`) | |
+The path of the `layout` template is relative to `sourcedir`. | |
+ | |
### `index.yaml` and submenus | |
The index file is a YAML list of pages. Each page may have the following | |
@@ -193,7 +196,8 @@ fields: | |
menu | |
Each page must have at least `url`, `title`, and either `template` or | |
-`source`. | |
+`source`. Values for `template`, `source` and `layout` are relative to | |
+`sourcedir` specified in `config.yaml`. | |
The pages may be organized into a tree-like hierarchy, which will be | |
reflected in the site navigation menu. It is easiest to see how this | |
-- | |
1.6.4.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment