Dragon 1.0.0-SNAPSHOT
Released under the Apache License, Version 2.0
Customised, Stasis-based Static Site Generator.
Installation
To install, add the following dependency to your project or build file:
[dragon "1.0.0-SNAPSHOT"]
Namespaces
dragon.blog.content.block
Documentation forthcoming
dragon.blog.core
Documentation forthcoming
Public variables and functions:
- compare-author
- compare-category
- compare-timestamp
- compare-timestamp-desc
- data-for-logs
- get-archive-route
- get-archive-routes
- get-files
- get-indexed-archive-route
- get-indexed-archive-routes
- get-posts
- get-ratios
- get-stats
- group-by-author
- group-by-category
- group-by-month
- group-by-tag
- group-by-year
- group-data
- group-year-by-month
- legal-content-file?
- legal-post-file-extensions
- post-url
- process
- process-category-stats
- process-files
- process-tag-stats
- process-text-stats
- reset-content-checksums
- update-author-groups
- update-category-groups
dragon.blog.post.core
This namespace defines the API for the actions required to process blog content sources at a low level.
Public variables and functions:
dragon.components.config
Configuration component namespace.
Public variables and functions:
- base-path
- blocks-enabled
- db-config
- db-conn
- db-type
- db-version
- description
- domain
- domain-urn
- ellipsis
- feed-count
- flickr-api-access-key
- link-tmpl
- log-color?
- log-level
- log-nss
- name
- output-dir
- output-file-tmpl
- paragraph-separator
- period-ellipsis
- port
- posts-path
- posts-path-src
- processor-constructor
- robots-allow
- robots-disallow
- sentence-end
- tag-separator
- template-config
- template-skip-marker
- twitter-api-app-consumer-key
- twitter-api-app-consumer-secret
- twitter-api-user-access-secret
- twitter-api-user-access-token
- watcher-content-dirs
- watcher-docs-dirs
- watcher-sass-dirs
- watcher-type
- word-joiner
- word-separator
dragon.components.responder
Documentation forthcoming
dragon.data.sources.impl.redis
Documentation forthcoming
Public variables and functions:
- add-connection
- cmd
- connection-behaviour
- get-all*
- get-all-authors
- get-all-categories
- get-all-checksums
- get-all-data
- get-all-metadata
- get-all-posts
- get-all-stats
- get-all-tags
- get-category-freqs
- get-category-max-count
- get-category-stats
- get-category-totals
- get-first-n-keys
- get-keys
- get-last-n-keys
- get-n-keys
- get-post-category
- get-post-checksum
- get-post-content
- get-post-content-source
- get-post-dates
- get-post-excerpts
- get-post-metadata
- get-post-stats
- get-post-tags
- get-post-uri-path
- get-query
- get-raw
- get-tag-freqs
- get-tag-max-count
- get-tag-stats
- get-tag-totals
- get-text-stats
- get-total-char-count
- get-total-line-count
- get-total-word-count
- key->path-segment
- new-connector
- new-querier
- pipeline
- post-changed?
- query-behaviour
- schema
- set-all-checksums
- set-all-data
- set-category-stats
- set-keys
- set-post-category
- set-post-checksum
- set-post-content
- set-post-content-source
- set-post-dates
- set-post-excerpts
- set-post-metadata
- set-post-stats
- set-post-tags
- set-post-uri-path
- set-query
- set-tag-stats
- set-text-stats
- setup-schema
- setup-subscribers
dragon.event.tag
Documentation forthcoming
Public variables and functions:
- content-regen
- css-regen
- file-change
- file-create
- file-delete
- file-modify
- generate-routes
- generate-routes-post
- generate-routes-pre
- parse-content
- parse-content-post
- parse-content-pre
- parse-file
- parse-file-post
- parse-file-pre
- process-all
- process-all-post
- process-all-pre
- process-one
- process-one-post
- process-one-pre
- read-config
- read-config-post
- read-config-pre
- read-source
- read-source-post
- read-source-pre
- run-cli
- run-cli-post
- run-cli-pre
- shutdown-cli
- shutdown-cli-post
- shutdown-cli-pre
- subscribers-added
- subscribers-added-post
- subscribers-added-pre
- system-restart
- write-output
- write-output-post
- write-output-pre
dragon.selmer.tags.panel
Documentation forthcoming
dragon.util
Documentation forthcoming
Public variables and functions:
- atom?
- boolean
- char-regex
- check-sum
- compare-first
- component->system
- count-chars
- count-lines
- count-words
- datestamp-format
- datetime-now
- deep-merge
- dots->dashes
- format-date
- format-datestamp
- format-time
- format-timestamp
- get-build
- headline?
- invert-tuple
- merge-val
- month->name
- month->short-name
- nada?
- now
- path->date
- post-now
- post-regex
- public?
- read-home-file
- remove-routes
- sanitize-post-path
- sanitize-str
- shell!
- spawn!
- time-format
- timestamp-format