hledger-* API docs

Safe HaskellNone

Hledger.Web.Settings.StaticFiles

Description

This module exports routes for all the files in the static directory at compile time, allowing compile-time verification that referenced files exist. However, any files added during run-time can't be accessed this way; use their FilePath or URL to access them.

This is a separate module to satisfy template haskell requirements.

Synopsis

Documentation

staticSite :: IO StaticSource

use this to create your static file serving site

excanvas_js :: StaticRouteSource

This generates easy references to files in the static directory at compile time, giving you compile-time verification that referenced files exist. Warning: any files added to your static directory during run-time can't be accessed this way. You'll have to use their FilePath or URL to access them.

style_css :: StaticRouteSource

hledger_js :: StaticRouteSource

jquery_url_js :: StaticRouteSource

dhtmlxcommon_js :: StaticRouteSource

dhtmlxcombo_js :: StaticRouteSource

jquery_flot_js :: StaticRouteSource

combo_select_gif :: StaticRouteSource

favicon_ico :: StaticRouteSource

jquery_js :: StaticRouteSource

excanvas_min_js :: StaticRouteSource