Commit Graph

21 Commits

Author SHA1 Message Date
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