Skip to content

Commit c0774c3

Browse files
committed
Update formatting of README.md files for DOs
1 parent 5a8e7e4 commit c0774c3

File tree

1 file changed

+49
-60
lines changed

1 file changed

+49
-60
lines changed
Lines changed: 49 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,28 @@
1-
<h1 class="page-title">{{ title }}</h1>
1+
# {{ was_derived_from.title }}, {{ version }}
22

3-
{{ description }}
4-
5-
<hr />
6-
7-
## Metadata
8-
9-
| Property | Value |
10-
| :------------- |:-------------|
11-
| **Version:** | {{ version }} |{% for creator in creators %}
12-
| **Creator:** | [{{ creator.name }}]({{ creator.id }}) |{% endfor %}
13-
| **Creation date:** | {{ creation_date }} |
14-
| **Publisher:** | {{ publisher }} |
15-
| **License:** | {{ license }} |
3+
**Description:**
164

17-
{% if had_member %}
18-
<hr />
5+
{{ was_derived_from.description }}
196

20-
## Collection Members
7+
**Publisher:**
8+
{{ was_derived_from.publisher }}
219

22-
{% for member in had_member %}
23-
* [{{ member }}]({{ member }})
10+
{% if 'funders' in was_derived_from %}
11+
**Funder:**
12+
{% for funder in was_derived_from.funders %}
13+
* {{ funder.funder }} (Award number: {{ funder.awardNumber or '-' }})
2414
{% endfor %}
25-
2615
{% endif %}
2716

28-
<hr />
29-
30-
## Distributions
31-
32-
{% for distribution in distributions %}
33-
<h3 id={{ distribution.mediaType | pageId }}>{{ distribution.mediaType | fileType }}</h3>
34-
35-
[{{ distribution.downloadUrl }}]({{ distribution.downloadUrl }})
36-
{% endfor %}
37-
38-
<hr />
39-
40-
## Provenance
41-
42-
<h3 id="raw-data">Source Data</h3>
43-
44-
**Title:**
45-
{{ was_derived_from.title }}
46-
47-
**Description:**
48-
{{ was_derived_from.description }}
17+
**License:**
18+
{{ was_derived_from.license }}
4919

5020
**Creator(s):**
5121
{% for person in was_derived_from.creators %}
5222
* [{{ person.fullName }}]({{ person.id }})
5323
{% endfor %}
5424

55-
**Project Lead:**
25+
**Project lead:**
5626
{% for person in was_derived_from.project_leads %}
5727
* [{{ person.fullName }}]({{ person.id }})
5828
{% endfor %}
@@ -62,33 +32,52 @@
6232
* [{{ person.fullName }}]({{ person.id }})
6333
{% endfor %}
6434

65-
**Creation Date:**
66-
{{ was_derived_from.creation_date }}
67-
68-
**License:**
69-
{{ was_derived_from.license }}
70-
71-
**Publisher:**
72-
{{ was_derived_from.publisher }}
73-
74-
{% if 'funders' in was_derived_from %}
75-
**Funders:**
76-
{% for funder in was_derived_from.funders %}
77-
* {{ funder.funder }} (Award number: {{ funder.awardNumber or '-' }})
35+
{% if 'externalReviewers' in was_derived_from %}
36+
**External Reviewer(s):**
37+
{% for person in was_derived_from.externalReviewers %}
38+
* [{{ person.fullName }}]({{ person.id }})
7839
{% endfor %}
7940
{% endif %}
8041

42+
{% if 'doi' in was_derived_from %}
43+
**DOI:**
44+
{{ was_derived_from.doi }}
45+
{% endif %}
46+
8147
{% if 'hubmapId' in was_derived_from %}
8248
**HuBMAP ID:**
8349
{{ was_derived_from.hubmapId }}
8450
{% endif %}
8551

86-
{% if 'doi' in was_derived_from %}
87-
**DOI:**
88-
{{ was_derived_from.doi }}
89-
{% endif %}
52+
**Date published:**
53+
{{ was_derived_from.creation_date }}
54+
55+
**Date last processed:**
56+
{{ creation_date }}
57+
58+
**Processor:**
59+
{% for creator in creators -%}
60+
[{{ creator.name }}, v{{ creator.version }}]({{ creator.id }})
61+
{%- endfor %}
62+
63+
### Downloads
64+
65+
**Graph Data:**
66+
{% for distribution in distributions %}
67+
* <a id="{{ distribution.mediaType | pageId }}" href="{{ distribution.downloadUrl }}">Processed graph distribution file in {{ distribution.mediaType | fileType }} format</a>
68+
{% endfor %}
9069

91-
**Downloads:**
70+
**Raw Data:**
9271
{% for distribution in was_derived_from.distributions %}
9372
* [{{ distribution.title }}]({{ distribution.downloadUrl }})
9473
{% endfor %}
74+
75+
{% if had_member %}
76+
77+
### Collection
78+
79+
**Digital Objects merged into this collection:**
80+
{% for member in had_member %}
81+
* [{{ member }}]({{ member }})
82+
{% endfor %}
83+
{% endif %}

0 commit comments

Comments
 (0)