Skip to content

Commit c063c61

Browse files
authored
Merge pull request #9 from smrgeoinfo/main
updates to github.io page
2 parents cc2b75d + d262521 commit c063c61

File tree

19 files changed

+378
-1126
lines changed

19 files changed

+378
-1126
lines changed

.github/workflows/quarto-pages.yml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,40 @@ jobs:
1919

2020
# Install any computing dependency you may need, usually either python and Jupyter or R
2121
# More specific examples will be shared on quarto-dev/quarto-actions project
22+
# plantUML can be used to dynamically generate UML diagrams to insert in model documentation
23+
#
24+
#- name: Install plantuml deps
25+
# run: sudo apt-get install -y default-jre graphviz
2226

23-
- name: Install plantuml deps
24-
run: sudo apt-get install -y default-jre graphviz
25-
26-
- name: Install plantuml
27-
run: wget -O plantuml.jar "https://github.com/plantuml/plantuml/releases/download/v1.2022.4/plantuml-1.2022.4.jar"
27+
#- name: Install plantuml
28+
# run: wget -O plantuml.jar "https://github.com/plantuml/plantuml/releases/download/v1.2022.4/plantuml-1.2022.4.jar"
2829

30+
# this just inserts some information in the action log
2931
- name: Whereami
30-
run: pwd; ls -lah; java -version; java -jar plantuml.jar -version
32+
run: pwd; ls -lah; java -version # java -jar plantuml.jar -version
3133

3234
- uses: actions/setup-python@v3
3335
- name: "Install Python deps"
3436
run: |
3537
pip install -r requirements.txt
38+
39+
- name: "install pipx"
40+
run: pip install pipx
41+
42+
- name: "install vocab_tools"
43+
#run: pipx install git+https://github.com/isamplesorg/vocab_tools.git@main
44+
run: pipx install git+https://github.com/smrgeoinfo/vocab_tools.git@main
45+
# sets up python code to convert skos to markdown; code is run
46+
# in generate_vocab_docs.sh
3647

3748
- name: Render book to all format
3849
# Add any command line argument needed
39-
env:
40-
PLANTUML_BIN: "java -jar ${{ github.workspace }}/plantuml.jar"
50+
#env:
51+
# PLANTUML_BIN: "java -jar ${{ github.workspace }}/plantuml.jar"
52+
53+
# ttl to markdown python code is called from the generate_vocab_docs script
54+
# Quarto render uses site configuration defined in the _quarto.yml file,
55+
# individual page content in the web site is defined by various xxx.qmd files.
4156
run: |
4257
scripts/generate_vocab_docs.sh; quarto render
4358
- name: Deploy 🚀
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Render using Quarto and push to GH-pages
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build-deploy:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Install Quarto
13+
uses: quarto-dev/quarto-actions/install-quarto@v1
14+
with:
15+
# To install LaTeX to build PDF book
16+
tinytex: false
17+
# uncomment below and fill to pin a version
18+
# version: 0.9.105
19+
20+
# Install any computing dependency you may need, usually either python and Jupyter or R
21+
# More specific examples will be shared on quarto-dev/quarto-actions project
22+
23+
- name: Install plantuml deps
24+
run: sudo apt-get install -y default-jre graphviz
25+
26+
- name: Install plantuml
27+
run: wget -O plantuml.jar "https://github.com/plantuml/plantuml/releases/download/v1.2022.4/plantuml-1.2022.4.jar"
28+
29+
- name: Whereami
30+
run: pwd; ls -lah; java -version; java -jar plantuml.jar -version
31+
32+
- uses: actions/setup-python@v3
33+
- name: "Install Python deps"
34+
run: |
35+
pip install -r requirements.txt
36+
37+
- name: Render book to all format
38+
# Add any command line argument needed
39+
env:
40+
PLANTUML_BIN: "java -jar ${{ github.workspace }}/plantuml.jar"
41+
run: |
42+
scripts/generate_vocab_docs.sh; quarto render
43+
- name: Deploy 🚀
44+
# only deploy when push to main
45+
if: github.event_name != 'pull_request'
46+
uses: JamesIves/github-pages-deploy-action@v4
47+
with:
48+
# The branch the action should deploy to.
49+
branch: gh-pages
50+
# The folder the action should deploy. Adapt if you changed in Quarto config
51+
folder: docs

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ subtitle: README for the isamples.github.io source
55

66
# isamplesorg.github.io
77

8-
This repository provides the source for [isamplesorg.github.io](https://isamplesorg.github.io).
8+
This repository provides the source for [SMR fork isamplesorg.github.io](https://smrgeoinfo.github.io/isamplesorg.github.io/).
99

1010
The site uses the [Quarto](https://quarto.org/) and is built using GitHub actions.
1111

@@ -39,4 +39,4 @@ The output is placed under `models/generated/vocabularies`
3939

4040
After editing, push the sources to GitHub. The rendered pages are generated using the `Render using Quarto and push to GH-pages` GitHub action that is currently manually triggered.
4141

42-
Updating dependencies using `pip -U <<package name>>` and regenerate `requirements.txt` with `pip freeze > requirements.txt`.
42+
Updating dependencies using `pip -U <<package name>>` and regenerate `requirements.txt` with `pip freeze > requirements.txt`.

_quarto.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ website:
2828
contents:
2929
- design/index.qmd
3030
- design/requirements.md
31+
- text: Metadata Model
32+
href: "https://isamplesorg.github.io/metadata/"
3133
- models/index.qmd
3234
- section: "Resources"
3335
contents:
@@ -38,8 +40,9 @@ website:
3840
href: "https://github.com/isamplesorg/"
3941

4042

41-
42-
repo-url: https://github.com/isamplesorg/isamples.github.io
43+
# configure for correct source repository
44+
# repo-url: https://github.com/isamples.org/isamples.github.io
45+
repo-url: https://github.com/smrgeoinfo/isamples.github.io
4346
repo-actions: [edit, issue]
4447

4548
page-footer:
@@ -55,9 +58,14 @@ website:
5558
5659
format:
5760
html:
58-
theme: cosmo
61+
toc: true
62+
toc-depth: 4
63+
number-sections: true
64+
anchor-sections: false
65+
number-depth: 8
66+
theme: sandstone
5967
css: styles.css
6068

61-
filters:
62-
- pandoc-plantuml
63-
69+
#filters:
70+
# - pandoc-plantuml
71+
# comment out for testing

about.qmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ The iSamples project will:
3737

3838
# Principal Investigators
3939

40-
* Kerstin Lehnert, Columbia University
41-
* Ramona Walls, University of Arizona
42-
* Neil Davies, The Regents of the University of California, Berkeley
43-
* David Vieglais, University of Kansas Biodiversity Institute
40+
* [Kerstin Lehnert](https://orcid.org/0000-0001-7036-1977), Columbia University
41+
* [Andrea Thomer](https://orcid.org/0000-0001-6238-3498), University of Arizona
42+
* [Neil Davies](https://orcid.org/0000-0001-8085-5014), The Regents of the University of California, Berkeley
43+
* [David Vieglais](https://orcid.org/0000-0002-6513-4996), University of Kansas Biodiversity Institute
4444

4545

design/index.qmd

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,4 @@ iSamples has defined a profile applicable to all physical samples.
1919

2020
iSamples has defined a programmatic interface
2121

22-
23-
24-
```{.plantuml}
25-
!include https://raw.githubusercontent.com/datadavev/C4-PlantUML/master/C4_Component.puml
26-
27-
System(isa, "iSamples", "iSamples Infrastructure")
28-
System_Ext(coll, "Collection", "Collection of records")
29-
Rel_U(isa, coll, "Synchronize records from")
30-
31-
System_Ext(ont, "Ontologies", "Community maintained ontologies and vocabularies")
32-
Rel_L(isa, ont, "Uses")
33-
34-
Person(admin, "Admin", "Administrator")
35-
Rel(admin, isa, "Manage systems")
36-
37-
Person(user, "User", "Consumer\nContributor")
38-
Rel(user, isa, "Discover, Retrieve, Annotate, [Create, Update if authorized]")
39-
40-
Person(curator, "Curator", "Curator")
41-
Rel(curator, isa, "Create, Manage, Annotate content")
42-
43-
44-
System_Ext(pid, "Id Authority", "Identifier authorities (IGSN, ARK, DOI, ROR, ...)")
45-
Rel(isa, pid, "Get allocation of identifier value range from")
46-
47-
System_Ext(identity, "Identity", "User identity service (ORCID, GitHub, ...)")
48-
Rel(isa, identity, "Get user metadata and authenticate using")
49-
50-
System_Ext(publisher, "Publisher", "Source of identifier appareance in publications")
51-
Rel(isa, publisher, "Get identifier appearances from")
52-
53-
SHOW_LEGEND()
54-
```
55-
22+
PlantUML diagram removed for testing [SMR 2024-01-04]

design/indexbkuqmd

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: "Overview"
3+
subtitle: "iSamples use cases, requirements, architecture, and data models"
4+
---
5+
6+
Physical samples are represented by a digital record.
7+
8+
Each digital record is addressable by at least one identifier that is unique to the record.
9+
10+
A collection of digital records can be represented by a list of the record identifiers.
11+
12+
A list of all physical sample digital record identifiers (global record list) can be constructed from the collection lists.
13+
14+
Digital records may be presented in different serializations (media type).
15+
16+
Digital records of a serialization may present different views of the same information (profile).
17+
18+
iSamples has defined a profile applicable to all physical samples.
19+
20+
iSamples has defined a programmatic interface
21+
22+
23+
24+
```{.plantuml}
25+
!include https://raw.githubusercontent.com/datadavev/C4-PlantUML/master/C4_Component.puml
26+
27+
System(isa, "iSamples", "iSamples Infrastructure")
28+
System_Ext(coll, "Collection", "Collection of records")
29+
Rel_U(isa, coll, "Synchronize records from")
30+
31+
System_Ext(ont, "Ontologies", "Community maintained ontologies and vocabularies")
32+
Rel_L(isa, ont, "Uses")
33+
34+
Person(admin, "Admin", "Administrator")
35+
Rel(admin, isa, "Manage systems")
36+
37+
Person(user, "User", "Consumer\nContributor")
38+
Rel(user, isa, "Discover, Retrieve, Annotate, [Create, Update if authorized]")
39+
40+
Person(curator, "Curator", "Curator")
41+
Rel(curator, isa, "Create, Manage, Annotate content")
42+
43+
44+
System_Ext(pid, "Id Authority", "Identifier authorities (IGSN, ARK, DOI, ROR, ...)")
45+
Rel(isa, pid, "Get allocation of identifier value range from")
46+
47+
System_Ext(identity, "Identity", "User identity service (ORCID, GitHub, ...)")
48+
Rel(isa, identity, "Get user metadata and authenticate using")
49+
50+
System_Ext(publisher, "Publisher", "Source of identifier appareance in publications")
51+
Rel(isa, publisher, "Get identifier appearances from")
52+
53+
SHOW_LEGEND()
54+
```
55+

index.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ The Internet of Samples (iSamples) is a multi-disciplinary and multi-institution
1010

1111
* [Recording of project presentation at the 2020 SPNHC & ICOM NATHIST Conference](https://youtu.be/eRUw5NMksFo?t=105)
1212
* [Zenodo Community](https://zenodo.org/communities/isamples)
13+
* [presentation of iSamples metadata model](https://zenodo.org/records/7434185/files/2022-11_iSamplesMetadata.pdf?download=1)
1314

1415

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
this folder contains markdown output for extension vocabularies

0 commit comments

Comments
 (0)