doc/tutorials/textreports/index.rst
author Nicola Spanti <nicola.spanti@logilab.fr>
Fri, 13 Apr 2018 17:28:14 +0200
changeset 12787 be63e0fd43d0
parent 10491 c67bcee93248
permissions -rw-r--r--
[web/views] Fix AutoformSectionRelationTags.set_muledit_editable It is a method call, so `self` is passed implicitely as first argument, so it is useless to pass it also explicitely as second argument. In fact, it does not work without this. A monkey patch had been done in a private client's project, but the fix is revelant for everyone.

.. -*- coding: utf-8 -*-

Writing text reports with RestructuredText
==========================================

|cubicweb| offers several text formats for the RichString type used in schemas,
including restructuredtext.

Three additional restructuredtext roles are defined by |cubicweb|:

.. autofunction:: cubicweb.ext.rest.eid_reference_role
.. autofunction:: cubicweb.ext.rest.rql_role
.. autofunction:: cubicweb.ext.rest.bookmark_role