Skip to content

Commit

Permalink
Update page on media types (#16)
Browse files Browse the repository at this point in the history
* Update page on media types

Made the page more general, to accomodate for future new specs based on the Jelly RDF serialization format (for example Jelly RDF Patch). Made the language consistent with the spec ("recommended" extension and media type).

* Reformat
  • Loading branch information
Ostrzyciel authored Nov 2, 2024
1 parent c904365 commit 4b1a15a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
12 changes: 7 additions & 5 deletions docs/specification/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@

See the specification pages for more details:

- [Serialization format specification](serialization.md)
- [gRPC streaming protocol specification](streaming.md)
- [Protobuf reference](reference.md)
- [Protobuf sources](protobuf-source.md)
- [File extension and media type](media-type.md)
- Specification documents:
- [Serialization format specification](serialization.md)
- [gRPC streaming protocol specification](streaming.md)
- Protobuf definitions:
- [Protobuf reference](reference.md)
- [Protobuf sources](protobuf-source.md)
- [File extensions and media types](media-type.md)
9 changes: 5 additions & 4 deletions docs/specification/media-type.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# File extension and media type
# File extensions and media types

Jelly is not tied to any specific file extension and does not have a registered media type. However, you can use the following:
We recommend using these file extensions and media types when working with Jelly:

- File extension: `.jelly`
- Media type: `application/x-jelly-rdf`
| Format | File extension | Media type |
| --- | --- | --- |
| **[Jelly RDF serialization](serialization.md)** | `.jelly` | `application/x-jelly-rdf` |

The files should be saved in the [delimited variant of Jelly](serialization.md#delimited-variant-of-jelly).

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ nav:
- gRPC streaming protocol: 'specification/streaming.md'
- Protobuf reference: 'specification/reference.md'
- Protobuf source: 'specification/protobuf-source.md'
- File extension and media type: 'specification/media-type.md'
- File extensions and media types: 'specification/media-type.md'

- JVM (Scala) implementation ⮺: 'https://w3id.org/jelly/jelly-jvm/'

Expand Down

0 comments on commit 4b1a15a

Please sign in to comment.