Skip to content

Commit

Permalink
Merge pull request #44 from cite-architecture/dev
Browse files Browse the repository at this point in the history
Complete refactoring of CITE abstractions
  • Loading branch information
neelsmith authored Dec 28, 2021
2 parents ec5c57a + a4f621b commit d2860c8
Show file tree
Hide file tree
Showing 17 changed files with 1,026 additions and 212 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.5'
version: '1.7'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Manifest.toml
*.~
docs/build/
scratch/
scratch/
scratch*
.vscode/
9 changes: 3 additions & 6 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ makedocs(
sitename = "CitableBase.jl",
pages = [
"Home" => "index.md",
"URNs" => "urns.md",
"Citable resources" => "citable.md",
"Citable trait" => "citabletrait.md",
"URN comparison" => "urncomparison.md",
"CEX serialization" => "cex.md",
"Implementations" => "implementations.md",
"Identifiers" => "urns.md",
"Citable objects" => "citable.md",
"Citable collections" => "collections.md",
"API documentation" => "apis.md"
]
)
Expand Down
38 changes: 23 additions & 15 deletions docs/src/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,8 @@ CurrentModule = CitableBase

```@docs
Urn
```

Concrete functions for Urns

```@docs
components
parts
```
URN abstractions to implement for specific types

```@docs
addversion
dropversion
```
Expand All @@ -28,12 +19,10 @@ dropversion

```@docs
Citable
```

Functions to implement for citable resources:


```@docs
CitableTrait
NotCitable
citabletrait
citable
urn
label
```
Expand All @@ -43,6 +32,10 @@ label

```@docs
UrnComparisonTrait
NotUrnComparable
urncomparisontrait
urncomparable
urnequals
urncontains
urnsimilar
```
Expand All @@ -53,6 +46,21 @@ urnsimilar

```@docs
CexTrait
NotCexSerializable
cextrait
cexserializable
cex
fromcex
```




## Citable collections

```@docs
CitableCollectionTrait
NotCitableCollection
citablecollectiontrait
citablecollection
```
Loading

0 comments on commit d2860c8

Please sign in to comment.