docs: script to take README/docs screenshots on mock data #43
Loading…
Reference in a new issue
No description provided.
Delete branch "docs-screenshots"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
scripts/screenshots/run.sh, which takes the README and docs screenshots of the app running on mock data, so they can be taken again whenever the UI changes.How it works
rm_analyzer_screenshots, dropped each run) and a data folder undertmp/screenshots, so the dev library is never touched.lib/fake_cloud.exs, served through Req's:plug) feeds a mock library to the real sync: folders, notebooks in generated handwriting (Hershey script font, seeded so pages come out the same every run), a typed page, a typed mirror and an annotated PDF printed by Chromium. Writes are refused.docs/screenshots/.What the notebooks say is in
lib/library.exs, and the shot list is incapture.mjs. Seescripts/screenshots/README.md.Also:
.formatter.exsnow coversscripts/**/*.exs, and the script'snode_modulesis ignored.The README now embeds the library screenshot near the top and links to the others in one short paragraph. The 18 PNGs come to about 4 MB.