From 6be80e8d5c7fdbb276a8cc6ca50fb93a3d8e0a1a Mon Sep 17 00:00:00 2001 From: Brit Butler Date: Mon, 4 Mar 2013 17:23:11 -0500 Subject: [PATCH] Minor tweaks. --- coleslaw.asd | 2 +- docs/plugin-api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coleslaw.asd b/coleslaw.asd index 71284bc..3031a7d 100644 --- a/coleslaw.asd +++ b/coleslaw.asd @@ -1,7 +1,7 @@ (defsystem #:coleslaw :name "coleslaw-core" :description "Flexible Lisp Blogware" - :version "0.8" + :version "0.9" :license "BSD" :author "Brit Butler " :pathname "src/" diff --git a/docs/plugin-api.md b/docs/plugin-api.md index 5b71ea4..b3ebe36 100644 --- a/docs/plugin-api.md +++ b/docs/plugin-api.md @@ -17,7 +17,7 @@ * **New functionality via JS**, for example the Disqus and Mathjax plugins. In this case, the plugin's `enable` function should call [`add-injection`](http://redlinernotes.com/docs/coleslaw.html#add-injection_func) with an injection and a keyword. The injection itself is a list of the string to insert and a lambda or function that can be called on a content instance to determine whether the injection should be included on the page. The keyword specifies whether the injected text goes in the HEAD or BODY element. The [Disqus plugin](http://github.com/redline6561/coleslaw/blob/master/plugins/disqus.lisp) is a good example of this. -* **New markup formats**, for example the [ReStructuredText plugin](http://github.com/redline6561/coleslaw/blob/master/plugins/rst.lisp), can be created by definining an appropriate `render-content` method. The method takes `text` and `format` arguments and is [EQL-specialized](http://www.gigamonkeys.com/book/object-reorientation-generic-functions.html#defmethod) on the format. Format should be a keyword matching the file extension (or pathname-type) of the markup format. (eg. `rst` for ReStructuredText) +* **New markup formats**, for example the [ReStructuredText plugin](http://github.com/redline6561/coleslaw/blob/master/plugins/rst.lisp), can be created by definining an appropriate `render-content` method. The method takes `text` and `format` arguments and is [EQL-specialized](http://www.gigamonkeys.com/book/object-reorientation-generic-functions.html#defmethod) on the format. Format should be a keyword matching the file extension (or pathname-type) of the markup format. (eg. `:rst` for ReStructuredText) * **New hosting options**, for example the [Amazon S3 plugin](http://github.com/redline6561/coleslaw/blob/master/plugins/s3.lisp), can be created by definining a `deploy :after` method. The method takes a staging directory, likely uninteresting in the `:after` stage. But by importing `*config*` from the coleslaw package and getting its deploy location with `(deploy *config*)` a number of interesting options become possible.