diff options
author | p4bl0 <pablo@rauzy.name> | 2010-07-25 18:52:35 +0200 |
---|---|---|
committer | p4bl0 <pablo@rauzy.name> | 2010-07-25 18:52:35 +0200 |
commit | 81fa7bd8b6a632a77ccf6267bbd06b4ebfa06594 (patch) | |
tree | 61673afeb87c3d94d4083cce221a2c1a3eab6a16 /README | |
parent | dbae9472bd08b9e5edd5bbdc5dcd8a0781010511 (diff) |
now generating rss feed too
Diffstat (limited to 'README')
-rw-r--r-- | README | 90 |
1 files changed, 52 insertions, 38 deletions
@@ -1,12 +1,12 @@ fugitive README file -<h2>Info</h2> +<h2 id="info">Info</h2> <p> fugitive is a blog engine running on top of git using hooks to generate static html pages and thus having only git as dependency. </p> -<h2>Install</h2> +<h2 id="install">Install</h2> <h3>Build</h3> <p> @@ -28,9 +28,14 @@ fugitive README file <dir>. <br /> If <dir> isn't specified then the current working directory is used. -<p> -<p> - <strong>NOTE:</strong> You need to use the same process to install any remote +</p> +<p class="important"> + Once you have installed your blog you need to set the <em>blog-url</em> + parameter in your git configuration. See <a href="#config">configuration</a> + for details. +</p> +<p class="note"> + You need to use the same process to install any remote repository where you'd like to push your blog. </p> <h3>Update</h3> @@ -40,42 +45,52 @@ fugitive README file If <dir> isn't specified then the current working directory is used. </p> -<h2>Configuration</h2> +<h2 id="config">Configuration</h2> <p> - There are three paths in the "fugitive" section of the git config: + All this settings are in the "fugitive" section of the git config. + You can change them with the command <code>git config + fugitive.<em>parameter</em> <em>value</em></code>, where <em>parameter</em> + is one of the following: </p> -<ul> - <li> - <em>public-dir</em> is the path to the directory that will contain the - generated html files. Defautlt value is ".", the root of the git - repository. You could set it to "blog" for instance if you - already have a static website under your git repos. - </li> - <li> - <em>articles-dir</em> is the path where fugitive will look for published - articles. Default value is "_articles". This path is relative to - the root of the git repository, must be in it and must not start with - ".". - </li> - <li> - <em>templates-dire</em> is the path where fugitive will look for templates - files. Default value is "_templates". This path is relative to - the root of the git repository, must be in it and must not start with - ".". - </li> -</ul> -<p> - <strong>NOTE:</strong> You must NOT put a trailing '/' at the end of any of - those paths. -</p> -<p> - If you want your article to be preprocessed by an external tool (markdown, - textile...) you need to set <em>preproc</em> to a command line that will read - on stdin and write to stdout. +<dl> + <dt>blog-url</dt> + <dd> + This is the public url of the generated blog. <strong>You need to set + it</strong> as soon as possible since it's required for the RSS feed (and + used in the default template's footer). + </dd> + <dt>public-dir</dt> + <dd> + This is the path to the directory that will contain the generated html + files. Defautlt value is ".", the root of the git repository. You + could set it to "blog" for instance if you already have a static + website under your git repos. + </dd> + <dt>articles-dir</dt> + <dd> + This is the path where fugitive will look for published articles. Default + value is "_articles". This path is relative to the root of the + git repository, must be in it and must not start with ".". + </dd> + <dt>templates-dire</dt> + <dd> + This is the path where fugitive will look for templates files. Default + value is "_templates". This path is relative to the root of the + git repository, must be in it and must not start with ".". + </dd> + <dt>preproc</dt> + <dd> + If you want your article to be preprocessed by an external tool (markdown, + textile...) you need to set <em>preproc</em> to a command line that will + read on stdin and write to stdout. + </dd> +</dl> +<p class="note"> + You must NOT put a trailing '/' at the end of any of the path. </p> -<h2>Usage</h2> +<h2 id="usage">Usage</h2> <h3>General use</h3> <p> @@ -86,8 +101,7 @@ fugitive README file The first line of the file will be used as title and the rest of the file as the content. </p> -<p> - <strong>/!\ WARNINGS:</strong><br /> +<p class="warning"> DO NOT CREATE AN ARTICLE FILE NAMED "archives".<br /> DO NOT CREATE AN ARTICLE FILE NAMED "index". </p> |