Skip to content

Fix brand casing (Zenrows, not ZenRows) in the new src/ layout - #18

Merged
AnderRV merged 1 commit into
mainfrom
fix/zenrows-casing-src-layout
Aug 21, 2026
Merged

Fix brand casing (Zenrows, not ZenRows) in the new src/ layout#18
AnderRV merged 1 commit into
mainfrom
fix/zenrows-casing-src-layout

Conversation

@AnderRV

@AnderRV AnderRV commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

The feature/batch-api/rc restructuring (merged to main via #13) introduced the current src/zenrows/ layout after the earlier brand-casing sweep had already run against the old flat layout — so these five spots were never checked against the "Zenrows, not ZenRows" rule (per commit 9f1f00c6d: user-facing prose stays "Zenrows"; published identifiers like ZenRowsClient/ZenRowsBatchClient stay "ZenRows").

Fixed:

  • src/zenrows/__init__.py, src/zenrows/batch/__init__.py, src/zenrows/batch/client.py — module/class docstrings
  • scripts/build_reference.py — the doc generator's hardcoded title
  • docs/openapi.yaml — one locally-authored line (gateway_error description), not copied from the authoritative spec

Regenerated rather than hand-edited (both are generated, "do not hand-edit" per their own headers):

  • src/zenrows/batch/models.py via make generate
  • docs/batch-client-reference.md via make docs

Both diffs confirmed to carry only the intended text change plus the generator's timestamp comment — no other regeneration drift.

Deliberately left as "ZenRows": docs/openapi.yaml's title and top-level description — verified verbatim-identical to zenrows-web's own unrevised docs/api/conveyor/api.md. Diverging from the authoritative source's own (unrevised) casing would be worse than the miss itself, matching the established precedent from the original casing sweep.

Verification

  • Full re-sweep (grep -rn "ZenRows" README.md docs/ src/zenrows/ scripts/*.py, filtered for known-correct identifiers) — zero remaining violations besides the two intentionally-preserved openapi.yaml lines.
  • make check (typecheck/lint/format) clean.
  • make test — 126/126 pass.
  • make build — builds clean, package imports correctly.

https://claude.ai/code/session_01DTXXBERPGEnYiYP4Mt3FjF

Per commit 9f1f00c6d: user-facing prose spells the brand "Zenrows"
(capital Z, lowercase r); only published identifiers (ZenRowsClient,
ZenRowsBatchClient) and things copied verbatim from zenrows-web's own
(unrevised) authoritative Batch API spec stay "ZenRows"-cased.

The feature/batch-api/rc restructuring introduced this src/ layout
after the earlier casing sweep (Part 6 of the audit) had already run
against the old flat layout, so these five spots were never checked:
module docstrings in __init__.py/batch/__init__.py/batch/client.py,
the doc-generator's hardcoded title, and one locally-authored (not
copied from the authoritative spec) line in openapi.yaml.

docs/batch-client-reference.md and models.py are generated — fixed
via `make docs`/`make generate` against the corrected sources rather
than hand-edited; diffs confirmed to carry only the intended text
change plus the generator's timestamp comment.

openapi.yaml's title and top-level description stay "ZenRows",
verified verbatim-identical to zenrows-web's own unrevised
docs/api/conveyor/api.md — diverging from the authoritative source
would be worse than the casing miss itself.
@AnderRV
AnderRV merged commit bab8d13 into main Aug 21, 2026
1 check passed
@AnderRV
AnderRV deleted the fix/zenrows-casing-src-layout branch August 21, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant