Skip to main content

Documentation update process

This is the working process for the pages under /docs on this site. The source is the public repository kopyk/portfolio.

Roles​

This site has one writer, so one person holds more than one role. The roles stay separate so that each check has a name.

RoleWhoResponsible for
Document ownerJordan YanDecides what each page says. Approves every change.
AuthorWhoever opens the pull requestMakes the change, classifies it, and completes the checklist.
Source checkerThe document ownerRe-reads the cited primary source for any change to a regulated statement.
Automated checksGitHub ActionsBuild, internal links, external links, prose style, reading level, code tests.

Classify the change​

Every change belongs to one class. If a change fits two, use the higher one.

ClassWhat it coversExtra checks beyond the standard ones
MinorSpelling, formatting, a broken link. No change in meaning.None
StandardNew or changed content that is not a regulated statement.Read the rendered page from start to end
RegulatedAny statement of what a law or rule requires. Any instruction in the family safety guides.Source check. Update the "checked on" date. For guardian pages, the reading-level check must pass.
UrgentA live safety instruction or legal statement is wrong or out of date.Follows the fast track

Standard workflow​

  1. Open a branch. Name it for the change, for example fix/coppa-penalty-figure.
  2. Make the change. Follow the writing-for-translation guide.
  3. Add a change log entry to CHANGELOG.md. State the class, the pages changed and the reason.
  4. Open a pull request. State the class in the description.
  5. Wait for the automated checks. Fix anything that fails. Do not turn a check off to get a pass.
  6. For a Regulated change, do the source check. Open the cited section of the law or rule. Confirm that the changed sentence still matches it. Update the "checked on" date on the page.
  7. Approve and merge. The owner reads the rendered page, then merges.
  8. Confirm the live page. After the deploy finishes, open the page on the live site and check the change.

What the automated checks cover​

CheckToolFails when
BuildDocusaurusThe site does not build, or an internal link or anchor is broken
External linkslycheeA link to another site does not resolve
Prose styleVale, with the rules in styles/PortfolioA page breaks a style rule at error level
Reading levelscripts/reading-level.mjsA family safety page scores above grade 8
Tutorial codeLuauA test for the creator tutorial's module fails

Versioning and the change log​

  • Git is the version history. Every published state of every page is a commit on main.
  • The change log is the readable history. It lists changes by date, newest first, with the class of each.
  • Sample documents that carry their own version number (the policy and the procedure) also keep a revision table on the page, because their readers would not look in a repository.
  • Each page shows when it was last updated. The date comes from Git.

Fast track for urgent changes​

Use the fast track when a live page gives a safety instruction or a legal statement that is wrong, and a reader could act on it.

  1. Act within 1 business day of finding the problem.
  2. Fix or remove. If you know the correct wording and can cite its source, fix the statement. If not, remove it and add a notice that the section is under review.
  3. Run the build and link checks. These are never skipped. Style and reading-level findings may wait for the full review.
  4. Merge and confirm the live page.
  5. Log it. Mark the change log entry Urgent and say what was wrong.
  6. Complete the full review within 5 business days. Do every step of the standard workflow that the fast track skipped. Record the result in the change log.

Scheduled reviews​

PagesWhenWhat to check
Regulation pagesEach January, and when a rule is amendedPenalty figures and other dollar amounts. The current rule text against each cited section. The status of any proposed rule the page mentions.
Policy and procedure setEvery 12 monthsEach deadline against the regulation.
Family safety guidesEvery 6 monthsSteps still agree across the five pages. Reading level.
All pagesEvery 6 monthsExternal links. The "about this sample" note still matches the page.