mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-14 06:48:26 +00:00
Nothing in the developer docs says where a new route goes, so the next contributor adds it to `main.py` again. This writes down the convention from Discussion #1536: a new route group gets its own `register_<group>_routes` module under `shelfmark/core/`, and `main.py` calls it once. It is one paragraph on a new page, `docs/dev/routes.md`, with a line in the developer index. It also says that a few older routes are still in `main.py` and are being moved out one group at a time. The route moves in that discussion will follow what this says, so this goes first.
503 B
503 B
Developer Documentation
Guides for adding to Shelfmark.
- Release Sources Plugin Guide: add a source that searches for releases and a handler that downloads them
- Plugin Settings Guide: add settings tabs and fields for a plugin to the Settings UI
- Adding Routes: where a new API route goes, and how a route module gets what it needs
- Metadata Providers: add a metadata provider