Skip to content

Commit f80eba1

Browse files
committed
css (smaller doc font) and aggregation doc expansion
1 parent 034296d commit f80eba1

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

docs/aggregations.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,24 @@ The stacked bar chart was generated in Plotly.js from the Beacon 2D aggregation
178178
}
179179
```
180180

181+
## Definition of Aggregation Concepts
182+
183+
Similar to `.../filtering_terms/` (see [filters](filters.md)) beacons should indicate their
184+
supported aggregations in the `.../aggregation_terms/` endpoint which allows clients
185+
to dynamically discover the available aggregations and their semantics. Aggregation
186+
terms provide **single**, _i.e._ 1-dimensional concepts, usually referring to a
187+
single property in the data model. 2D aggregations - reporting the occurrence of
188+
intersecting values, e.g. combining concepts for "diseases" and "sex at birth",
189+
are simply derived from those.
190+
191+
```yaml
192+
id: sampleOriginDetails
193+
label: Anatomical Origin
194+
description: >-
195+
Counts for anatomical sites in matched biosamples
196+
property: biosample.sample_origin_detail.id
197+
```
198+
181199
182200
183201

docs/css/theme_overrides.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
:root {
22
--md-accent-fg-color: #076d63;
3+
font-size: 1.2em;
4+
35
}
46

57
.md-grid {
@@ -32,9 +34,9 @@ div.figcaption {
3234

3335
h2 {
3436
color: var(--md-accent-fg-color);
35-
border-top: var(--md-accent-fg-color) thin solid;
37+
/* border-top: var(--md-accent-fg-color) thin solid;
3638
border-bottom: var(--md-accent-fg-color) thin solid;
37-
}
39+
*/}
3840

3941
div.tabbed-set {
4042
background-color: #fafafa;

0 commit comments

Comments
 (0)