Skip to content

Commit e668bd0

Browse files
authored
Merge pull request nightscout#160 from ebouchut/ebouchut/feat/add_lightbox_effect_images
❇️ 💄 Add a Lightbox (zoom) effect to images
2 parents d508d6d + b040502 commit e668bd0

File tree

18 files changed

+26
-19
lines changed

18 files changed

+26
-19
lines changed

docs/0.2.x/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# What is Trio?
66

7-
![Trio Logo](assets/images/trio-logo.png){ width="150", align="right" }
7+
![Trio Logo](assets/images/trio-logo.png){ .skip-lightbox width="150" align="right" }
88

99
Trio is an automated insulin delivery system for iOS based on the [OpenAPS algorithm](https://github.com/OpenAPS/oref0) with [adaptations for Trio](https://github.com/nightscout/trio-oref).
1010

docs/configuration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Configuration
22

3-
![Trio Logo](../assets/images/trio-logo.png){ width="75", align="left"}
3+
![Trio Logo](../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" }
44
Welcome to the Configuration homepage! Here you will find all the information needed to setup your app after you've built it. Configuration involves adjusting your settings. It is important that you do this in an educated way, so this section is here to guide you!
55

66
Please use the navigation menu :fontawesome-solid-bars:, search bar :fontawesome-solid-magnifying-glass:, or the menu below to find the section you are looking for.

docs/configuration/migration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Migration from other OS-AIDs
22

3-
![Trio Logo](../../assets/images/trio-logo.png){ width="75", align="left"}
3+
![Trio Logo](../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" }
44
Welcome to the Migration homepage! Here you will find guidance on locating and identifying the necessary settings needed to start using Trio. Select the app you are moving from in the list below.
55

66
Please use the navigation menu :fontawesome-solid-bars:, search bar :fontawesome-solid-magnifying-glass:, or the menu below to find the section you are looking for.

docs/configuration/settings/algorithm/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Algorithm
22

3-
![Trio Logo](../../../assets/images/trio-logo.png){ width="75", align="left"} Welcome to the Algorithm Settings homepage! Here you'll find information on the settings that influence the algorithm that runs Trio.
3+
![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" } Welcome to the Algorithm Settings homepage! Here you'll find information on the settings that influence the algorithm that runs Trio.
44

55
- - -
66

docs/configuration/settings/devices/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Devices
22

3-
![Trio Logo](../../../assets/images/trio-logo.png){ width="75", align="left"} Welcome to the Devices homepage! Here you'll find information on which devices are compatible with Trio and how to add your compatible devices to your Trio app.
3+
![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" } Welcome to the Devices homepage! Here you'll find information on which devices are compatible with Trio and how to add your compatible devices to your Trio app.
44

55
- - -
66

docs/configuration/settings/features/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Features
22

3-
![Trio Logo](../../../assets/images/trio-logo.png){ width="75", align="left"} Welcome to the features homepage! Here you'll find information on a variety of customization features available to you in the Trio app.
3+
![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" } Welcome to the features homepage! Here you'll find information on a variety of customization features available to you in the Trio app.
44

55
- - -
66

docs/configuration/settings/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Trio Settings
22

3-
![Trio Logo](../../assets/images/trio-logo.png){ width="75", align="left"}
3+
![Trio Logo](../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" }
44
Welcome to the Trio Settings homepage! Here you'll find explanations of all the settings in Trio. They are organized by their appearance in the Settings Menu in the Trio app.
55

66
- - -

docs/configuration/settings/notifications/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Notifications
22

3-
![Trio Logo](../../../assets/images/trio-logo.png){ width="75", align="left"} Welcome to the Notifications homepage! Here you'll find information on the various methods of keeping you updated on Trio's status and important information while you are not actively using the app.
3+
![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" } Welcome to the Notifications homepage! Here you'll find information on the various methods of keeping you updated on Trio's status and important information while you are not actively using the app.
44

55
- - -
66

docs/configuration/settings/services/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Services
22

3-
![Trio Logo](../../../assets/images/trio-logo.png){ width="75", align="left"} Welcome to the Services homepage! This section provides you with additional information on the services built into the Trio app. There are also [Companion Apps](../../../install/ecosystem/index.md) that will work alongside Trio.
3+
![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" } Welcome to the Services homepage! This section provides you with additional information on the services built into the Trio app. There are also [Companion Apps](../../../install/ecosystem/index.md) that will work alongside Trio.
44

55
Please use the navigation menu :fontawesome-solid-bars:, search bar :fontawesome-solid-magnifying-glass:, or the menu below to find the section you are looking for.
66

docs/configuration/settings/therapy/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Therapy
22

3-
![Trio Logo](../../../assets/images/trio-logo.png){ width="75", align="left"}
3+
![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" }
44

55
Welcome to the Therapy Settings homepage! Here you will find the "Trio" of core settings, your basal rates, ISF, and CR. You'll also find the units and targets essential for a functioning Trio closed loop.
66

@@ -22,19 +22,19 @@ Please use the navigation menu :fontawesome-solid-bars:, search bar :fontawesome
2222

2323
Step by step guide on setting your glucose target(s)
2424

25-
- __![Trio Logo](../../../assets/images/trio-logo.png){ width="20" }[Basal Rates](basal-rates.md)__
25+
- __![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="20" }[Basal Rates](basal-rates.md)__
2626

2727
- - -
2828

2929
Step by step guide on setting your basal rates
3030

31-
- __![Trio Logo](../../../assets/images/trio-logo.png){ width="20" }[Carb Ratios](carb-ratios.md)__
31+
- __![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="20" }[Carb Ratios](carb-ratios.md)__
3232

3333
- - -
3434

3535
Step by step guide on setting your carb ratio(s)
3636

37-
- __![Trio Logo](../../../assets/images/trio-logo.png){ width="20" }[Insulin Sensitivities](isf.md)__
37+
- __![Trio Logo](../../../assets/images/trio-logo.png){ .skip-lightbox width="20" }[Insulin Sensitivities](isf.md)__
3838

3939
- - -
4040

docs/help/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Help
22

3-
![Trio Logo](../assets/images/trio-logo.png){ width="75", align="left"}
3+
![Trio Logo](../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" }
44
Welcome to the help homepage! Here you will find a variety of resources that will help in your use of Trio.
55

66
Please use the navigation menu :fontawesome-solid-bars:, search bar :fontawesome-solid-magnifying-glass:, or the menu below to find the section you are looking for.

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Your browser doesn’t support the HTML5 video tag.
1818
</video>
1919

20-
![Trio Logo](assets/images/trio-logo.png){ width="150", align="right" }
20+
![Trio Logo](assets/images/trio-logo.png){ .skip-lightbox width="150" align="right" }
2121

2222
Trio is an open-source automated insulin delivery system (OS-AID) for iOS based on the [OpenAPS algorithm](https://github.com/OpenAPS/oref0) with [adaptations for Trio](https://github.com/nightscout/trio-oref).
2323

@@ -49,4 +49,4 @@ If you find yourself stuck, the community is here to help on [Discord](https://d
4949

5050
Trio is built by a volunteer community. If you are interested in helping as a programmer, you can contribute to the [Trio](https://github.com/nightscout/Trio) or [Trio-Oref](https://github.com/nightscout/trio-oref) code base. Trio is written in Swift, and the Trio-Oref/OpenAPS algorithm is currently written in JS and is in the process of being converted into Swift.
5151

52-
You can also provide support in online support groups by sharing your own success and troubleshoot common errors.
52+
You can also provide support in online support groups by sharing your own success and troubleshooting common errors.

docs/install/ecosystem/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Companion Apps
22

3-
![Trio Logo](../../assets/images/trio-logo.png){ width="75", align="left"} Welcome to the Companion Applications homepage! These apps all work within the Trio ecosystem. They are separate apps that are interoperable with Trio and many other DIY AID systems.
3+
![Trio Logo](../../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" } Welcome to the Companion Applications homepage! These apps all work within the Trio ecosystem. They are separate apps that are interoperable with Trio and many other DIY AID systems.
44

55
- - -
66

docs/install/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Installation and Update
22

3-
![Trio Logo](../assets/images/trio-logo.png){ width="75", align="left"}
3+
![Trio Logo](../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" }
44

55
Welcome to the installation and update homepage! Here you will find information about building, installing, and updating your Trio app.
66

docs/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Usage
22

3-
![Trio Logo](../assets/images/trio-logo.png){ width="75", align="left"}
3+
![Trio Logo](../assets/images/trio-logo.png){ .skip-lightbox width="75" align="left" }
44

55
Welcome to the Usage homepage! Here you will find a variety of topics to learn about that will help you in using Trio to manage your diabetes.
66

mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ plugins:
9191
icon: material-file-download-outline
9292
enabled: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.enabled
9393
attributes: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.attributes
94+
- glightbox:
95+
zoomable: false
96+
skip_classes:
97+
- skip-lightbox
9498
- htmlproofer:
9599
enabled: !ENV [CHECK_BROKEN_LINKS, False]
96100
raise_error_after_finish: true

requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ jinja2~=3.1
22
mkdocs~=1.6.1
33
mkdocs-exporter~=6.2
44
mkdocs-material~=9.6
5+
mkdocs-glightbox~=0.4
56
mkdocs-htmlproofer-plugin~=1.3
67
mkdocs-include-markdown-plugin~=7.1.5
78
mkdocs-open-in-new-tab~=1.0

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ mkdocs-exporter==6.2.0
7777
# via -r requirements.in
7878
mkdocs-get-deps==0.2.0
7979
# via mkdocs
80+
mkdocs-glightbox==0.4.0
81+
# via -r requirements.in
8082
mkdocs-htmlproofer-plugin==1.3.0
8183
# via -r requirements.in
8284
mkdocs-include-markdown-plugin==7.1.5

0 commit comments

Comments
 (0)