Erik Edrosa
a4d18c0c53
reader: Add commonmark support.
...
* haunt/reader/commonmark.scm: New file.
* Makefile.am (SOURCES): Add it.
* configure.ac: Check for guile-commonmark.
2016-08-02 07:48:24 -04:00
David Thompson
4130a355d3
Fix 'make distcheck'.
2016-04-24 15:08:56 -04:00
David Thompson
5373877f98
build: Allow building with Guile 2.2.
...
* Makefile.am (moddir, goddir): Remove hardcoded "2.0".
* configure.ac: Check to 2.2 as well.
2016-02-15 19:56:41 -05:00
David Thompson
b477823964
build: Don't build dvi docs.
2015-12-06 12:21:21 -05:00
David Thompson
77db0bd3cf
Renamed README.md to README.
2015-11-10 21:49:10 -05:00
Mathieu Lirzin
fe264d96c4
build: Declare a dependency for the manual.
...
This fixes 'make distcheck' failure.
* Makefile.am (doc_haunt_TEXINFOS): New variable.
2015-11-10 21:47:33 -05:00
Mathieu Lirzin
553e8bcec0
build: Fix all the Guix development package references.
...
* Makefile.am (EXTRA_DIST): Use 'guix.scm' instead of the obsolete file
name 'package.scm'.
* example/posts/baz.skr: Likewise.
2015-11-10 21:47:24 -05:00
David Thompson
65cced1dda
reader: Add texinfo support.
...
* haunt/reader/texinfo.scm: New file.
* Makefile.am (SOURCES): Add it.
* example/haunt.scm: Activate texinfo reader.
* example/posts/quux.scm: New file.
2015-10-15 22:50:18 -04:00
David Thompson
e505a66a1b
tests: Add post tests.
...
* tests/post.scm: New file.
* Makefile.am (TESTS): Add it.
2015-10-15 22:45:10 -04:00
David Thompson
17e72708a8
Add beginnings of a reference manual.
...
* Makefile.am (info_TEXINFOS): New variable.
* doc/haunt.texi: New file.
* doc/fdl-1.3.texi: New file.
* guix.scm [native-inputs]: Add texinfo.
2015-10-15 21:05:11 -04:00
David Thompson
397bc485d4
utils: Clean up and add tests.
...
* haunt/utils.scm (flat-map, string-split-at): Add docstring.
(file-name-components): Adjust slightly to handle "/".
(join-file-name-components): Use prefix string join grammar.
(absolute-file-name): Add docstring.
* test-env.in: New file.
* tests/utils.scm: New file.
* Makefile.am (TESTS, TEST_EXTENSIONS, SCM_LOG_COMPILER,
AM_SCM_LOG_FLAGS): New variables.
* configure.ac: Add test-env pre-processed file.
* build-aux/test-driver: New file.
2015-10-14 10:50:03 -04:00
David Thompson
1ddcff389d
Add support for Skribe document format.
...
* haunt/skribe.scm: New file.
* haunt/skribe/utils.scm: New file.
* haunt/reader/skribe.scm: New file.
* configure.ac: Check for guile-reader.
* Makefile.am (SOURCES): Add Skribe modules when guile-reader is
available.
* example/haunt.scm: Include Skribe reader.
* example/posts/baz.skr: New file.
* README.md ("Requirements"): Mention guile-reader as optional dependency.
2015-10-12 20:22:28 -04:00
David Thompson
9cd45089b7
Add package.scm to release tarballs.
2015-08-12 08:36:10 -04:00
David Thompson
c3df5ff848
Include example and website directories in release tarballs.
2015-08-10 09:04:42 -04:00
David Thompson
7c491608f8
Include README.md in future release tarballs.
...
Thanks to Ben Sturmfels for pointing out that it was missing.
2015-08-10 08:38:33 -04:00
David Thompson
f012747f3a
Add scripts/haunt to bin directory.
...
* Makefile.am (bin_SCRIPTS): New variable.
2015-08-08 09:50:31 -04:00
David Thompson
348e16e264
builder: Add assets builder.
...
* haunt/builder/assets.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-07-26 23:15:08 -04:00
David Thompson
5941c0d27b
Rename (haunt build html) to (haunt html).
...
* haunt/build/html.scm: Delete it.
* haunt/html.scm: New file.
* Makefile.am (SOURCES): Remove old file. Add new file.
* haunt/builder/atom.scm: Use new module.
* haunt/builder/blog.scm: Likewise.
* haunt/ui/serve.scm: Likewise.
2015-07-26 22:35:29 -04:00
David Thompson
1f1784f9f1
Add static asset support.
...
* haunt/asset.scm: New file.
* Makefile.am (SOURCES): Add it.
* haunt/site.scm (build-site): Add support for assets.
* haunt/utils.scm (file-name-components, join-file-name-components): New
procedures.
2015-04-13 21:59:29 -04:00
David Thompson
913c6bed6f
builder: Add primitive blog builder.
...
* haunt/builder/blog.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-13 19:50:06 -04:00
David Thompson
c529bbd0bd
builder: Add Atom feed builder.
...
* haunt/builder/atom.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-11 23:41:44 -04:00
David Thompson
210e58c2ba
ui: Add 'build' subcommand.
...
* haunt/ui/build.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-11 17:54:55 -04:00
David Thompson
0b5bdd9f01
Add utils module.
...
* haunt/utils.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-11 15:10:45 -04:00
David Thompson
e5d6d820ae
Add site module.
...
* haunt/site.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-11 08:36:35 -04:00
David Thompson
e3a548b777
Add SXML to HTML conversion module.
...
* haunt/build/html.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-10 23:44:21 -04:00
David Thompson
aa7aae9d3e
Add page module.
...
* haunt/page.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-10 23:39:07 -04:00
David Thompson
dda114b410
Add reader module.
...
* haunt/reader.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-10 23:37:42 -04:00
David Thompson
18a0b7ce6b
Add post module.
...
* haunt/post.scm: New file.
* Makefile.am (SOURCES): Add it.
2015-04-10 23:37:27 -04:00
David Thompson
f299cca709
Add serve command.
...
* haunt/config.scm: New file.
* haunt/serve/mime-types.scm: New file.
* haunt/serve/web-server.scm: New file.
* haunt/ui/serve.scm: New file.
* haunt/ui.scm (commands, program-name): New variables.
(show-haunt-help): Display possible commands.
(run-haunt-command): New procedure.
(haunt-main): Run subcommands.
* Makefile.am (SOURCES): Add files.
2015-01-04 22:49:59 -05:00
David Thompson
1cd43ba967
First commit.
2015-01-04 20:02:16 -05:00