Skip to content

Commit

Permalink
Bugfix: corrected jinja raw handling
Browse files Browse the repository at this point in the history
  • Loading branch information
danwos committed Apr 27, 2017
1 parent 9e78532 commit b3f6d0e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ Example::
:sort_by: id
:layout: list

This prints a list with all found needs, which match the filters for status and tags.
This prints a list with all found needs, which match the filters for status, tags and types.

For **:status:**, **:tags:** and **:types:** values are separated by "**;**". The logic is as followed::

status = (open OR in_progress) AND tags = (user OR login) AND types = (req OR spec)

For **:types:** the type itself and the human-readable type_name can be used as filter value.
For **:types:** the type itself and the human-readable type_title can be used as filter value.

If **:show_status:** / **:show_tags:** is given, the related information will be shown after the name of the need.

Expand Down Expand Up @@ -358,9 +358,9 @@ If nothing is set, the following default template is used:

.. code-block:: jinja
{% raw -%}
.. _{{id}}:
{% raw -%}
{% if hide == false -%}
{{type_name}}: **{{title}}** ({{id}})
Expand Down Expand Up @@ -422,7 +422,9 @@ By default the following template is used:

.. code-block:: jinja
{% raw -%}
<size:12>{{type_name}}</size>\\n**{{title}}**\\n<size:10>{{id}}</size>
{% endraw %}
.. _needs_id_required:

Expand Down

0 comments on commit b3f6d0e

Please sign in to comment.