Skip to content

Commit 2bd6b5d

Browse files
Fix documentation: integrate searchRanking into template fields table
- Remove contextual 'New Fields' section that doesn't belong in permanent docs - Add searchRanking to existing template fields table where it logically belongs - Cleaner documentation structure without awkward placement
1 parent a7e3ca4 commit 2bd6b5d

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

docs/SPEC.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ The `index.json` file is an array of category objects. See `templates/index.sche
4444
| `mediaSubtype` | string || Thumbnail format: "webp", "mp3", "mp4", etc. |
4545
| `thumbnailVariant` | string || Hover effect: "compareSlider", "hoverDissolve", "hoverZoom", "zoomHover" |
4646
| `tutorialUrl` | string || Link to documentation |
47+
| `searchRanking` | number || Search priority (0-1000, higher = better ranking) |
4748

4849
## Naming Conventions
4950

@@ -111,19 +112,6 @@ This validates:
111112
- ✅ Required thumbnails present
112113
- ✅ Model metadata format compliance
113114

114-
## New Fields
115-
116-
### searchRanking (Optional)
117-
```json
118-
{
119-
"searchRanking": 850
120-
}
121-
```
122-
- **Type**: Number (0-1000)
123-
- **Purpose**: Prioritize templates in search results
124-
- **Higher values** = better ranking/more prominent placement
125-
- **Usage**: Add to high-quality, popular, or featured templates
126-
127115
## Adding New Templates
128116

129117
1. Create workflow and thumbnails following naming conventions

0 commit comments

Comments
 (0)