Skip to content

Merge main into staging #511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 0 additions & 83 deletions internal/templates/fundamentals.qmd

This file was deleted.

6 changes: 3 additions & 3 deletions site/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,11 @@ website:
# - text: "---"
# - text: "FUNDAMENTALS"
# - text: "For Administrators"
# file: training/administrator/administrator-fundamentals-register.qmd
# file: training/administrator-fundamentals/administrator-fundamentals-register.qmd
# - text: "For Developers"
# file: training/developer/developer-fundamentals-register.qmd
# file: training/developer-fundamentals/developer-fundamentals-register.qmd
# - text: "For Validators"
# file: training/validator/validator-fundamentals-register.qmd
# file: training/validator-fundamentals/validator-fundamentals-register.qmd
# - text: "For model risk governance"
# file: training/training-for-model-risk-governance.qmd

Expand Down
183 changes: 95 additions & 88 deletions site/about/contributing/style-guide/conventions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -227,54 +227,6 @@ Footnotes will automatically appear in the correct location in the margin, regar
| ![](margin-footnotes_correct.png){fig-alt="A screenshot showing a correct example of footnote links automatically placed in the margin" class="screenshot"} | ![](inline-links_incorrect.png){fig-alt="A screenshot showing an incorrect example of supplementary links in inline instructional text" class="screenshot"} |
: **Margin footnotes** examples {.hover}

### Page previews

We provide live previews of training modules on our course pages. These previews act like links but they provide a live preview of the training module linked to. To simplify embedding these previews, we created a preview extension for Quarto that is part of our repository.

Enable course previews in the front matter:

```yaml
filters:
- preview
```

:::: {.flex .flex-wrap .justify-around}

::: {.w-50-ns .pr3}
**Correct:**

```markdown
::: {.preview source="administrator-fundamentals.qmd"}
:::
```

**Output:**

::: {.preview source="../../../training/administrator-fundamentals.qmd"}
:::

**Optional:** Specify a different `target` for the preview to preview a training course but link to the registration page, for example:

```markdown
::: {.preview source="administrator-fundamentals.qmd" target="administrator-fundamentals-register.qmd"}
:::
```

:::

::: {.w-50-ns .pl3}
**Incorrect:**

```html
<div style="position: relative; display: inline-block; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); border-radius: 5px; border: 1px solid #222425; background: #DE257E;">
<iframe src="administrator-fundamentals.html" width="400" height="225" style="border:none; border-radius: 5px;"></iframe>
<a href="administrator-fundamentals.html" target="_blank" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10;"></a>
</div>
```
:::

::::

### Emphasis
Use emphatic styling sparingly, in order not to overwhelm the reader with visual distractions.

Expand Down Expand Up @@ -448,29 +400,73 @@ Refer also to [the glossary](/about/glossary/glossary.qmd) for extended informat

The ValidMind Academy[^20] is delivered in Revealjs presentation format,[^21] with a slightly different set of conventions:

- Registration landing pages make use of our custom `.preview` class to display the tile card for the course:
- Training courses consist of:

:::: {.flex .flex-wrap .justify-around}
a. A course registration page.[^22]
b. The course slides themselves.[^23]

::: {.w-40-ns}
- Training materials use several supplementary style sheets to apply an alternate site theme:

```markdown
::: {.preview source="/training/administrator-fundamentals.qmd"}
:::
a. **ValidMind Academy hub:** `training.css`[^24]
b. **Course registration pages:** `training.css`, `training-nav.css`[^25]
c. **Course slides:** `slides.scss`[^26]

- Each course lives in its own subdirectory within our training, where the name of the directory reflects the name of the course.

| Correct | Incorrect |
|------|-----|
| `/training/administrator-training/administrator-fundamentals.qmd` | `/training/administrator-fundamentals/administrator-fundamentals.qmd` |
: **Training subdirectory** examples {.hover}

#### Course registration

- Course registration pages outline what the course covers and how to sign up for the course.
- Registration pages make use of our custom `.preview` extension[^27] to display the tile card for the course. These previews act like links but they provide a live preview of the page linked to.

First enable course previews in the front matter:

```yaml
filters:
- preview
```

:::
:::: {.flex .flex-wrap .justify-around}

::: {.w-50-ns}
::: {.w-40-ns}

::: {.preview source="/training/administrator-fundamentals.qmd"}
:::
<br>
:::
Then reference the file to embed within the body of the page:

::::
```markdown
::: {.preview source="/training/administrator-fundamentals/administrator-fundamentals.qmd"}
:::
```

:::

::: {.w-50-ns}

::: {.preview source="/training/administrator-fundamentals/administrator-fundamentals.qmd"}
:::

:::

::::

::: {.column-margin}
Optional
: Specify a different `target` for the preview to preview a training course but link to the registration page, for example:

```markdown
::: {.preview source="administrator-fundamentals.qmd" target="administrator-fundamentals-register.qmd"}
:::
```
:::

![Example of a course registration page](course-registration-page.png){fig-alt="A screenshot showing an example of a course registration page" class="screenshot" width=80%}

- Training slides make use of Tachyons CSS[^22] to provide demonstration overlays.
#### Course slides

- Training slides make use of Tachyons CSS[^28] styled with our custom `.overlay` class to provide demonstration overlays.

Enable Tachyons CSS in the front matter with:

Expand All @@ -479,38 +475,37 @@ The ValidMind Academy[^20] is delivered in Revealjs presentation format,[^21] wi
- tachyons
```

:::: {.flex .flex-wrap .justify-around}
:::: {.flex .flex-wrap .justify-around}

::: {.w-40-ns}
::: {.w-40-ns}

Example overlay box:
Example overlay box:

```css
:::: {.fr .f3 .mv5 .nr4 .pa5 .bg-near-white .ba .b--dark-pink .bw1 .br3 .near-black .shadow-5}
From **{{< fa gear >}} Settings** in the {{< var validmind.platform >}}, <br>you can:

- Set up your organization
- Onboard new users
- Manage roles, groups and <br>permissions
- Configure the model inventory
- Manage templates and workflows
- And much more!
```css
:::: {.fr .f3 .mv5 .nr4 .pa5 .overlay}
From **{{< fa gear >}} Settings** in the {{< var validmind.platform >}}, <br>you can:

Try it **live** on the next page. {{< fa hand-point-right >}}
::::
```
- Set up your organization
- Onboard new users
- Manage roles, groups and <br>permissions
- Configure the model inventory
- Manage templates and workflows
- And much more!

:::
Try it **live** on the next page. {{< fa hand-point-right >}}
::::
```

::: {.w-50-ns}
:::

![](training-overlay.png){fig-alt="A screenshot showing an example of a training overlay" class="screenshot"}
::: {.w-50-ns}
![Example of a training overlay](training-overlay.png){fig-alt="A screenshot showing an example of a training overlay" class="screenshot"}

:::
:::

::::
::::

- Training slides use inline links only instead of footnotes,[^23] as footnotes are not visible in presentation mode.
- Training slides use inline links only instead of footnotes,[^29] as footnotes are not visible in presentation mode.

## What's next
- [Voice and tone](voice-and-tone.qmd)
Expand Down Expand Up @@ -552,14 +547,26 @@ The ValidMind Academy[^20] is delivered in Revealjs presentation format,[^21] wi

[^17]: [Mermaid charts](https://mermaid.js.org/)

[^18]: [`_variables.yml`](https://github.com/validmind/documentation/blob/main/site/_variables.yml) file
[^18]: **ValidMind GitHub:** [`_variables.yml`](https://github.com/validmind/documentation/blob/main/site/_variables.yml)

[^19]: [Code samples](/developer/samples-jupyter-notebooks.qmd)

[^20]: [Welcome to ValidMind Training](/training/training.qmd)
[^20]: [ValidMind Academy](/training/training.qmd)

[^21]: **Quarto:** [Revealjs](https://quarto.org/docs/presentations/revealjs/)

[^22]: **GitHub:** [Tachyons Extension For Quarto](https://github.com/nareal/tachyons)
[^22]: [Course registration](#course-registration)

[^23]: [Course slides](#course-slides)

[^24]: **ValidMind GitHub:** [training.css](https://github.com/validmind/documentation/blob/main/site/training/assets/training.css)

[^25]: **ValidMind GitHub:** [training-nav.css](https://github.com/validmind/documentation/blob/main/site/training/assets/training-nav.css)

[^26]: **ValidMind GitHub:** [slides.scss](https://github.com/validmind/documentation/blob/main/site/training/assets/slides.scss)

[^27]: **ValidMind GitHub:** [preview](https://github.com/validmind/documentation/tree/main/site/_extensions/nrichers/preview) extension

[^28]: **GitHub:** [Tachyons Extension For Quarto](https://github.com/nareal/tachyons)

[^23]: [Inline links](#inline-links)
[^29]: [Inline links](#inline-links)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/about/contributing/style-guide/training-overlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion site/about/overview-model-documentation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ It offers model developers a systematic approach to documenting and testing risk

<!-- Using the variable in alt text messes up the image display -->

![The two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform.](overview-developer-framework.png){width=80% fig-align="center" fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform."}
![The two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform.](overview-developer-framework.png){width=80% fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform."}

The {{< var validmind.developer >}} consists of a client-side library, API integration for models and testing, and validation tests that streamline the model development process. Implemented as a series of independent libraries in Python and R, our {{< var vm.developer >}} ensures compatibility and flexibility with diverse sets of developer environments and requirements.

Expand Down
2 changes: 1 addition & 1 deletion site/about/overview-model-risk-management.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The {{< var validmind.platform >}} provides a comprehensive suite of tools, guid

<!-- Using the variable in alt text messes up the image display -->

![The two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform.](overview-platform-ui.png){width=80% fig-align="center" fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform."}
![The two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform.](overview-platform-ui.png){width=80% fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind AI risk platform."}

The {{< var vm.platform >}} employs a multi-tenant architecture, hosting the cloud-based user interface, APIs, databases, and internal services. The design ensures efficient resource utilization and offers a highly scalable solution for organizations of varying sizes.

Expand Down
2 changes: 1 addition & 1 deletion site/developer/get-started-developer-framework.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ValidMind's {{< var vm.developer >}} provides a rich collection of documentation

<!-- Using the variable in alt text messes up the image display -->

![](validmind-ai-risk-platform.png){width=70% fig-align="center" fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind Platform UI."}
![](validmind-ai-risk-platform.png){width=70% fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind Platform UI."}

ValidMind offers two primary methods for automating model documentation:

Expand Down
2 changes: 1 addition & 1 deletion site/get-started/get-started.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The purpose of these efforts is to ensure that good risk management principles a

<!-- Using the variable in alt text messes up the image display -->

![The two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind Platform UI.](validmind-lifecycle.jpg){width=70% fig-align="center" fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind Platform UI."}
![The two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind Platform UI.](validmind-lifecycle.jpg){width=70% fig-alt="An image showing the two main components of ValidMind. The developer framework that integrates with your existing developer environment, and the ValidMind Platform UI."}

The {{< var validmind.product >}} provides two main product components:

Expand Down
12 changes: 6 additions & 6 deletions site/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ listing:
image-height: 200px
sort: false
contents:
- path: training/administrator/administrator-fundamentals-register.qmd
image: training/assets/administrator-fundamentals.png
- path: training/administrator-fundamentals/administrator-fundamentals-register.qmd
image: training/administrator-fundamentals/administrator-fundamentals.png
title: "Administrator Fundamentals {{< fa gear >}}"
subtitle: "Register now {{< fa chevron-right >}}"
- path: training/developer/developer-fundamentals-register.qmd
- path: training/developer-fundamentals/developer-fundamentals-register.qmd
title: "Developer Fundamentals {{< fa code >}}"
subtitle: "Register now {{< fa chevron-right >}}"
image: training/assets/developer-fundamentals.png
- path: training/validator/validator-fundamentals-register.qmd
image: training/assets/validator-fundamentals.png
image: training/developer-fundamentals/developer-fundamentals.png
- path: training/validator-fundamentals/validator-fundamentals-register.qmd
image: training/validator-fundamentals/validator-fundamentals.png
title: "Validator Fundamentals {{< fa user-check >}}"
subtitle: "Register now {{< fa chevron-right >}}"
fields: [image, title, subtitle]
Expand Down
Loading