From e56c4664099b523e47044560293c88efb058eef6 Mon Sep 17 00:00:00 2001 From: Jendrik Seipp Date: Sat, 21 Oct 2023 16:25:55 +0200 Subject: [PATCH] Add link. --- docs/faq.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index b89876ae5..80e255acf 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -69,9 +69,10 @@ To adapt your parsers to this new API, you need to make the following changes: * Your parser module (e.g., "custom_parser.py") does not have to be executable anymore, but it must be importable and expose a :class:`Parser - ` instance. Then, instead of - ``exp.add_parser("custom_parser.py")`` use ``from custom_parser import - MyParser`` and ``exp.add_parser(MyParser())``. + ` instance (see the changes to the `translator parser + `_ + for an example). Then, instead of ``exp.add_parser("custom_parser.py")`` use + ``from custom_parser import MyParser`` and ``exp.add_parser(MyParser())``. * Remove ``exp.add_parse_again_step()`` and insert ``exp.add_step("parse", exp.parse)`` after ``exp.add_step("start", exp.start_runs)``.