Skip to content

Commit 7bafd95

Browse files
refactor: ♻️ switch to JSON for glossary, remove glossary extension (#130)
# Description It never worked super well, so this PR removes the glossary extension and instead keeps the glossary items in a JSON that we can wrangle with Polars. Closes #128 Closes #129 This PR needs a quick review. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6825bff commit 7bafd95

File tree

7 files changed

+19
-268
lines changed

7 files changed

+19
-268
lines changed

_extensions/seedcase-theme/_extension.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
title: seedcase-theme
22
author: Luke W. Johnston
3-
version: 1.0.0
3+
version: 1.0.1
44
quarto-required: ">=1.2.0"
55
contributes:
66
formats:
77
common:
88
shortcodes:
9-
- debruine/glossary
109
- quarto-ext/fontawesome
1110
html:
1211
from: markdown+emoji
@@ -15,11 +14,6 @@ contributes:
1514
toc-depth: 3
1615

1716
project:
18-
glossary:
19-
path: glossary.yml
20-
popup: none
21-
show: true
22-
2317
project:
2418
type: website
2519
execute-dir: project

_extensions/seedcase-theme/_extensions/debruine/glossary/_extension.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

_extensions/seedcase-theme/_extensions/debruine/glossary/glossary.css

Lines changed: 0 additions & 56 deletions
This file was deleted.

_extensions/seedcase-theme/_extensions/debruine/glossary/glossary.lua

Lines changed: 0 additions & 174 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"item": "data",
4+
"description": "Data can mean any piece of information that someone would like to use to answer questions. What is considered data (and metadata) is highly dependent on people and what they intend to do with information that is collected. In the context of Seedcase Sprout, data is any information collected for the purposes of doing analyses on them to answer questions. An example might be data collected from people participating in a study on health and disease."
5+
},
6+
{
7+
"item": "data package",
8+
"description": "A \"container\" for data that describes a coherent collection of data. It consists of two parts: data resources and properties."
9+
},
10+
{
11+
"item": "data resource",
12+
"description": "A single piece of data, such as a table or data file, and its properties, included in a data package. It contains the actual data, documented following the Data Package standard."
13+
},
14+
{
15+
"item": "properties",
16+
"description": "Metadata that describes the entire data package and each of the data resources within it. At the package level, the properties include the package name and description, contributors, licenses, and more. At the resource level, they describe attributes such as the resource name, description, schema, and data fields. All properties are stored in `datapackage.json` in the root directory of the package."
17+
}
18+
]

_extensions/seedcase-theme/glossary.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

index.qmd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ def hello_world():
5656
print("Hello, world!")
5757
```
5858

59-
{{< glossary data >}} {{< glossary properties >}}
60-
61-
{{< glossary table=true >}}
62-
6359
## Simple mermaid diagram
6460

6561
::: column-page

0 commit comments

Comments
 (0)