Lines Matching full:figure
4 scalable figure and image handling
14 handling from the author's POV. Directives like ``kernel-figure`` implement
21 * ``.. kernel-figure``: for figure handling / a ``.. figure::`` replacement
75 # patches.Figure only landed in Sphinx 1.4
76 from sphinx.directives.patches import Figure # pylint: disable=C0413
78 Figure = images.Figure variable
142 # figure handling
143 app.add_directive("kernel-figure", KernelFigure)
372 # figure handling
383 class kernel_figure(nodes.figure):
384 """Node for ``kernel-figure`` directive."""
386 class KernelFigure(Figure):
389 Earns everything from ``.. figure::`` directive, except *remote URI* and
390 *glob* pattern. The KernelFigure wraps a figure node into a kernel_figure
401 result = Figure.run(self)
405 # wrap figure node into a kernel_figure node / see visitors
462 class KernelRender(Figure):
466 *figure* directive, plus option ``caption``. If ``caption`` has a
467 value, a figure node with the *caption* is inserted. If not, a image node is
479 # earn options from 'figure'
480 option_spec = Figure.option_spec.copy()
519 figure_node = nodes.figure('', node)
529 """Add kernel-figure anchors to 'std' domain.
532 the caption (label) of ``kernel-figure`` directive (it only knows about
533 standard nodes, e.g. table, figure etc.). Without any additional handling
536 This handle adds labels of kernel-figure to the 'std' domain labels.