This commit is contained in:
Marcel Otto 2020-11-16 13:22:07 +01:00
parent 96f3e46638
commit 76bf042ae5
3 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
defmodule RDF.Serialization.Decoder do
@moduledoc !"""
A behaviour for decoders of strings encoded in a specific `RDF.Serialization` format.
"""
@moduledoc """
A behaviour for decoders of strings encoded in a specific `RDF.Serialization` format.
"""
alias RDF.{Dataset, Graph}

View file

@ -1,7 +1,7 @@
defmodule RDF.Serialization.Encoder do
@moduledoc !"""
A behaviour for encoders of RDF data structures in a specific `RDF.Serialization` format.
"""
@moduledoc """
A behaviour for encoders of RDF data structures in a specific `RDF.Serialization` format.
"""
@doc """
Serializes a RDF data structure into a string.

View file

@ -13,7 +13,7 @@ defmodule RDF.Turtle.Encoder do
If not specified the one from the given graph is used or if there is also none
specified for the graph the `RDF.default_base_iri/0`.
- `:prefixes`: Allows to specify the prefixes to be used as a `RDF.PrefixMap` or
anything from which a `RDF.PrefixMap` can be created with `RDF.PrefixMap.new/2`.
anything from which a `RDF.PrefixMap` can be created with `RDF.PrefixMap.new/1`.
If not specified the ones from the given graph are used or if these are also not
present the `RDF.default_prefixes/0`.
- `:only`: Allows to specify which parts of a Turtle document should be generated.