-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookbook recipe examples #129
Comments
@giacomomarchioro to look at a way of embedding a python file in markdown so we can unit test them to check if they match the recipe. |
That's very well done! Regarding the reuse of the recipes, I have tried a different approach using snippets. I have started a discussion here #138. |
I have reformatted the existing recipes to use the table approach as in your example, I agree it looks cleaner (PR is here: #149). I also like the snippet approach, and have adopted that also in the same PR. Next up is writing a testing library and then updating some existing recipes now that the latest skeleton is merged (i.e 0013,0014, and 0017 should now be possible) |
Testing library added to the above PR + rewriting some of the existing recipes to be cleaner and adding 0017 now that it is possible |
Mike to add note about needing |
Instructions above rewritten to cover all the changes to the process |
Hello, I've added a few recipe examples as pull requests: Let me know if I can do something else to help here. |
Cookbook recipes that can be made into examples of how to use the iiif-prezi3 library.
If you'd like to work on one, please claim it by comment (or editing this issue) and then:
main
branch -git checkout main && git pull && git checkout -b recipe_0024
cookbook_skeletons
branch (this is necessary to avoid committing all the skeletons to the branch which will be merged) -git checkout cookbook_skeletons docs/recipes/0024-book-4-toc.md
<recipe_url>/manifest.json
is not actually correct - see https://github.com/iiif-prezi/iiif-prezi3/blob/cookbook/docs/recipes/0010-book-2-viewing-direction.md for an example.docs/recipes/scripts
subdirectoryXXXX-recipe-shortname-methodX.py
for single-example recipes, andXXXX-recipe-shortname-exampleX-methodX.py
(orXXXX-recipe-shortname-usecaseX-methodX
in the rare situations where "Use Case" is used in the recipe instead of "Example) for multi-example recipes.utils/test_cookbook.py
script can help with this.cd utils
(necessary until Cookbook checker script only works fromutils
directory #174 is resolved) and thenpython test_cookbook.py -v --fail-missing ../docs/recipes/XXXX-recipe-shortname.md
Recipes:
docs/recipes/0001-mvm-image.md
) - @digitaldogsbodydocs/recipes/0002-mvm-audio.md
) - @digitaldogsbodydocs/recipes/0003-mvm-video.md
) - @digitaldogsbodydocs/recipes/0004-canvas-size.md
) - @digitaldogsbodydocs/recipes/0005-image-service.md
) - @digitaldogsbodydocs/recipes/0006-text-language.md
) - @digitaldogsbodydocs/recipes/0007-string-formats.md
) - @digitaldogsbodydocs/recipes/0008-rights.md
) - @digitaldogsbodydocs/recipes/0009-book-1.md
) - @digitaldogsbodydocs/recipes/0010-book-2-viewing-direction.md
) - @digitaldogsbodydocs/recipes/0011-book-3-behavior.md
) - @digitaldogsbodydocs/recipes/0013-placeholderCanvas.md
)docs/recipes/0014-accompanyingcanvas.md
)docs/recipes/0015-start.md
) - @digitaldogsbodydocs/recipes/0017-transcription-av.md
) - @digitaldogsbodydocs/recipes/0019-html-in-annotations.md
) - @digitaldogsbodydocs/recipes/0021-tagging.md
) - @digitaldogsbodydocs/recipes/0024-book-4-toc.md
) - @digitaldogsbodydocs/recipes/0026-toc-opera.md
)docs/recipes/0029-metadata-anywhere.md
)docs/recipes/0030-multi-volume.md
)docs/recipes/0031-bound-multivolume.md
)docs/recipes/0033-choice.md
)docs/recipes/0035-foldouts.md
)docs/recipes/0036-composition-from-multiple-images.md
)docs/recipes/0040-image-rotation-service.md
)docs/recipes/0046-rendering.md
)docs/recipes/0047-homepage.md
)docs/recipes/0053-seeAlso.md
)docs/recipes/0064-opera-one-canvas.md
)docs/recipes/0065-opera-multiple-canvases.md
)docs/recipes/0068-newspaper.md
)docs/recipes/0074-multiple-language-captions.md
)docs/recipes/0117-add-image-thumbnail.md
)docs/recipes/0118_multivalue.md
) - @giacomomarchiorodocs/recipes/0139-geolocate-canvas-fragment.md
)docs/recipes/0154-geo-extension.md
)docs/recipes/0202-start-canvas.md
)docs/recipes/0219-using-caption-file.md
)docs/recipes/0230-navdate.md
) - @digitaldogsbodydocs/recipes/0231-transcript-meta-recipe.md
)docs/recipes/0232-image-thumbnail-canvas.md
)docs/recipes/0234-provider.md
)docs/recipes/0240-navPlace-on-canvases.md
)docs/recipes/0258-tagging-external-resource.md
)docs/recipes/0261-non-rectangular-commenting.md
)docs/recipes/0266-full-canvas-annotation.md
)docs/recipes/0269-embedded-or-referenced-annotations.md
)docs/recipes/0299-region.md
)The text was updated successfully, but these errors were encountered: