From af881e07890f0481882693d45635c607d5ebf322 Mon Sep 17 00:00:00 2001 From: Jeffrey Hearn Date: Wed, 7 May 2014 14:36:56 -0400 Subject: [PATCH] moar docs --- docs/building_your_site.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building_your_site.rst b/docs/building_your_site.rst index c3289958b..0f1ed7e19 100644 --- a/docs/building_your_site.rst +++ b/docs/building_your_site.rst @@ -82,8 +82,9 @@ Parents ``````` Parent nodes on the Wagtail tree probably want to organize and display a browsable index of their descendents. A blog, for instance, needs a way to show a list of individual posts. -A Parent node could provide its own function returning its descendant objects. :: python +A Parent node could provide its own function returning its descendant objects. +.. code-block:: python class EventPageIndex(Page): ... def events(self):