tools (common/template): typos
This commit is contained in:
parent
3f735d406e
commit
2908be8898
1 changed files with 4 additions and 4 deletions
|
|
@ -612,9 +612,9 @@ class Renderer(object):
|
|||
styles_extra.css, styles.css, highlight.css and fonts.css are always used if they
|
||||
exist.
|
||||
For each found file, if a file with the same name and "_noscript" suffix exists,
|
||||
it will be return is second part of resulting tuple.
|
||||
it will be returned is second part of resulting tuple.
|
||||
For instance, if template_data is (some_site, some_theme, blog/articles.html),
|
||||
following files are returned, earch time trying [some_site root] first,
|
||||
following files are returned, each time trying [some_site root] first,
|
||||
then default site (i.e. sat_templates) root:
|
||||
- some_theme/static/styles.css is returned if it exists
|
||||
else default/static/styles.css
|
||||
|
|
@ -865,12 +865,12 @@ class Renderer(object):
|
|||
"""Render a template
|
||||
|
||||
@param template(unicode): template to render (e.g. blog/articles.html)
|
||||
@param site(unicide): site name
|
||||
@param site(unicode): site name
|
||||
None or empty string for defaut site (i.e. SàT templates)
|
||||
@param theme(unicode): template theme
|
||||
@param media_path(unicode): prefix of the SàT media path/URL to use for
|
||||
template root. Must end with a u'/'
|
||||
@param css_files(list[unicode],None): CSS files to used
|
||||
@param css_files(list[unicode],None): CSS files to use
|
||||
CSS files must be in static dir of the template
|
||||
use None for automatic selection of CSS files based on template category
|
||||
None is recommended. General static/style.css and theme file name will be
|
||||
|
|
|
|||
Loading…
Reference in a new issue