You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> LoopDocs' **[Glossary](https://loopkit.github.io/loopdocs/faqs/glossary/)** is like a dictionary for the acronyms and technical terms used in the documentation. It explains them in simple terms.
579
-
> It is kind of a personal translator for all the diabetes jargon you will find there.
580
-
581
-
The glossary is composed of a source file (text) and a generated Markdown file.
582
-
The website uses the Markdown version of the glossary.
583
-
584
-
#### Update the Glossary
576
+
> [LoopDocs' glossary](https://loopkit.github.io/loopdocs/faqs/glossary/) is a dictionary for the acronyms and technical terms used in the documentation. It explains them in simple terms.
577
+
> It is a personal translator for all the diabetes jargon you will find there.
585
578
586
-
Today creating the glossary in Markdown is a 2-step manual process.
587
-
First we modify the source file (`includes/tooltip-list.txt`) to add/update/remove entries.
588
-
Then we generate the Markdown version of the glossary (`docs/faqs/glossary.md`).
579
+
The glossary is composed of a source file and a generated Markdown page.
580
+
The website uses the Markdown page of the glossary.
589
581
590
-
```mermaid
591
-
---
592
-
title: Generate the Glossary
593
-
---
594
-
flowchart LR
595
-
subgraph Text
596
-
text_glossary[/ includes/tooltip.txt /]
597
-
end
598
-
subgraph Transform Glossary
599
-
generator{ ./make-glossary.sh }
600
-
end
601
-
subgraph Markdown
602
-
markdown_glossary[/+ docs/faqs/glossary.md /]
603
-
end
604
-
605
-
text_glossary --> generator --> markdown_glossary
606
-
```
582
+
**Updating the glossary** is a 3-step **manual process**:
583
+
1. Modify the glossary source file ([`includes/tooltip-list.txt`](https://github.com/LoopKit/loopdocs/blob/main/includes/tooltip-list.txt) ) to add/update/remove entries.
584
+
2. Generate the glossary Markdown page (`docs/faqs/glossary.md`) using this handy shell script:
585
+
```shell
586
+
./make-glossary.sh
587
+
```
588
+
```mermaid
589
+
---
590
+
title: Generate the Glossary Page
591
+
---
592
+
flowchart LR
593
+
subgraph Glossary Source
594
+
text_glossary[/ includes/tooltip-list.txt /]
595
+
end
596
+
subgraph Run Shell Script
597
+
generator{ ./make-glossary.sh }
598
+
end
599
+
subgraph Glossary Page
600
+
markdown_glossary[/ docs/faqs/glossary.md /]
601
+
end
602
+
603
+
text_glossary --> generator --> markdown_glossary
604
+
```
605
+
3. **Commit** the changed files (glossary source file and generated page):
- Edit the text version of the glossary [`includes/tooltip-list.txt`](https://github.com/LoopKit/loopdocs/blob/main/includes/tooltip-list.txt) to **add/update/remove glossary entries**
609
-
- **Create** the Markdown version of the glossary (`docs/faqs/glossary.md`).
610
-
This handy script does this for you:
611
-
```
612
-
# Transform Glossary from text to Markdown
613
-
./make-glossary.sh
614
-
```
615
-
- **Commit** both the text and markdown versions of the glossary:
0 commit comments