diff --git a/bitshift/assets.py b/bitshift/assets.py index 4754036..90564d2 100644 --- a/bitshift/assets.py +++ b/bitshift/assets.py @@ -1,6 +1,6 @@ """ -Module contains helper functions to be used inside the project's Jinja -templates. +.. module:: assets + :synopsis: Helper functions for use inside the project's Jinja templates. """ from flask import Markup @@ -12,10 +12,12 @@ ASSET_HTML_TEMPLATES = { def tag(filename): """ - Return HTML tag for asset named filename. + Generate an HTML tag for a CSS/JS asset, based on its file extension. - Return either a