Skip to content

Commit

Permalink
docs: Blueprints section heading level fix
Browse files Browse the repository at this point in the history
* Renames section called "Default breadcrumb root" to more user-level
  oriented "Combining Multiple Blueprints" and fixes its section heading
  level so that it would not appear "above" Usage, but well "inside" it.

* Also fixes an English typo in the Blueprint Support section.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
  • Loading branch information
tiborsimko committed Mar 16, 2015
1 parent f0151bc commit 61e00f0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ key is used to create a breadcrumb displaying their name.
Blueprint Support
^^^^^^^^^^^^^^^^^

The most import part of an modular Flask application is Blueprint. You
The most import part of a modular Flask application is Blueprint. You
can create one for your application somewhere in your code and decorate
your view function, like this:

Expand All @@ -166,13 +166,12 @@ your view function, like this:
def index():
pass
Combining Multiple Blueprints
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Default breadcrumb root
=======================

Sometimes you want to combine multiple blueprints and organize the
navigation to certain hierarchy using function
:func:`~flask.ext.breadcrumbs.default_breadcrumb_root`.
Sometimes you want to combine multiple blueprints and organise the
navigation to certain hierarchy. This can be achieved by using the
function :func:`~flask.ext.breadcrumbs.default_breadcrumb_root`.

.. code-block:: python
Expand Down

0 comments on commit 61e00f0

Please sign in to comment.