Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Oct 16, 2023
1 parent c761787 commit 3926095
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@

# Others

- [Compatibility Chart](./others/00-compatibility-chart.md)
- [Compatibility Chart](./others/compatibility-chart.md)
- [JSON Feed Extension](./others/json-feed-extension.md)
File renamed without changes.
20 changes: 20 additions & 0 deletions docs/src/others/json-feed-extension.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Hatsu JSON Feed Extension

To allow you to customize your postings, Hatsu defines a JSON Feed extension that uses the `_hatsu` key.

All extension keys for the Hatsu JSON Feed Extension are optional.

> Note: everything here is experimental. It is always subject to breaking changes and does not follow semver.
## Top-level

The following applies to the [Top-level JSON Feed](https://www.jsonfeed.org/version/1.1/#top-level-a-name-top-level-a).

- `about` (optional but strongly recommended, string) is the URL used to introduce this extension to humans. should be [https://github.com/importantimport/hatsu/issues/1](https://github.com/importantimport/hatsu/issues/1) .
- `banner_image` (optional, string) is the URL of the banner image for the website in hatsu.

## items

The following applies to the [JSON Feed Item](https://www.jsonfeed.org/version/1.1/#items-a-name-items-a).

- `about` (optional but strongly recommended, string) is the URL used to introduce this extension to humans. should be `https://github.com/importantimport/hatsu/issues/1`.

0 comments on commit 3926095

Please sign in to comment.