Glue code for the jinja2 templating engine.
Unknown Field: copyright | |
Copyright 2007-2022 by the Sphinx team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Class | BuiltinTemplateLoader |
Interfaces the rendering environment of jinja2 for use in Sphinx. |
Class | idgen |
Undocumented |
Class | SphinxFileSystemLoader |
FileSystemLoader subclass that is not so strict about '..' entries in template names. |
Function | _slice_index |
Undocumented |
Function | _tobool |
Undocumented |
Function | _todim |
Make val a css dimension. In particular the following transformations are performed: |
Function | _toint |
Undocumented |
Function | accesskey |
Helper to output each access key only once. |
Function | warning |
Undocumented |
Undocumented
Parameters | |
values:List | Undocumented |
slices:int | Undocumented |
Returns | |
Iterator[ | Undocumented |
Make val a css dimension. In particular the following transformations are performed:
Everything else is returned unchanged.
Parameters | |
val:Union[ | Undocumented |
Returns | |
str | Undocumented |