✳Bay Area Cat Care
Find a program ↗
← Home

FOR DIRECTORY MAINTAINERS

About this guide

These maintainer instructions are currently in English. The public directory interface is available in Spanish and Simplified Chinese.

This directory is maintained as a Hugo site. Each clinic, voucher, or assistance program has its own Markdown file in content/resources/. Structured front matter makes each record searchable and keeps the cards, detail pages, and source links consistent. You can suggest updates by opening an issue or pull request in the public GitHub repository.

The interface is available in English, Spanish, and Simplified Chinese. UI translations live in assets/js/i18n.js; add a message key there for each language when introducing new interface text, and add data-i18n="keyName" to static template text. Provider names, costs, eligibility, and booking information stay in the verified source language unless a reviewed translation is added, so the directory clearly notes that some provider details remain in English.

Add a clinic or program

Copy a similar file from content/resources/, use a short unique filename such as city-clinic-tnr.md, and fill in the YAML fields at the top:

For example, a voucher that can be used at a clinic should have its own resource record. Add the clinic record’s filename under related on the voucher record, and add the voucher filename under related on the clinic record. Their counties and cities still determine which searches show each listing; related links give people a direct path between the assistance and the place where they book.

Add a city, area, or county

For an existing region, add the city to cities on each resource that serves it. Search ignores capitalization and accents, so San José and San Jose are equivalent. Include common short forms or alternate names if people may type them differently.

For a new county, add a resource record with the county name in both county and counties; the county selector will include it automatically. Add its major cities to cities on the relevant records. Then add the new county key and city-name aliases to the aliases object near the top of assets/js/site.js. This helps searches for cities that are not yet named by a provider match the countywide programs without showing city-restricted clinics in the wrong place. Leave out countywide: true for clinics that only accept cats from certain cities.

ZIP-code search uses the generated data/zip-counties.json lookup. To include another county in ZIP searches, add its five-digit Census county FIPS code and display name to COUNTIES in scripts/build_zip_counties.py, then run python3 scripts/build_zip_counties.py. The lookup is based on Census ZIP Code Tabulation Areas (ZCTAs), which approximate USPS ZIP-code geography and can overlap or differ from ZIP delivery areas; providers’ stated service boundaries always take precedence.

Connect the record to the directory

No registration step is needed: Hugo includes every Markdown file under content/resources/ in the home page data. The directory filters use counties, cities, countywide, and type; the booking and source links are rendered from their URL fields. If two services should point to each other, use matching related slug values. Rebuild with hugo and preview with hugo server.

This is a referral guide, not a booking service. The clinic or government program remains the authority for current eligibility, prices, and appointment availability. The research source ledger is maintained in RESEARCH.md in the project repository.

Need help adding or correcting a listing? Email Yoshi at dayeye2006@gmail.com.