Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

validmind/documentation

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

140 Commits
140 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValidMind

This is the home for the user-facing documentation and related infrastructure for ValidMind. If you want to make updates to our external docs site, you're in the right place!

Contributing to the documentation

We believe in the power of collaboration and welcome contributions from the community. If you've noticed an issue or have ideas for improvement, please create a pull request or submit an issue. A member of ValidMind's documentation team will review your suggestions and support you in contributing to the docs.

  • Follow the Quickstart for a 15-minute introduction to the Developer Framework and ValidMind Platform.

  • Read the Developer Framework docs for more information about ValidMind's open source tests and Jupyter notebooks.

  • Join the Community Slack to ask questions, get support, and connect with Model Risk Management (MRM) practioners.

Prerequisites

We use Quarto to develop our docs site, an open-source docs framework based on Pandoc that supports multiple input formats such as Quarto Markdown, Jupyter notebooks, and Markdown.

You need:

  • Quarto CLI
  • The Quarto extension for your IDE, such as VS Code
  • For Windows operating systems, install the make command via Cygwin

How to contribute

First, read through and familiarize yourself with our ValidMind style guide.

  • Our core user guides are sourced in Quarto Markdown under site/guide.
  • If you create new documentation, make sure to add it to the _quarto.yml file.

If you are creating a pull request, test your changes by rendering or previewing the site. Note that if this is your first time contributing, you will be asked to sign a contributor license agreement (CLA).

Preview the docs site

cd site
quarto preview

Render the docs site

To render the site:

cd site
quarto render

The rendered static HTML output lives in:

site
└── _site ...
    └── *.html, *.css, *.png, *.js ...

Directory map

site

Core files you manipulate live under site in these key directories that more or less correlate to the sections of the docs site reachable via the top navigation bar:

  • about
  • developer
  • faq
  • get-started
  • guide
  • support

These directories may have sub-directories depending on their size and grouped sub-topics contained within.

Special site directories

  • releases — Correlates to the "Releases" section under About.
  • training — Correlates to the "Training" section under Get Started.

Supporting site directories

  • _site — This is where static files rendered by quarto render get placed.
  • assets — This is where general shared assets live (stylesheets, promotional images, etc.).
  • internal — For internal testing only.
  • notebooks — This is where notebooks retrieved from the developer-framework repo live.
  • tests — This is where test descriptions generated from the Python source in the developer-framework repo live.
  • wip — Work in progress files should live here, and have the search flag set to false.

Auxiliary directories

  • site-unused — Archived files get moved here.
  • templates — You can find generic structural templates in this folder here to help you build your guides.

Working with files

.qmd

Files for the docs site are created using Quarto Markdown (.qmd). These, along with any Jupyter Notebooks pulled in from developer-framework, get rendered into HTML files.

Hyperlinks

When constructing links, refer to the .qmd file as Quarto will properly render these into .html links on your behalf and check to see if the destinations are able to be resolved:

Correct Incorrect
[Get started with JupyterHub](get-started/developer/try-with-jupyterhub.qmd) [Get started with JupyterHub](get-started/developer/try-with-jupyterhub.html)

The only exceptions are within HTML, such as CSS-styled buttons which necessitate usage of .html href links:

<a class="btn btn-primary" role="button" style="padding: 12px;color: var(--bs-white);background: #DE257E;border-radius: 4px;margin-top: 40px;font-family: 'Inter';font-style: normal;font-weight: 700;font-size: 14px;line-height: 100%;border: 1px solid var(--bs-pink);" href="get-started/developer/try-with-jupyterhub.html">QuickStart</a>

You'll need to pay special attention to these links and manually test them to ensure that they are not broken whenever any changes to file destinations are made.

When constructing filepaths, including while using Quarto's Includes (single-sourcing feature), you'll also want start with the root directory whenever possible as this minimizes usage of unclear relative paths:

Correct Incorrect
[Register models in the inventory](/guide/model-inventory/register-models-in-inventory.qmd) [Register models in the inventory](../../register-models-in-inventory.qmd)

Column layouts

Use the installed Tachyons Extension For Quarto to build column layouts so that they are properly mobile responsive.

Refer to the tachyons-flexbox.qmd template for an example.

Jupyter Notebooks

Notebooks (.ipynb files) are NOT edited via this documentation repo, as any changes will be overridden.

Changes need to be made in the root repository developer-framework and pulled into this one with:

make get-source

About

A place for our user-facing documentation and related infrastructure

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.