Mercurial > piecrust2
view tests/rdrutil.py @ 1083:35937f8a52b1
docs: Make the "code" section show up correctly in navigation.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 15 Feb 2018 22:23:49 -0800 |
parents | 72f17534d58e |
children |
line wrap: on
line source
from piecrust.rendering import RenderingContext, render_page def render_simple_page(page): ctx = RenderingContext(page) rp = render_page(ctx) return rp.content