This document describes how to use Wagtails ``RoutablePage`` class. This class is designed for embedding URL configuration into pages.
The basics
==========
To use ``RoutablePage``. You need to make your class inherit from :class:`wagtail.contrib.wagtailroutablepage.models.RoutablePage` and configure the ``subpage_urls`` attribute with your URL configuration.
Heres a quick example of en ``EventPage`` with three views:
..code-block:: python
from django.conf.urls import url
from wagtail.contrib.wagtailroutablepage.models import RoutablePage