mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #8873 from tk0miya/8860_bad_example
Fix #8860: doc: Usage of recipe directive is wrong
This commit is contained in:
@@ -207,10 +207,10 @@ You can now use the extension throughout your project. For example:
|
||||
The recipe contains `tomato` and `cilantro`.
|
||||
|
||||
.. recipe:recipe:: TomatoSoup
|
||||
:contains: tomato cilantro salt pepper
|
||||
:contains: tomato, cilantro, salt, pepper
|
||||
|
||||
This recipe is a tasty tomato soup, combine all ingredients
|
||||
and cook.
|
||||
This recipe is a tasty tomato soup, combine all ingredients
|
||||
and cook.
|
||||
|
||||
The important things to note are the use of the ``:recipe:ref:`` role to
|
||||
cross-reference the recipe actually defined elsewhere (using the
|
||||
|
||||
Reference in New Issue
Block a user