Skip to content

Merge staging into prod fix conflicts #365

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 47 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d69a03f
Add staging docs site deploy and update prod deploy (#309)
nrichers Sep 4, 2024
e6f2ae9
Merging latest changes from main into staging
github-actions[bot] Sep 4, 2024
4beb606
Merge pull request #327 from validmind/update-staging-10710813001
github-actions[bot] Sep 4, 2024
bc0855d
Delete site/_site directory in staging (#326)
nrichers Sep 5, 2024
b99ec06
Revamped Model Activity docs (#315)
validbeck Sep 6, 2024
0474879
Merging latest changes from main into staging
github-actions[bot] Sep 6, 2024
f9d04e3
Release notes for Sept 9 2024 (#329)
validbeck Sep 6, 2024
0d85544
Merge pull request #332 from validmind/update-staging-10730152504
github-actions[bot] Sep 6, 2024
2e442f1
Merging latest changes from main into staging
github-actions[bot] Sep 6, 2024
5805f80
Merge pull request #333 from validmind/update-staging-10730156583
github-actions[bot] Sep 6, 2024
e9366ca
Only running the PR previews bot when a PR is ready for review (#330)
validbeck Sep 6, 2024
b687ac9
Merging latest changes from main into staging
github-actions[bot] Sep 6, 2024
548d53e
Merge pull request #335 from validmind/update-staging-10743615533
github-actions[bot] Sep 6, 2024
0eaad2a
Modify make python-docs to support rendering online (#336)
nrichers Sep 6, 2024
0f78590
Merging latest changes from main into staging
github-actions[bot] Sep 6, 2024
2e2f0f0
Merge pull request #337 from validmind/update-staging-10745632571
github-actions[bot] Sep 6, 2024
5a62177
Delete .github/workflows/render-site.yaml (#344)
nrichers Sep 9, 2024
cd115ca
Investigate listing page issue (#334)
nrichers Sep 9, 2024
b2987ff
Merging latest changes from main into staging
github-actions[bot] Sep 9, 2024
dedc4ee
Merge pull request #345 from validmind/update-staging-10779461419
github-actions[bot] Sep 9, 2024
d438eea
Fix Heap embeds for docs sites — `main` branch (#339)
nrichers Sep 9, 2024
a656767
Merging latest changes from main into staging
github-actions[bot] Sep 9, 2024
62a3b52
Merge pull request #346 from validmind/update-staging-10779486310
github-actions[bot] Sep 9, 2024
e7ab053
Fix heap embeds for docs sites — staging branch (#340)
nrichers Sep 9, 2024
05b04b1
Merging latest changes from main into staging
nrichers Sep 9, 2024
eb73a8f
Doc: Archive and delete inventory models (#351)
validbeck Sep 12, 2024
a1c442b
Merging latest changes from main into staging
github-actions[bot] Sep 12, 2024
c092a0e
Merge pull request #353 from validmind/update-staging-10837056322
github-actions[bot] Sep 12, 2024
f67e76d
Revamped model findings docs for attachments (#352)
validbeck Sep 12, 2024
0a663e6
Merging latest changes from main into staging
github-actions[bot] Sep 12, 2024
5effc44
Merge pull request #354 from validmind/update-staging-10837149819
github-actions[bot] Sep 12, 2024
3012849
Pulling in latest changes from PR184 (#350)
validbeck Sep 12, 2024
5174a56
Merging latest changes from main into staging
github-actions[bot] Sep 12, 2024
c597efd
Merge pull request #356 from validmind/update-staging-10838565124
github-actions[bot] Sep 12, 2024
f1dc81b
Delete finding docs update (#355)
validbeck Sep 12, 2024
f2a594e
Merging latest changes from main into staging
github-actions[bot] Sep 12, 2024
f1be162
Merge pull request #357 from validmind/update-staging-10839075611
github-actions[bot] Sep 12, 2024
f7b0fac
Moved activity to model inventory & adjusted pages (#358)
validbeck Sep 12, 2024
cd1fd93
Merging latest changes from main into staging
github-actions[bot] Sep 12, 2024
0c4a25d
Merge pull request #359 from validmind/update-staging-10840017604
github-actions[bot] Sep 12, 2024
29cbbe1
Training updates related to creating videos (#227)
nrichers Sep 12, 2024
0237d86
Merging latest changes from main into staging
github-actions[bot] Sep 12, 2024
fe7627f
Merge pull request #360 from validmind/update-staging-10840290103
github-actions[bot] Sep 12, 2024
99437fd
Clarified style guidelines for links & training (#363)
validbeck Sep 13, 2024
88ac0f4
Merging latest changes from main into staging
github-actions[bot] Sep 13, 2024
d05a9eb
Merge pull request #364 from validmind/update-staging-10857170672
github-actions[bot] Sep 13, 2024
b3fea8a
Merge branch 'prod' into staging
nrichers Sep 13, 2024
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
41 changes: 26 additions & 15 deletions site/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project:
post-render: make python-docs
website:
announcement:
content: "[**{{< fa graduation-cap >}} ValidMind Academy**](/training/training-overview.qmd) — Try our training environment to explore what ValidMind has to offer"
content: "[**{{< fa book-open-reader >}} Validating Generative AI**](https://validmind.com/download-whitepaper-validating-generative-ai/) — Read our original technical brief created in collaboration with Parker & Lawrence Growth Advisory"
position: below-navbar
favicon: validmind.png
title: "ValidMind"
Expand Down Expand Up @@ -69,6 +69,8 @@ website:
file: faq/faq.qmd
- text: "Support"
file: support/support.qmd
- text: "Training"
file: training/training.qmd
- text: "validmind.com {{< fa external-link >}}"
file: https://validmind.com/
target: _blank
Expand Down Expand Up @@ -157,18 +159,7 @@ website:
# - text: "Join Our Community"
# file: guide/join-community.qmd
- get-started/platform/next-steps.qmd
- text: "---"
- text: "TRAINING"
- text: "Welcome"
file: training/training-overview.qmd
- text: "For model developers"
file: training/training-for-model-developers.qmd
- text: "For model validators"
file: training/training-for-model-validators.qmd
- text: "For administrators"
file: training/training-for-administrators.qmd
# - text: "For model risk governance"
# file: training/training-for-model-risk-governance.qmd

- title: "Guides"
contents:
- guide/guides.qmd
Expand Down Expand Up @@ -210,6 +201,8 @@ website:
contents:
- guide/model-inventory/configure-model-interdependencies.qmd
- guide/model-inventory/manage-model-inventory-fields.qmd
- guide/model-inventory/archive-delete-models.qmd
- guide/model-inventory/view-model-activity.qmd
- text: "---"
- text: "MODEL DOCUMENTATION"
- file: guide/model-documentation/working-with-documentation-templates.qmd
Expand All @@ -225,7 +218,6 @@ website:
- text: "Assign section statuses"
file: guide/model-documentation/assign-documentation-section-statuses.qmd
- guide/model-documentation/collaborate-with-others.qmd
- guide/model-documentation/view-documentation-activity.qmd
- guide/model-documentation/submit-for-approval.qmd
- guide/model-documentation/export-documentation.qmd
- text: "---"
Expand All @@ -239,7 +231,12 @@ website:
- guide/model-documentation/work-with-content-blocks.qmd
- guide/model-documentation/collaborate-with-others.qmd
- guide/model-documentation/submit-for-approval.qmd
- guide/model-validation/work-with-model-findings.qmd
- file: guide/model-validation/working-with-model-findings.qmd
contents:
- text: "View and filter findings"
file: guide/model-validation/view-filter-model-findings.qmd
- text: "Add and manage findings"
file: guide/model-validation/add-manage-model-findings.qmd
- guide/model-validation/view-reports.qmd
- guide/model-documentation/export-documentation.qmd
- text: "---"
Expand Down Expand Up @@ -305,6 +302,20 @@ website:
- text: "---"
- support/troubleshooting.qmd

- title: "Training"
contents:
- text: "Training"
file: training/training.qmd
- text: "---"
- text: "For model developers"
file: training/training-for-model-developers.qmd
- text: "For model validators"
file: training/training-for-model-validators.qmd
- text: "For administrators"
file: training/training-for-administrators.qmd
# - text: "For model risk governance"
# file: training/training-for-model-risk-governance.qmd

# COMMENT THIS OUT WHEN DONE TESTING
# - title: "Testing"
# contents:
Expand Down
152 changes: 123 additions & 29 deletions site/about/contributing/style-guide/conventions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ In general, follow sentence-style capitalization[^3] to minimize the confusion o

### Responsive columns

To make sure our docs site works well on mobile, we use Tachyons CSS with flexbox. Quarto's default support for CSS Grid is not responsive and should not be used.
To make sure our docs site works well on mobile, we use Tachyons CSS[^4] with flexbox. Quarto's default support for CSS Grid is not responsive and should not be used.

Enable Tachyons CSS in the front matter with:

```markdown
```yaml
filters:
- tachyons
```
Expand Down Expand Up @@ -114,18 +114,22 @@ Column 2, 50% wide
::::


### Margin footnotes
Keep hyperlinks in instructional text minimal — too many links can misdirect the user from the task at hand. This also solves the issue of links with nebulous descriptions that do not match article titles, or links whose destinations are not clear to the user such as "Read more."
### Inline links

- Keep hyperlinks in instructional text minimal — too many links can misdirect the user from the task at hand.
- When possible — such as any time instructions are not single-sourced — instead of multiple inline links, make use of margin footnotes.[^5]
- Whenever possible, make the link the title of the destination article. This also solves the issue of links with nebulous descriptions that do not match article titles, or links whose destinations are not clear to the user such as "Read more."

#### Margin footnotes

- When possible — such as any time instructions are not single-sourced — instead of multiple inline links, make use of Quarto's footnote functionality.[^4]
- Other than in single-sourced files, number all footnotes and place the footnotes at the very end of the page:

```markdown
<!-- IN THE BODY OF YOUR CONTENT -->
- The model is registered in the model inventory.[^1]
- You've already customized your model lifecycle statuses for use in workflows.[^2]
- Workflows have already been set up for use with your models.[^3]
- You are assigned a role that has access to complete actions set up by workflows.[^4]
- You are assigned a role that has access to complete actions set up by workflows.[^5]

<!-- AT THE END OF YOUR .QMD PAGE -->
<!-- FOOTNOTES -->
Expand All @@ -135,10 +139,41 @@ Keep hyperlinks in instructional text minimal — too many links can misdirect t

[^3]: [Working with model workflows](set-up-model-workflows.qmd)

[^4]: [Manage permissions](/guide/configuration/manage-permissions.qmd)
[^5]: [Manage permissions](/guide/configuration/manage-permissions.qmd)
```

Footnotes will automatically appear in the correct location in the margin.
- In single-source files, either place the link inline for training materials formatted in `revealjs`,[^6] or use an embedded footnote for our normal user guides.

You can use Quarto's ability to display conditional content[^7] to do both in the same file:

```markdown
To view model activity:

<!-- EMBEDDED FOOTNOTES FOR STANDARD USER GUIDES -->
:::: {.content-visible unless-format="revealjs"}
1. In the left sidebar, click **Model Inventory**.

1. Select a model by clicking on it or find your model by applying a filter or searching for it.^[[Working with the model inventory](/guide/model-inventory/working-with-model-inventory.qmd#search-filter-and-sort-models)]

1. In the expanded sidebar that appears for your model, click **Model Activity**.

::::

<!-- INLINE LINKS FOR REVEALJS TRAINING -->
:::: {.content-hidden unless-format="revealjs"}
1. In the left sidebar, click **Model Inventory**.

1. Select a model by clicking on it or [find your model by applying a filter or searching for it](/guide/model-inventory/working-with-model-inventory.qmd#search-filter-and-sort-models).

1. In the expanded sidebar that appears for your model, click **Model Activity**.
::::
```
| Inline links in training | Footnotes in user guides |
|------|-----|
| ![](training_inline-links.png){fig-alt="A screenshot showing an example of inline links in training materials"} | ![](user-guide_footenotes.png){fig-alt="A screenshot showing an example of margin footnotes in a user guide"} |
: **Inline vs footnotes links** examples {.hover}

Footnotes will automatically appear in the correct location in the margin, regardless of their origin or format.

| Correct | Incorrect |
|------|-----|
Expand All @@ -161,7 +196,7 @@ Use emphatic styling sparingly, in order not to overwhelm the reader with visual
: **Emphasis** examples {.hover}

#### Callouts
We use two types of callouts[^5] to call attention to supplementary information or issue warnings:
We use two types of callouts[^8] to call attention to supplementary information or issue warnings:

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

Expand Down Expand Up @@ -193,7 +228,7 @@ For warnings and caveats. Warnings, important information, and cautions should f
### Content types

#### Filenames
Filenames should generally match the title of the article[^6] or concisely summarize the content, and be descriptive but not overly lengthy.
Filenames should generally match the title of the article[^9] or concisely summarize the content, and be descriptive but not overly lengthy.

- Filenames for concepts should generally only be made up of nouns and end in `-overview` if they introduce a product area.
- Do not include extraneous keywords.
Expand All @@ -208,10 +243,10 @@ Filenames should generally match the title of the article[^6] or concisely summa
: **Filenames** examples {.hover}

#### Code
- Format code in its own code block.[^7]
- Format code in its own code block.[^10]
- Declare the code language within the pre-formatted block to properly trigger syntax highlighting.

Within a Jupyter Notebook, simply use a **code cell**[^8] rather than a markdown cell.
Within a Jupyter Notebook, simply use a **code cell**[^11] rather than a markdown cell.

> **Correct**:
>```python
Expand All @@ -232,8 +267,8 @@ Use backticks to enclose keyboard commands, parameters, field values, and file n
: **Backtick** examples {.hover}

#### Mathematics
- Mathematical formulas should be rendered using LaTeX formatting.[^9]
- On our WordPress blog posts, this is taken care of by the WP Quick LaTeX plugin.[^10]
- Mathematical formulas should be rendered using LaTeX formatting.[^12]
- On our WordPress blog posts, this is taken care of by the WP Quick LaTeX plugin.[^13]

| Correct | Incorrect |
|------|-----|
Expand All @@ -254,11 +289,11 @@ In the context of model risk management, proper nouns include specific models, l
: **Proper noun** examples {.hover}

## Product names
Within our documentation (`https://docs.validmind.ai/`), you are able to reference constants such as the {{< var validmind.developer >}} and {{< var validmind.platform >}} via variables.[^11]
Within our documentation (`https://docs.validmind.ai/`), you are able to reference constants such as the {{< var validmind.developer >}} and {{< var validmind.platform >}} via variables.[^14]

- Use the variables shown on the table below instead of writing out the phrases to enable consistency between guides everywhere except for image alt text or Mermaid charts.[^12]
- If product names need to be updated, simply amend the `_variables.yml` file[^13] to see changes reflected throughout all guides.
- Please note that variables will not work within any of the Jupyter Notebook code samples[^14] as these are technically standalone files.
- Use the variables shown on the table below instead of writing out the phrases to enable consistency between guides everywhere except for image alt text or Mermaid charts.[^15]
- If product names need to be updated, simply amend the `_variables.yml` file[^16] to see changes reflected throughout all guides.
- Please note that variables will not work within any of the Jupyter Notebook code samples[^17] as these are technically standalone files.

| Product Name | Variable Key | Description |
|---:|---|---|
Expand All @@ -274,6 +309,53 @@ Within our documentation (`https://docs.validmind.ai/`), you are able to referen
Refer also to [the glossary](/about/glossary/glossary.qmd) for extended information on product names.
:::

## Training materials

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

- It makes use of Tachyons CSS[^19] to provide demonstration overlays.

Enable Tachyons CSS in the front matter with:

```yaml
filters:
- tachyons
```

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

::: {.w-50-ns}

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!

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"}

:::

::::


- It uses inline links only instead of footnotes,[^20] as footnotes are not visible in presentation mode.

## What's next
- [Voice and tone](voice-and-tone.qmd)

Expand All @@ -286,24 +368,36 @@ Refer also to [the glossary](/about/glossary/glossary.qmd) for extended informat

[^3]: **Microsoft:** [Capitalization](https://learn.microsoft.com/en-us/style-guide/capitalization)

[^4]: **Quarto:** [Footnotes](https://quarto.org/docs/authoring/markdown-basics.html#footnotes)
[^4]: **GitHub:** [Tachyons Extension For Quarto](https://github.com/nareal/tachyons)

[^5]: **Quarto:** [Footnotes](https://quarto.org/docs/authoring/markdown-basics.html#footnotes)

[^6]: [Training materials](#training-materials)

[^7]: **Quarto:** [Conditional Content](https://quarto.org/docs/authoring/conditional.html)

[^8]: **Quarto:** [Callout Blocks](https://quarto.org/docs/authoring/callouts.html)

[^9]: [Titles](#titles)

[^10]: **Quarto:** [Source Code](https://quarto.org/docs/authoring/markdown-basics.html#source-code)

[^5]: **Quarto:** [Callout Blocks](https://quarto.org/docs/authoring/callouts.html)
[^11]: **Jupyter Notebooks:** [Code Cells](https://jupyter-notebook.readthedocs.io/en/stable/notebook.html#code-cells)

[^6]: [Titles](#titles)
[^12]: **Quarto:** [LaTeX Equations](https://quarto.org/docs/output-formats/html-basics.html#latex-equations)

[^7]: **Quarto:** [Source Code](https://quarto.org/docs/authoring/markdown-basics.html#source-code)
[^13]: **WordPress:** [WP QuickLaTeX](https://en-gb.wordpress.org/plugins/wp-quicklatex/)

[^8]: **Jupyter Notebooks:** [Code Cells](https://jupyter-notebook.readthedocs.io/en/stable/notebook.html#code-cells)
[^14]: **Quarto:** [Variables](https://quarto.org/docs/authoring/variables.html#var)

[^9]: **Quarto:** [LaTeX Equations](https://quarto.org/docs/output-formats/html-basics.html#latex-equations)
[^15]: [Mermaid charts](https://mermaid.js.org/)

[^10]: **WordPress:** [WP QuickLaTeX](https://en-gb.wordpress.org/plugins/wp-quicklatex/)
[^16]: [`_variables.yml`](https://github.com/validmind/documentation/blob/main/site/_variables.yml) file

[^11]: **Quarto:** [Variables](https://quarto.org/docs/authoring/variables.html#var)
[^17]: [Code samples](/developer/samples-jupyter-notebooks.qmd)

[^12]: [Mermaid charts](https://mermaid.js.org/)
[^18]: **Quarto:** [Revealjs](https://quarto.org/docs/presentations/revealjs/)

[^13]: [`_variables.yml`](https://github.com/validmind/documentation/blob/main/site/_variables.yml) file
[^19]: **GitHub:** [Tachyons Extension For Quarto](https://github.com/nareal/tachyons)

[^14]: [Code samples](/developer/samples-jupyter-notebooks.qmd)
[^20]: [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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/glossary/validation_reports/_review.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
review
: entails a comprehensive evaluation process covering four key aspects of model documentation to ensure thoroughness, compliance, and reliability:
: Entails a comprehensive evaluation process covering four key aspects of model documentation to ensure thoroughness, compliance, and reliability:

- **Conceptual soundness**: Examines the foundational elements of the model, including its overview, intended business use, regulatory requirements, and limitations. Ensures that the model's purpose, scope, and constraints are well-defined and understood by stakeholders.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ After you have added a test result to your documentation, you can view the follo
- [Working with model documentation](/guide/model-documentation/working-with-model-documentation.qmd)
- [Work with content blocks](/guide/model-documentation/work-with-content-blocks.qmd)
- [Collaborate with others](/guide/model-documentation/collaborate-with-others.qmd)
- [View documentation activity](/guide/model-documentation/view-documentation-activity.qmd)
- [View model activity](/guide/model-inventory/view-model-activity.qmd)


<!-- FOOTNOTES -->
Expand Down
3 changes: 2 additions & 1 deletion site/guide/guides.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ listing:
contents:
- model-inventory/working-with-model-inventory.qmd
- model-inventory/managing-model-inventory.qmd
- model-inventory/view-model-activity.qmd
- id: guides-model-documentation
type: grid
max-description-length: 250
Expand All @@ -60,7 +61,7 @@ listing:
contents:
- model-validation/manage-validation-guidelines.qmd
- model-validation/preparing-validation-reports.qmd
- model-validation/work-with-model-findings.qmd
- model-validation/working-with-model-findings.qmd
- model-validation/view-reports.qmd
- model-documentation/export-documentation.qmd
type: grid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
The **Document Overview** shows a section-by-section outline of your model's documentation, as well as summaries of:

- Any unresolved conversations^[[Collaborate with others](/guide/model-documentation/collaborate-with-others.qmd)]
- The number of model findings^[[Work with model findings](/guide/model-validation/work-with-model-findings.qmd)]
- The number of model findings^[[Working with model findings](/guide/model-validation/working-with-model-findings.qmd)]
- The completion status for your model's documentation^[[Assign section statuses](/guide/model-documentation/assign-documentation-section-statuses.qmd)]
- Recent activity on your model^[[View documentation activity](/guide/model-documentation/view-documentation-activity.qmd)]
- Recent activity on your model^[[View model activity](/guide/model-inventory/view-model-activity.qmd)]

::::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- Model status transitions^[[Working with model workflows](/guide/model-workflows/working-with-model-workflows.qmd)]
- Updates to model documentation, validation reports,^[[Working with model documentation](working-with-model-documentation.qmd)] or ongoing monitoring reports^[[Ongoing monitoring](/guide/monitoring/ongoing-monitoring.qmd)]
- Test results added to your model^[[ValidMind Developer Framework](/developer/get-started-developer-framework.qmd)]
- Findings added, updated, or removed^[[Work with model findings](/guide/model-validation/work-with-model-findings.qmd)]
- Findings added, updated, or removed^[[Working with model findings](/guide/model-validation/working-with-model-findings.qmd)]
- Comment creation and replies^[[Collaborate with others (Commenting)](/guide/model-documentation/collaborate-with-others.qmd#commenting)]

::::
Expand Down
Loading
Loading