On this page
The short answerWhy DevRel content goes staleBuild an inventory around reader journeysSet a cadence around DevRel workWrite examples that readers and tests can useRead the report as an advocateTurn findings into a launch decisionDivide the work to fit the teamReport progress upward without inventing a scoreWhere the product fitsThe sources we checkedFAQThe short answer
Test DevRel content as a new developer follows it: start with the documented prerequisites, run supported examples in page order, and check whether the path can reach its first useful result. Repeat the check around launches and SDK releases, then review scheduled results for drift. Treat a genuine documentation bug differently from a skipped credential-dependent call, an external service failure, or an example that the test runner cannot judge.
Quickstarts, tutorials, workshop instructions and sample READMEs make promises about a complete journey. A reader needs the right package, setup, credentials, code and next step. A test gives an advocate evidence about those promises; it does not replace reading the instructions or trying the parts that require an authorized account.
DocsAlive extracts supported fenced examples, runs or checks what it can, and classifies the results. It keeps examples in page order and reports where each finding came from. Start with the broader docs testing guide or use this page to build a routine around DevRel launches and releases.
Why DevRel content goes stale
DevRel material often has a different lifespan from the launch that produced it. A quickstart is written for a new SDK, a tutorial is assembled for a conference, or a workshop is published alongside a feature announcement. The team moves to the next launch while the old page remains a common entry point for new developers.
The example may have been copied from an engineer's working branch or pinned to the SDK version available at the time. Later releases can rename an import, change an argument or alter an installation path. A tutorial can also depend on a sandbox, an account setting or a key that was available to the author but is not explained to a reader. A page with tabs for several languages has several paths to maintain, even when they tell the same story.
A small DevRel team cannot assume that reference documentation will catch every problem. Reference pages may describe the current API while an onboarding guide still shows an earlier sequence. Conversely, a quickstart can run while a reference snippet elsewhere remains stale. The two kinds of content need overlapping coverage.
The cost shows up in trust. A reader who cannot complete the first call has to decide whether the mistake is theirs, the page's or the product's. They may spend time searching for a fix, ask for help, or leave before seeing the value the guide promised. An advocate who can identify the broken step and its owner can restore that path more quickly and explain the remaining uncertainty honestly.
Build an inventory around reader journeys
Start with the places a new developer is likely to copy from, including material that lives outside the main documentation site. Record the repository and page, the audience, the SDK or tool version, prerequisites, the expected first result and the person who can arrange a fix. Mark external dependencies and credential-gated steps separately.
The ratings below are qualitative prompts for prioritization. Adjust them to reflect how often your SDKs and services change.
| DevRel content type | How often it breaks | What usually breaks | How to test it |
|---|---|---|---|
| Quickstart | High | Installation, imports, configuration or the first call | Follow the documented path in a clean environment, in page order; separately verify any credential-gated call |
| Tutorial series | High | State carried between pages, renamed APIs or assumptions introduced in an earlier lesson | Test each page's stated starting point and also walk the complete series as a reader |
| Snippet in a reference page | Medium | An argument, attribute, import or package name drifts from the current SDK | Run or syntax-check supported examples against the intended version and inspect their surrounding context |
| Workshop or lab repo docs | High | Event-specific setup, sandbox access, fixtures or links between steps | Rehearse the lab from a fresh checkout with the documented prerequisites before the event |
| README of a sample | Medium | Install commands, tool versions, environment setup or the command to start the sample | Follow the README from a clean checkout and record anything prepared outside the instructions |
| Migration notes after a breaking release | High | Old and new API names, version boundaries or incomplete replacement steps | Check the stated starting and target versions and exercise the migration path with a representative sample |
A page-level run is useful but has a boundary. It can preserve the order of supported blocks on that page; it does not by itself establish that a reader can carry the right files and state across an entire tutorial series. Record that journey and give it a separate rehearsal. See quickstart and tutorial testing and migration guide testing for related workflows.
Choose the first paths to protect
Prioritize a path that a new developer can reach directly and that ends in a concrete result. A good first inventory entry might include the quickstart, the sample README it links to and the workshop page that reuses its setup. Note where those pages repeat commands: the repetition is useful to readers, but each copy can drift.
For every entry, distinguish the version the page promises from the version the test actually uses. A run against a checkout can reveal a coming incompatibility; a run against a released artifact can reveal what a reader encounters after publication. Record which one was used. If the page intentionally targets an older version, make that boundary visible rather than silently testing a different path.
Also note what cannot be automated by the chosen check. A page might need an account, a real key or a sandbox that has to be prepared by a person. That is a coverage gap to manage, not proof that the page is broken or working.
Set a cadence around DevRel work
A useful cadence follows the moments when examples are most likely to matter or change.
- Before a launch or event: rehearse the exact published path, including prerequisites, links between pages and any authorized sandbox steps. Check the package or artifact intended for attendees. Leave time for an SDK engineer to investigate a real API mismatch.
- On every SDK release: run the affected examples against the version being shipped, and check the published installation path when practical. A check triggered after publication detects a problem; it cannot stop a release that has already happened.
- Between releases: run a scheduled check to catch drift in dependencies and other changes. Review skips and uncertain findings as well as failures, so a quiet report does not hide lost coverage.
Pull request checks can provide earlier feedback when a documentation or SDK change is under review. The SDK docs testing guide covers coordinating checks with release work.
Schedule a generic docs check
The following workflow calls a script maintained in your repository. It is a generic GitHub Actions example, not a product-provided action. The script must set up and run the checks your team chooses, and should return a failing exit status when your policy says the workflow should fail.
name: Check documentation
on:
release:
types: [published]
schedule:
- cron: "17 9 * * 1"
workflow_dispatch:
jobs:
docs-check:
runs-on: ubuntu-latest
steps:
- name: Run the repository docs check
run: ./scripts/check-docs.sh
Make the repository and script available to the job in your own workflow setup; the example above only shows the requested check step. Test that the script uses the intended release or default-branch content rather than assuming a post-publication event selects the artifact you need.
GitHub says scheduled workflows run in UTC by default and use the latest commit on the default branch. The off-the-hour minute reduces exposure to the high load that can occur at the start of an hour; scheduled runs can still be delayed, and queued jobs can sometimes be dropped. In a public repository, GitHub automatically disables scheduled workflows after 60 days without repository activity. Review the schedule's status as part of maintaining the workflow. workflow_dispatch provides a manual trigger when the workflow file is on the default branch. See GitHub's event reference and the docs testing workflow guide.
Write examples that readers and tests can use
A testable example should make the reader's task easier to understand. State what must already be installed or configured, introduce the action, and make clear which values the reader must change. Keep the complete path visible instead of adding hidden test setup that makes the report pass while leaving a reader stuck.
The Google code sample guidance recommends an introduction before a sample in most cases, language-appropriate indentation and wrapping lines at 80 characters. The Microsoft code example guidance asks writers to list requirements and dependencies, make examples easy to copy and run, show what to modify, and compile and test code. It also recommends showing expected output and avoiding hard-coded passwords.
Put a concise requirements sentence immediately before each example. For example: “This example requires Python and a local file named settings.json.” If a prerequisite is established earlier in a tutorial, say where the reader obtains it. A test may supply a package or fixture as setup, but the page still needs to tell a reader what is required.
Use labels that describe the block
Label executable Python as python, a Python interactive session as pycon, and configuration or output according to what it contains. A label tells both a reader and the checker how to interpret a block. Do not label a partial fragment as a complete program merely to make it look runnable.
For Python interactive sessions, pycon lets the checker compare printed output line by line. The following example requires only Python's standard library. Save the session in a text file and run python -m doctest -v file.txt to check it with Python's doctest module.
>>> from pathlib import PurePosixPath
>>> page = PurePosixPath("docs/guide-1.md")
>>> page.name
'guide-1.md'
Choose stable output for a comparison. A timestamp or another value that changes between runs can create noise without helping the reader. Explain variable results in prose when exact equality is not the promise.
Only pycon and python-repl sessions have printed output compared by the engine. A separate block introduced as output or response is recognized and skipped; its contents are not checked. Show expected results when they help a reader, but arrange a separate verification method for output outside those interactive sessions.
Make omissions and credentials explicit
Google recommends marking omitted code with a comment in the language of the sample, rather than three dots or an ellipsis character. It also says not to make a block with an omission click-to-copy. That helps a reader distinguish a complete example from part of a larger file.
The engine has a specific fragment rule: it skips a block containing ... as a fragment. A block that marks an omission with a comment is not skipped by that rule. If the remaining block cannot run on its own, it can produce a failure, which triage then classifies. A comment is therefore useful editorial guidance, but it does not make a partial example executable.
Use a placeholder such as YOUR_API_KEY where a reader must supply a key, and explain how to obtain and supply it without putting a secret in the page. Examples needing credentials are classified rather than executed with real keys; customer-provided test credentials are not currently supported. Plan an authorized manual or separate test for the full first call. The credentials guide helps document that boundary.
Keep page setup and sequence visible
A later block may depend on a variable created earlier. The engine preserves page order so supported snippets can use earlier state, while starting each page in a fresh container. That gives a page a meaningful boundary, but it does not prove a multi-page workshop works end to end.
When examples are alternatives in tabs, one variant is selected from each tab group for a run. Record which paths received coverage and arrange checks or rehearsals for the others. A passing Python tab is not evidence that a different language tab ran.
Read the report as an advocate
A report is a list of evidence to interpret, not a single verdict on the whole reader journey. Start with the page and line, then read the status, category and reason. Ask whether the block was executed, syntax-checked or skipped, and whether its setup matches the instructions a reader sees. The findings reference describes the categories in more detail.
Statuses
| Status | What it means for your content | Who acts |
|---|---|---|
pass |
The block was executed or syntax-checked, or may have hit a known unsupported-label limitation; check the actual coverage before treating it as proof of a working journey | Advocate |
warn |
The run reported a difference or a dependency deprecation warning; decide whether the page or its dependency needs attention | Advocate |
fail |
The block exited with an error; the category and reason determine whether this is a documentation bug or needs investigation | Advocate |
skip |
The block was deliberately not run, with a reason; decide whether the uncovered path needs another check | Advocate |
A pass is especially easy to overread. An unmapped fence label has no checker in the current engine and can be reported as passing without execution or parsing. A YAML fence is also reported as passing even though it is not parsed. Use an honest label, inspect coverage, and run a YAML parser or yamllint in your own CI for YAML syntax.
Categories
The owner below is the usual first person to act. An advocate may need to coordinate a fix even when an SDK engineer investigates the underlying API.
| Category | What it means for your content | Who acts |
|---|---|---|
api-drift |
A documented import, attribute or keyword argument is absent from the installed version | SDK engineer |
invalid-syntax |
A complete example does not parse; inspect the reported line and the intended language | Advocate |
stale-output |
A checked interactive session runs but its documented output is outdated | Advocate |
package-not-found |
A documented pip or npm package name does not exist | Advocate |
runtime-error |
Execution failed in a way that needs investigation before assigning blame | Advocate |
timeout |
The run exceeded its time limit; investigate the example and its dependencies | Advocate |
depends-on-context |
The block uses a name defined elsewhere on the page or omitted from the fragment; review whether the context is clear | Advocate |
needs-credentials |
The example needs a credential or recognized credential placeholder and was not run with a real key | Advocate |
network-external |
An external network condition is involved; some results need review rather than automatic filing as docs bugs | Advocate |
missing-install-step |
The page imports a package without installing it; the report supplies a hint to review | Advocate |
missing-fixture |
The example expects a local file or other fixture; decide whether the page explains it | Advocate |
missing-tool / host-tool |
A required tool is unavailable or the command is treated as a host tool; choose another way to verify it | Advocate |
output-differs |
Output varies in a way such as ordering or a timestamp; decide whether the difference matters to the reader | Advocate |
deprecated-usage |
A dependency warns about usage that may need updating | SDK engineer |
illustrative |
Placeholder package or module names are intentional; check that readers understand the illustration | Advocate |
runner-gap / unsupported-syntax |
The runner cannot judge the example as written; arrange another check if the path matters | Advocate |
output-block |
A block is labeled or introduced as output and is skipped | Nobody |
alt-variant |
Another tab variant was selected for this run; decide separately whether this variant needs coverage | Advocate |
fragment |
The block contains ... and is skipped as a fragment |
Advocate |
not-executable |
The block is configuration, prose or a recognized language that is not run | Advocate |
The docs-bug categories identify candidates for a content fix; they do not make every other finding irrelevant. A missing fixture might be intentional, but it can also reveal that a workshop forgot to tell attendees what to download. An external failure may need a retry or a service owner, while a timeout may need reproduction before anyone can say what broke.
Turn findings into a launch decision
For a new quickstart, use the report alongside a human walkthrough:
- [ ] Name the intended reader, starting environment and SDK version.
- [ ] State the requirements immediately before each example or link clearly to the step that establishes them.
- [ ] Follow installation and setup from a clean environment using the documented commands.
- [ ] Run supported examples in page order against the intended artifact.
- [ ] Verify the first useful result, including a separate authorized check for any credential-gated call.
- [ ] Review every likely docs bug and assign a person to fix or investigate it.
- [ ] Review skips, tab alternatives, unsupported languages and uncertain runtime or network results.
- [ ] Check that expected output helps the reader and that any exact
pyconoutput still matches. - [ ] Walk links and transitions to the next step, including any sample README or workshop page.
- [ ] Record the version tested, remaining gaps, owner and decision before launch.
A release-published workflow is valuable follow-up evidence, but it is too late to serve as the only pre-launch gate. Rehearse the candidate before publication when the launch depends on it, then check what readers can actually install after publication.
Divide the work to fit the team
| Team shape | Practical workflow | Ownership and handoff |
|---|---|---|
| Solo advocate | Inventory the highest-value first-call path, run it before launches, review a scheduled report and keep a short list of gaps | The advocate owns the inventory and routes API mismatches to an SDK engineer |
| Small DevRel team | Assign content owners, rotate report review and use a shared checklist for launches and events | The reviewing advocate files a focused issue with page, line, version and reproduction; the content owner verifies the fix |
| DevRel plus docs platform team | Platform maintains the check and report delivery; DevRel defines priority journeys and reviews reader impact | Agree on category routing, release timing and coverage gaps; SDK engineers investigate product API changes |
Keep the handoff small enough to act on. Include the page and line, what the reader was trying to do, the version under test, the observed result and whether credentials or external services were involved. A raw failure count alone does not tell an engineer which change is needed.
Report progress upward without inventing a score
Use the summary in report.json for the counts it actually provides. Keep labels as placeholders until you have a real report, and explain what was included in the run. summary.likely_docs_bugs is the published summary count for likely documentation bugs.
| Monthly measure | Value from the report | Context to add |
|---|---|---|
| Likely documentation bugs | [summary.likely_docs_bugs] |
Which launch paths were in scope and which findings remain open |
| Passing blocks | [summary count for pass] |
Whether passes represent execution or syntax checks, and known coverage limits |
| Warning blocks | [summary count for warn] |
Which warnings need a content or SDK decision |
| Failing blocks | [summary count for fail] |
Which categories need action rather than treating all failures as docs bugs |
| Skipped blocks | [summary count for skip] |
Credential-dependent paths, alternatives and unsupported content requiring other checks |
| Findings by category | [relevant summary category counts] |
Changes in the mix of findings and the owner of follow-up |
Counts describe the report, not developer success by themselves. Pair them with a short account of the paths checked, material gaps and a concrete fix that restored a reader journey. Do not claim that a lower count proves readers are completing onboarding.
Make a page-by-page review list
The following fictional report requires only a file named report.json in the current directory. The sample uses the report keys needed by the script.
{
"summary": {
"likely_docs_bugs": 1
},
"findings": [
{
"page": "docs/guide-1.md",
"line": 18,
"status": "fail",
"category": "api-drift",
"is_docs_bug": true
},
{
"page": "docs/guide-1.md",
"line": 42,
"status": "fail",
"category": "timeout",
"is_docs_bug": false
},
{
"page": "docs/workshop.md",
"line": 27,
"status": "fail",
"category": "runtime-error",
"is_docs_bug": false
}
]
}
This script requires Python's standard library and the report.json file above. It groups likely docs bugs as launch blockers and puts non-bug runtime errors and timeouts in a separate review list.
import json
from collections import defaultdict
from pathlib import Path
report = json.loads(Path("report.json").read_text(encoding="utf-8"))
pages = defaultdict(lambda: {"launch blockers": [], "needs review": []})
for finding in report["findings"]:
page = finding["page"]
category = finding["category"]
entry = f"line {finding['line']}: {category} ({finding['status']})"
if finding["is_docs_bug"]:
pages[page]["launch blockers"].append(entry)
elif category in {"runtime-error", "timeout"}:
pages[page]["needs review"].append(entry)
for page in sorted(pages):
print(page)
for heading in ("launch blockers", "needs review"):
print(f" {heading}:")
entries = pages[page][heading]
if entries:
for entry in entries:
print(f" - {entry}")
else:
print(" - none")
“Launch blockers” is a team policy in this script: it treats the report's is_docs_bug flag as a reason to block. Review the actual finding and your release policy before making the decision. The review list is deliberately narrower than all possible uncertain findings; inspect the full report for external network results, skips and other coverage gaps.
Where the product fits
DocsAlive can scan a local directory or a public Git URL, detect supported documentation frameworks, extract fenced blocks and plan checks. A run uses a fresh container per page and triages results using the actual error. Markdown and JSON reports give an advocate a page-level record to review. See how it works, the framework reference and the CLI reference.
A health check is a one-off way to see a real report for a public GitHub or GitLab repository you own, maintain or are authorized to test. The team checks up to 40 documentation pages and emails the report within two business days; the checkout is deleted after the run.
The Open source plan is $0/month for eligible public OSI-licensed projects and does not include pull-request checks or draft fix PRs. Those start at Team; runs on every release are listed on Growth. See pricing for plan details.
Know what a green result does not cover
Compiled languages are recognized but not executed. TypeScript support is limited to simple type annotations, and JSX and TSX are not judged. Credential-gated examples are classified rather than run with real keys. Only pycon and python-repl output is compared.
Unmapped fence labels can be reported as passing without a check. YAML fences are not parsed, so use yamllint or a YAML parser in your own CI. JSON fences are parsed, but Python's parser accepts NaN and infinities and keeps the last value for a repeated key; a pass is not a strict JSON conformance or schema check. These limits matter when reporting coverage: a green block can mean a narrower check than a reader's complete journey requires.
The sources we checked
These sources were read on November 13, 2026.
| Source | What it covers |
|---|---|
| Google developer documentation style guide: Code samples | Introductions, formatting and comments for omitted code |
| Microsoft Writing Style Guide: Code examples | Requirements, copyable examples, expected output, secure code and testing |
| Python documentation: doctest | Executing and checking interactive Python sessions in text |
| Write the Docs: Docs as code | Applying version control, reviews and automated tests to documentation |
| GitHub Docs: Events that trigger workflows | Release, scheduled and manual workflow triggers and schedule behavior |
FAQ
What should a DevRel team test first?
Start with a path a new developer uses to reach a first useful result. Include its installation, setup, examples and next step, then record any credential-dependent or unsupported portions that need a separate check.
How often should quickstarts and workshops be checked?
Rehearse the relevant path before a launch or event, check affected examples on SDK releases, and run a scheduled check between releases. A post-release check finds problems after publication; it cannot serve as a pre-release gate.
Does every failed block mean the documentation is wrong?
No. Read the category and reason. An API mismatch or invalid complete example can be a documentation bug, while a timeout, external network problem, missing fixture or intentional fragment needs a different review.
Can DocsAlive test a quickstart with a real API key?
Credential-gated examples are classified rather than executed with real keys. Running them with customer-provided test credentials is not currently supported, so use a separate authorized check for the full call.
How is expected output checked?
The engine compares printed output in pycon and python-repl sessions. Separate output or response blocks are skipped and their contents are not compared. Arrange another verification method when those results are important to the reader.
Does a passing report prove a workshop is ready?
No. Review what ran, what was only syntax-checked and what was skipped. Rehearse cross-page steps, alternative language paths, prerequisites and authorized sandbox access, and have a person assess whether the instructions are clear.




