Skip to content

Commit 39fa3b9

Browse files
committed
Updated documentation to reflect the alternative way of specifying selector strings.
1 parent c63f0bb commit 39fa3b9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/README-selectors.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ selector. The string `"<&executor-type>"` must be a standalone token as
2626
far as the syntax highlighter is concerned. That is, it probably won't
2727
work if it's in a comment.
2828

29+
An alternative string to `"<&executor-type>"` is `execparams.executor`.
30+
This so that one could have statements of the form
31+
32+
x = f(execparams.executor)
33+
34+
works with the selector mechanism. This would allow rendering of
35+
verbatim functional test cases that parametrize the executor types and
36+
representing them with selectors in the documentation.
37+
2938
To add alternative code blocks, use:
3039

3140
```Sphinx

0 commit comments

Comments
 (0)