summaryrefslogtreecommitdiff
path: root/doc/development/tutorials
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-08-05 01:38:58 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-08-05 01:38:58 +0900
commitc1692faba7b18bc269236965156173c394786e58 (patch)
tree4751b9f5580fc9cdaeaded52061f8a6dda4fd608 /doc/development/tutorials
parentd788e78a5e2f339cc5e5c5fd5d8431e1991e568f (diff)
downloadsphinx-git-c1692faba7b18bc269236965156173c394786e58.tar.gz
Fix #9525: tutorial: Wrong condition in recipe.py
Diffstat (limited to 'doc/development/tutorials')
-rw-r--r--doc/development/tutorials/examples/recipe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/tutorials/examples/recipe.py b/doc/development/tutorials/examples/recipe.py
index 1c3389847..fbcfea362 100644
--- a/doc/development/tutorials/examples/recipe.py
+++ b/doc/development/tutorials/examples/recipe.py
@@ -24,7 +24,7 @@ class RecipeDirective(ObjectDescription):
def add_target_and_index(self, name_cls, sig, signode):
signode['ids'].append('recipe' + '-' + sig)
- if 'contains' not in self.options:
+ if 'contains' in self.options:
ingredients = [
x.strip() for x in self.options.get('contains').split(',')]