Skip to content

Fetch API docs on demand instead of vendoring them - #13

Merged
utahta merged 1 commit into
mainfrom
docs-sync
Jul 20, 2026
Merged

utahta merged 1 commit into
mainfrom
docs-sync

Conversation

@utahta

@utahta utahta commented Jul 20, 2026

Copy link
Copy Markdown
Owner

同梱していた公式APIドキュメントのコピー(docs/v1・docs/v2)を削除し、make docs-sync で公式サイトから直接取得する方式に変更。

- Untrack docs/v2 and gitignore it as a local-only cache: the vendored
  snapshot had drifted about nine months behind the official spec, so
  sync it from the source instead of committing copies
- Add scripts/sync-docs.sh + `make docs-sync`, which seeds from the
  official llms.txt and follows in-page /ja/spec/ links so pages
  missing from the index (td-*, code tables) are fetched too
- Delete docs/v1: the v1 API is deprecated, the library targets v2
  only, and nothing referenced it
- Update CLAUDE.md / README to point at the sync workflow and the
  official migration guide
@utahta
utahta merged commit b606be8 into main Jul 20, 2026
4 checks passed
@utahta
utahta deleted the docs-sync branch July 20, 2026 02:53
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