You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tutorial example recipe contains an error. Line 27 in recipe.py
if'contains'notinself.options:
should be
if'contains'inself.options:
i.e. without the not.
Currently, i.e. with the not, no entries in the recipe and ingredient indices are created. Hence the files recipe-ingredient.html and recipe-recipe.html are not generated for the given example. Removing not fixes this and generates these files.
Recipes and ingredients should be added to their respective indices. As a result, the files recipe-ingredient.html and recipe-recipe.html will be created.
Your project
None, trying the tutorial
Screenshots
No response
OS
independent
Python version
3.9
Sphinx version
3.5.4 (latest at the time)
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
The tutorial example recipe contains an error. Line 27 in
recipe.py
should be
i.e. without the
not
.Currently, i.e. with the
not
, no entries in the recipe and ingredient indices are created. Hence the filesrecipe-ingredient.html
andrecipe-recipe.html
are not generated for the given example. Removingnot
fixes this and generates these files.How to Reproduce
Follow the instructions in recipe.
Expected behavior
Recipes and ingredients should be added to their respective indices. As a result, the files
recipe-ingredient.html
andrecipe-recipe.html
will be created.Your project
None, trying the tutorial
Screenshots
No response
OS
independent
Python version
3.9
Sphinx version
3.5.4 (latest at the time)
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: