docs: add rougail path in the lipogram doc sample

This commit is contained in:
gwen 2024-01-29 00:59:11 +01:00
parent 4770eb0d0e
commit d2f140c295

View file

@ -186,7 +186,7 @@ Here is a :file:`dict/00-base.yml` dictionary:
.. code-block:: python
>>> rougail = Rougail()
>>> config = rougail.get_config()
>>> config.option('var').value.set('blah')
>>> config.option('var').value.set('I just want to add a quality string that has no bad characters')
>>> config.option('rougail.var').value.set('blah')
>>> config.option('rougail.var').value.set('I just want to add a quality string that has no bad characters')
[...]
tiramisu.error.ValueOptionError: "I just want to add a quality string that has no bad characters" is an invalid lipogram for "var", Perec wrote a book without any "e", you could not do it in a simple sentence?