Skip to content

Getting started

This is the five-minute path. Pick the tab that matches how you work. Each one is end-to-end: install, send a report, and confirm it landed.

There are two milestones:

  1. Send a report and get a report id back from the Hub. This proves the protocol path works — it takes a minute and needs no setup.
  2. Receive reports as GitHub Issues on your own repo. This needs a one-time Hub setup (connect the GitHub App, verify your domain). It’s covered at the end and links to the Hub guide.
  1. Install the SDK.

    Terminal window
    pip install fixyourdocs

    Requires Python 3.9+.

  2. Send your first report.

    from fixyourdocs import Client, Report
    report = Report.create(
    doc_url="https://docs.example.com/getting-started",
    summary="The page does not document how to set the API_KEY env var.",
    kind="missing",
    agent_name="my-agent",
    )
    with Client(api_url="https://hub.fixyourdocs.io") as client:
    result = client.send(report)
    print(result.id, result.is_duplicate)

    A successful call prints a report id (a ULID). That’s the Hub confirming it accepted your report (201 Created).

    Prefer the command line? The same thing without writing code:

    Terminal window
    pipx run fixyourdocs report \
    --doc-url https://docs.example.com/getting-started \
    --summary "The page does not document how to set the API_KEY env var." \
    --agent my-agent \
    --kind missing

So far the Hub has accepted your reports (it returns 201 and a report id), but it hasn’t created a GitHub Issue. That’s by design: the Hub only forwards a report to a repo when the report’s doc_url host matches a domain you have verified you own and bound to a GitHub integration. This keeps anyone from filing issues against a repo that isn’t theirs.

The one-time setup, in three moves:

  1. Sign in at fixyourdocs.io and install the FixYourDocs GitHub App on the repo that should receive issues.

  2. Verify the domain your docs live on by adding a single DNS TXT record the Hub gives you.

  3. Point the integration at your repo and an Issue body template.

The Hub guide walks through each call and the exact DNS record. Once it’s done, the next report against a doc on your verified domain shows up at https://github.com/<your-org>/<your-repo>/issues.

Found something wrong, missing, or out of date on this page? File a docs-feedback report →