summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-11-10 21:37:38 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-11-10 21:49:10 -0500
commit77db0bd3cf2218317c06ef82d666c408165bd2de (patch)
tree4e34d46ad8b3e09f86af71b1de043e2e2579443a
parentfe264d96c4f7639b98fc54b877cb77afa40e956b (diff)
Renamed README.md to README.
-rw-r--r--Makefile.am2
-rw-r--r--README87
-rw-r--r--README.md96
3 files changed, 88 insertions, 97 deletions
diff --git a/Makefile.am b/Makefile.am
index 8420228..61fd7b2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -84,7 +84,7 @@ doc_haunt_TEXINFOS = doc/fdl-1.3.texi
EXTRA_DIST += \
pre-inst-env.in \
- README.md \
+ README \
guix.scm
SUBDIRS = \
diff --git a/README b/README
new file mode 100644
index 0000000..fd65a73
--- /dev/null
+++ b/README
@@ -0,0 +1,87 @@
+-*- mode: org -*-
+
+Haunt is a static site generator written in Guile Scheme. It's
+simple, functional, and extensible.
+
+* Features
+
+ - Easy blog and Atom feed generation
+ - Supports any markup language that can be parsed to SXML
+ - Simple development server
+ - Purely functional build process
+ - User extensible
+
+* Example Configuration
+
+#+BEGIN_SRC scheme
+ (use-modules (haunt site)
+ (haunt reader)
+ (haunt builder blog)
+ (haunt builder atom)
+ (haunt builder assets))
+
+ (site #:title "Built with Guile"
+ #:domain "example.com"
+ #:default-metadata
+ '((author . "Eva Luator")
+ (email . "eva@example.com"))
+ #:readers (list sxml-reader html-reader)
+ #:builders (list (blog)
+ (atom-feed)
+ (atom-feeds-by-tag)
+ (static-directory "images"))
+#+END_SRC
+
+* Usage
+
+Write a configuration file named =haunt.scm=. Add your posts to a
+directory named =posts=. Then run =haunt build=!
+
+To view your creation, run =haunt serve= and browse to
+=localhost:8080=. For quicker development cycles, run =haunt serve
+--watch= to automatically rebuild the site when things change.
+
+* Requirements
+
+ - GNU Guile >= 2.0.11
+
+ Optional:
+
+ - guile-reader (for Skribe support)
+
+* Building from Git
+
+Haunt uses the familiar GNU build system. GNU automake, autoconf, and
+make are required to build from a git checkout.
+
+#+BEGIN_SRC sh
+ ./bootstrap && ./configure && make
+#+END_SRC
+
+Once Haunt is built, it can be run directly from the source tree (no
+need to run =make install=) via the =pre-inst-env= script:
+
+#+BEGIN_SRC sh
+ ./pre-inst-env haunt --help
+#+END_SRC
+
+GNU Guix users can quickly create a build environment with all of the
+necessary dependencies using the handy =guix environment= tool:
+
+#+BEGIN_SRC sh
+ guix environment -l guix.scm
+#+END_SRC
+
+* Example
+
+An example Haunt site can be found in the =example= directory. To
+build it, run:
+
+#+BEGIN_SRC sh
+ cd example
+ ../pre-inst-env haunt build
+#+END_SRC
+
+* License
+
+GNU GPLv3 or later. See =COPYING= for the full license text.
diff --git a/README.md b/README.md
deleted file mode 100644
index 643c2f8..0000000
--- a/README.md
+++ /dev/null
@@ -1,96 +0,0 @@
-Haunt
-=====
-
-About
------
-
-Haunt is a static site generator written in Guile Scheme. It's
-simple, functional, and extensible.
-
-Features
---------
-
-* Easy blog and Atom feed generation
-* Supports any markup language that can be parsed to SXML
-* Simple development server
-* Purely functional build process
-* User extensible
-
-Example Configuration
----------------------
-
-```
-(use-modules (haunt site)
- (haunt reader)
- (haunt builder blog)
- (haunt builder atom)
- (haunt builder assets))
-
-(site #:title "Built with Guile"
- #:domain "example.com"
- #:default-metadata
- '((author . "Eva Luator")
- (email . "eva@example.com"))
- #:readers (list sxml-reader html-reader)
- #:builders (list (blog)
- (atom-feed)
- (atom-feeds-by-tag)
- (static-directory "images"))
-```
-
-Usage
------
-
-Write a configuration file named `haunt.scm`. Add your posts to a
-directory named `posts`. Then run `haunt build`!
-
-To view your creation, run `haunt serve` and browse to
-`localhost:8080`.
-
-Requirements
-------------
-
-- GNU Guile >= 2.0.11
-
-Optional:
-
-- guile-reader (for Skribe support)
-
-Building from Git
------------------
-
-Haunt uses the familiar GNU build system. GNU automake, autoconf, and
-make are required to build from a git checkout.
-
-```
-./bootstrap && ./configure && make
-```
-
-Once Haunt is built, it can be run directly from the source tree (no
-need to run `make install`) via the `pre-inst-env` script:
-
-```
-./pre-inst-env haunt --help
-```
-
-GNU Guix users can create a build environment with all necessary
-dependencies using the handy `guix environment` tool:
-
-```
-guix environment -l guix.scm
-```
-
-Examples
---------
-
-An example Haunt site can be found in the `example` directory:
-
-```
-cd example
-../pre-inst-env haunt build
-```
-
-License
--------
-
-GNU GPLv3 or later