diff --git a/docs/recipes/0266-full-canvas-annotation.md b/docs/recipes/0266-full-canvas-annotation.md index a7706cc..ca1c7ab 100644 --- a/docs/recipes/0266-full-canvas-annotation.md +++ b/docs/recipes/0266-full-canvas-annotation.md @@ -4,7 +4,7 @@ | **Recipe:** | [https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/](https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/) | | **JSON-LD:** | [https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/manifest.json](https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/manifest.json) | -### Method 1 - +### Method 1 - Use make_annotation() helper ```python --8<-- "docs/recipes/scripts/0266-full-canvas-annotation-method1.py" ``` \ No newline at end of file diff --git a/docs/recipes/scripts/0266-full-canvas-annotation-method1.py b/docs/recipes/scripts/0266-full-canvas-annotation-method1.py index 2dc794b..9c0a197 100644 --- a/docs/recipes/scripts/0266-full-canvas-annotation-method1.py +++ b/docs/recipes/scripts/0266-full-canvas-annotation-method1.py @@ -45,7 +45,8 @@ id=f"{base_url}/canvas-1/annopage-2/anno-1", motivation="commenting", body=anno_body, - target=canvas.id + target=canvas.id, + anno_page_id=f"{base_url}/canvas-1/annopage-2" ) -print(manifest.json(indent=2)) \ No newline at end of file +print(manifest.json(indent=2))