Screenshots and diagrams checklist (hooks)#
This page is for documentation authors/maintainers.
Goal: when you later add screenshots, they should be:
reproducible,
clearly captioned,
safe to publish (no private data leakage),
and consistent across pages.
Primary guide:
cellucid/markdown/DOCUMENTATION_SCREENSHOTS_AND_FIGURES_GUIDE.md
Where to store assets (recommended)#
Create a topic folder:
cellucid-python/docs/_static/screenshots/jupyter_hooks/
Naming rules:
lowercase + hyphens
prefix with an order number when step-by-step (
01_...,02_...)
Minimum required screenshots for this chapter#
“Success path” (must-have)#
Viewer embedded inside a notebook output cell (orientation).
A selection made in the viewer (before → after).
A Python cell output showing selection indices received (proof hooks work).
A Python command affecting the viewer (e.g., highlight or reset camera).
“Failure path” (high value)#
“Viewer UI could not be loaded” error page (offline/no cache).
“Notebook proxy required” error page (HTTPS mixed content).
Browser devtools → Network filtered to
/_cellucid/eventsshowing a failure (blocked/404/413).
Minimum required diagrams#
Architecture overview showing:
Python → iframe via
postMessageiframe → Python via
POST /_cellucid/events
Placeholders are acceptable until a proper diagram is produced.
Copy/paste placeholder block (MyST {figure})#
Use this template so the capture instructions live next to the figure:
<!-- SCREENSHOT PLACEHOLDER
ID: <unique-id>
Suggested filename: jupyter_hooks/<filename>.png
Where it appears: <page → section>
Capture:
- UI location: <notebook output / viewer sidebar / browser devtools / etc.>
- State prerequisites: <what must already be true>
- Action to reach state: <exact steps>
Crop:
- Include: <what must be visible>
- Exclude: <what must not be visible>
Redact:
- Remove: <tokens, paths, emails, dataset names if private>
Annotations:
- Callouts: <2–4 callouts max>
Alt text:
- <one sentence>
Caption:
- <one sentence: what the reader should learn>
-->
```{figure} ../../../_static/screenshots/placeholder-screenshot.svg
:alt: <ALT TEXT>
:width: 100%
<CAPTION>
```
Example placeholder: notebook-embedded viewer#
Placeholder: embedded viewer inside a notebook output cell.#