doc/tutorials/textreports/index.rst
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 28 Oct 2015 17:39:30 +0000
changeset 10802 3d948d35d94f
parent 10491 c67bcee93248
permissions -rw-r--r--
[migration] re-try without print_function when compiling a script fails As part of the python3 porting we added the __future__.print_function import to cubicweb.migration. That started affecting all migration scripts it runs, which may not be prepared. So if compiling a script results in SyntaxError, try again without the print_function flag. Closes #7935030

.. -*- 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