panatgithub_AnkiHeadingSync/AGENTS.md
2026-05-11 21:13:50 +08:00

24 lines
901 B
Markdown

# Repository Notes
## Obsidian Plugin Sync Target
When syncing this plugin into the user's Obsidian vault, use this exact plugin directory:
`/Users/panxiaorong/Library/Mobile Documents/iCloud~md~obsidian/Documents/obsidian/.obsidian/plugins/Anki Heading Sync`
Copy only the built plugin files (`main.js`, `manifest.json`, `styles.css`) into that directory. Do not delete or overwrite `data.json`.
## GitHub Release Assets
When creating or updating a GitHub release, upload the runtime plugin assets:
- `main.js`
- `manifest.json`
- `styles.css`
Also upload the example files from `dist/`:
- `dist/dead-sea-example.md`
- `dist/dead-sea-example.apkg`
The local Chinese-named example files duplicate the English `dead-sea-example.*` files. The English names are the ones referenced by `README.md`; keep only those two example assets attached to every release that includes downloadable assets.