diff --git a/Project.toml b/Project.toml index ccf25b1..2b1ffdb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CitableBase" uuid = "d6f014bd-995c-41bd-9893-703339864534" authors = ["Neel Smith "] -version = "2.0.0" +version = "2.1.0" [deps] DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" diff --git a/docs/src/implementations.md b/docs/src/implementations.md index 1433515..3fa50ed 100644 --- a/docs/src/implementations.md +++ b/docs/src/implementations.md @@ -2,8 +2,8 @@ ## `Urn` -- [CitableText.jl](https://github.com/cite-architecture/CitableText.jl) -- [CitableObject.jl](https://github.com/cite-architecture/CitableObject.jl) +- the `CtsUrn`, in [CitableText.jl](https://github.com/cite-architecture/CitableText.jl) +- the `Cite2Urn`, in [CitableObject.jl](https://github.com/cite-architecture/CitableObject.jl) diff --git a/docs/src/urns.md b/docs/src/urns.md index ca7a8d7..a5989d2 100644 --- a/docs/src/urns.md +++ b/docs/src/urns.md @@ -32,19 +32,10 @@ components(fake)[3] |> parts "objectid" ``` +All implementations of the `URN` interface should override `Base.show`, and dispatch the following two methods to type-specific functions: - -All implementations of the `URN` interface should override `Base.show`, and dispatch the following three methods to type-specific functions: - -- `validurn` - `dropversion` - `addversion` -## Real implementations - -In practice, there are two URN classes that implement the `URN` abstract type: - -1. the CTS URN (implemented in the [CitableText](https://cite-architecture.github.io/CitableText.jl/stable/) module) -2. the CITE2 URN (implemented in the [CitableObject](https://cite-architecture.github.io/CitableObject.jl/stable/) module).