Worked examples

One topic of every type, all documenting the same fictional product: Library Rooms, the room-booking web app of the Ferncastle Public Library.

Each example is a real DITA topic of its type, checked against the type’s grammar at every build. Read them side by side to see how the same product produces different pages for different needs.

The product

Library Rooms lets library members book study and meeting rooms at the library’s three branches: Central, Riverside, and Hillcrest. The product and the library are invented for these examples.

  • Members book rooms for themselves, up to 6 hours a week and 2 hours at a time.
  • Staff book for members, block slots, and see who booked what.
  • Branch administrators add rooms and set their hours.

Selecting a free slot places a hold on it for 10 minutes. A booking that nobody checks in to within 15 minutes of its start is released.

The examples

Type Example
Concept How holds and check-in work
Task Book a study room
Reference Booking statuses
Interface guide Room schedule
Tutorial Set up a room and take a booking
Glossary entry hold
Troubleshooting A free room shows as booked

The interface guide is the most detailed: it documents every element of the app’s main screen to the rules on the Interface guide page.