diff --git a/lib/rdf/serialization/decoder.ex b/lib/rdf/serialization/decoder.ex index 659ba39..d18e5a4 100644 --- a/lib/rdf/serialization/decoder.ex +++ b/lib/rdf/serialization/decoder.ex @@ -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} diff --git a/lib/rdf/serialization/encoder.ex b/lib/rdf/serialization/encoder.ex index 85e39f8..0d12ce7 100644 --- a/lib/rdf/serialization/encoder.ex +++ b/lib/rdf/serialization/encoder.ex @@ -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. diff --git a/lib/rdf/serializations/turtle_encoder.ex b/lib/rdf/serializations/turtle_encoder.ex index c2b540c..bda4105 100644 --- a/lib/rdf/serializations/turtle_encoder.ex +++ b/lib/rdf/serializations/turtle_encoder.ex @@ -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.