mozilla/kuma — pull request #1292 by lmorchard (2013-08-21 18:42:26+00:00)
Title: bug 907236 & bug 907238 - Introduce notion of Content Zone, make them styleable

Here's a first quick stab at machinery to convert a page into the root of a Content Zone. This definitely needs squashing, because I was committing in baby steps.

The first benefit of turning a page into the root of a zone is custom styles that get applied to that page and all the topic children below.

Spot check:

* When logged in as an admin, look in the "This page" menu of a page, expect to see "Convert to content zone".
* Clicking that leads to the Django admin, creating a DocumentZone model object.
* So far, "styles" is the only relevant field.
* Add some CSS, ie. `h2,h3,h4 { color: blue }`
* Save.
* Revisit the content root and pages underneath, expect the styles to apply.
* Also, expect to see "Manage content zone" in page tools menu after the DocumentZone has been created & saved.
* Expect to see the "Manage content zone" link exposed in child page, which jumps to edit the parent zone