docs(readme): the product in pictures, and the title without the author

Merged
AL
5h ago
+158-70

Closes #348

The README as it reads on this branch: https://github.com/missing-elements/h5p-toolkit/blob/docs/readme-pictures/README.md

What changed

  • The README leads with the product. The player on a page sits under the first sentence, and each job has a short section with its command and a picture: play on your site, build with AI, check a package and put it into an LMS, play offline and in an editor. The first command now comes after 136 words, where it came after 503.
  • A table of the tools takes the place of the opening task table, the Terms list and the Agent skills section: one row per package, with its README and its skill. What Terms said is said where each word is first used; the library pack's detail is in docs/libraries.md as before.
  • Status is a line of "Why this one" in place of a section of its own, with the same facts.
  • The title is "H5P Toolkit". design/licensing.md says why the author's name can be left off it: the README is read under the repository's name, which names the author as an npm scope does, and its last lines still say who makes the toolkit and that H5P Group does not endorse it. The player's README links the toolkit by the same name.
  • pnpm demo:media renders docs/media/player.png and docs/media/scorm.png from the built site, as pnpm demo:screenshots renders the app's. The three pictures of a chat app are captures made by hand, cut down to the conversation. design/build.md records the rule and design/commands.md the command.

Licence, Documentation, Contributing and the five reasons under "Why this one" are word for word as they were.

Checked

  • pnpm comments and pnpm lint pass with the new script.
  • pnpm build:demo, then pnpm demo:media: both pictures written, 1650 px wide. The script ran three times in all, twice by node before the command had its name.
  • The README through GitHub's own renderer (gh api markdown) in an 830 px column: all seven pictures load, the three chat pictures share a row at 266 px each, and the offline app and the extension share one at 407 px.
  • Every relative link and image path in the README exists.
  • The five pictures added weigh 784 kB together.

Not checked

  • The picture of the quiz changes a little with each render: H5P shuffles the answers, and the "ready in" time is the run's own.
  • How the page reads on a phone.

Release

Nothing to publish. The player's README is its page on npm, so the one-line change there shows with the next player release.


Summary by cubic

Restructures the README to lead with the product in pictures, drops the author's name from the title, and says what an LMS records from a package's SCORM zip (closes #348).

  • Each job now gets a short section with its command and a picture; the first command appears after 136 words, down from 503.
  • A tools table replaces the opening task table, the Terms list, and the Agent skills section; terms are defined where first used.
  • The Status section becomes one line under "Why this one".
  • New pnpm demo:media renders docs/media/player.png and docs/media/scorm.png from the built site; the chat pictures are hand-made captures.
  • design/licensing.md records why the title can drop the author's name, and the player's README links the toolkit by the new name.