Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
posativ committed Jun 15, 2013
1 parent dd748f3 commit 8c95647
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Changelog for Acrylamid

### What's new?

- filter configuration is now part of its internal hash and will mark the
- filter configuration is now part of the internal hash and will mark the
cache object as invalid to force recompilation. Appendum to #118.
- #124 – summarize and intro filter ignore img, audio & video tags by default.
You can disable this feature by setting `*_IGNORE` to an empty list (`[]`).
Expand Down Expand Up @@ -48,8 +48,8 @@ Released on February, 12th, 2013 – Almost stable.
- #105 – new archive view to render yearly, monthly and/or daily archives and
has replaced the article view in the themes. The article view remains in
the Acrylamid core but is likely to become deprecated in the future.
- #104 – simple and advanced, multhithreaded hooks during compilation, see
http://posativ.org/acrylamid/hooks.rst for more information.
- #104 – simple and advanced, multi-threaded hooks during compilation, see
http://posativ.org/acrylamid/hooks.html for more information.
- Jinja2 content filter imports macros from theme/macros.html
automatically into your entry namespace.
- #102 – enrich HTML metadata
Expand All @@ -72,7 +72,7 @@ Released on February, 12th, 2013 – Almost stable.
- #117 – fix a redirection issue where `/foo` has been resolved to
`/output/foo/` instead of `/foo/` solely.
- #116 – serving from non-root path has been fixed
- #111 – prevent duplicate summarize link insertion for modus 0
- #111 – prevent duplicate summarize link insertion for mode 0
- sitemap may have included drafts unintentional if routed through `'/drafts/'`
- automatically adding the index.html to any route without checking if the
path has already an extension. Now, Acrylamid only appends an `index.html`
Expand Down
10 changes: 5 additions & 5 deletions docs/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ By default, all hooks are executed in parallel (not affected by the GIL if you
run external processes/commands), you can disable this behavior by setting
``HOOKS_MT`` to ``False``.

There are two different types of hooks. The simple hook "listens" on the
create and update events and simply calls your function with the namespace [#1] of
the event and the path, in this order. Whereas the advanced hook hooks into
all available event types but requires a path translation function to
automatically determine whether the callback should be executed or not.
There are two different types of hooks. The simple hook "listens" on the create
and update events and simply calls your function with the namespace [#1]_ of the
event and the path, in this order. Whereas the advanced hook hooks into all
available event types but requires a path translation function to automatically
determine whether the callback should be executed or not.

Instead of writing callbacks in Python, you can also supply a shell command
with one (simple) or two (advanced) arguments. The namespace is not available
Expand Down

0 comments on commit 8c95647

Please sign in to comment.