Skip to content
Open
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
24 changes: 24 additions & 0 deletions .github/workflows/deploy-docs-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,25 @@ jobs:
with:
version: ${{ vars.QUARTO_VERSION }}

- name: Get validmind-library SHA
id: lib-sha
run: echo "sha=$(git -C site/_source/validmind-library rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: Cache Python library docs
id: cache-python-docs
uses: actions/cache@v4
with:
path: site/validmind
key: python-docs-${{ steps.lib-sha.outputs.sha }}

- name: Install Poetry
if: steps.cache-python-docs.outputs.cache-hit != 'true'
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Generate Python library docs
if: steps.cache-python-docs.outputs.cache-hit != 'true'
run: |
cd site/_source/validmind-library
make install && make quarto-docs
Expand All @@ -81,6 +94,17 @@ jobs:
cp -r site/_source/release-notes/releases site
rm -f site/releases/backend-releases.qmd site/releases/cmvm-releases.qmd

- name: Cache Quarto site output
uses: actions/cache@v4
with:
path: |
site/_site
site/_freeze
site/.quarto
key: quarto-site-production-${{ hashFiles('site/_quarto.yml', 'site/_quarto-production.yml', 'site/theme.scss', 'site/styles.css', 'site/**/_sidebar.yaml', 'site/**/_sidebar.yml', 'site/_extensions/**') }}-${{ github.sha }}
restore-keys: |
quarto-site-production-${{ hashFiles('site/_quarto.yml', 'site/_quarto-production.yml', 'site/theme.scss', 'site/styles.css', 'site/**/_sidebar.yaml', 'site/**/_sidebar.yml', 'site/_extensions/**') }}-

- name: Render prod docs site
run: |
cd site
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/deploy-docs-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,25 @@ jobs:
with:
version: ${{ vars.QUARTO_VERSION }}

- name: Get validmind-library SHA
id: lib-sha
run: echo "sha=$(git -C site/_source/validmind-library rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: Cache Python library docs
id: cache-python-docs
uses: actions/cache@v4
with:
path: site/validmind
key: python-docs-${{ steps.lib-sha.outputs.sha }}

- name: Install Poetry
if: steps.cache-python-docs.outputs.cache-hit != 'true'
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Generate Python library docs
if: steps.cache-python-docs.outputs.cache-hit != 'true'
run: |
cd site/_source/validmind-library
make install && make quarto-docs
Expand All @@ -81,6 +94,17 @@ jobs:
cp -r site/_source/release-notes/releases site
rm -f site/releases/backend-releases.qmd site/releases/cmvm-releases.qmd

- name: Cache Quarto site output
uses: actions/cache@v4
with:
path: |
site/_site
site/_freeze
site/.quarto
key: quarto-site-staging-${{ hashFiles('site/_quarto.yml', 'site/_quarto-staging.yml', 'site/theme.scss', 'site/styles.css', 'site/**/_sidebar.yaml', 'site/**/_sidebar.yml', 'site/_extensions/**') }}-${{ github.sha }}
restore-keys: |
quarto-site-staging-${{ hashFiles('site/_quarto.yml', 'site/_quarto-staging.yml', 'site/theme.scss', 'site/styles.css', 'site/**/_sidebar.yaml', 'site/**/_sidebar.yml', 'site/_extensions/**') }}-

- name: Render staging docs site
run: |
cd site
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/validate-docs-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,25 @@ jobs:
with:
version: ${{ vars.QUARTO_VERSION }}

- name: Get validmind-library SHA
id: lib-sha
run: echo "sha=$(git -C site/_source/validmind-library rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: Cache Python library docs
id: cache-python-docs
uses: actions/cache@v4
with:
path: site/validmind
key: python-docs-${{ steps.lib-sha.outputs.sha }}

- name: Install Poetry
if: steps.cache-python-docs.outputs.cache-hit != 'true'
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Generate Python library docs
if: steps.cache-python-docs.outputs.cache-hit != 'true'
run: |
cd site/_source/validmind-library
make install && make quarto-docs
Expand All @@ -81,6 +94,17 @@ jobs:
cp -r site/_source/release-notes/releases site
rm -f site/releases/backend-releases.qmd site/releases/cmvm-releases.qmd

- name: Cache Quarto site output
uses: actions/cache@v4
with:
path: |
site/_site
site/_freeze
site/.quarto
key: quarto-site-development-${{ hashFiles('site/_quarto.yml', 'site/_quarto-development.yml', 'site/theme.scss', 'site/styles.css', 'site/**/_sidebar.yaml', 'site/**/_sidebar.yml', 'site/_extensions/**') }}-${{ github.sha }}
restore-keys: |
quarto-site-development-${{ hashFiles('site/_quarto.yml', 'site/_quarto-development.yml', 'site/theme.scss', 'site/styles.css', 'site/**/_sidebar.yaml', 'site/**/_sidebar.yml', 'site/_extensions/**') }}-

- name: Render demo docs site
run: |
cd site
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Some interactive tables, such as our breaking changes and dependency history rel
> [!IMPORTANT]
> First, read through and familiarize yourself with our [ValidMind style guide](https://docs.validmind.ai/about/contributing/style-guide/style-guide.html).

- Our core user guides are sourced in Quarto Markdown under [`site/guide`](https://github.com/validmind/documentation/tree/main/site/guide).
- Our core user guides are sourced in Quarto Markdown under [`site/guide`](https://github.com/validmind/documentation/tree/main/site/guide).
- If you create new documentation, make sure to add it to the [`_quarto.yml`](https://github.com/validmind/documentation/blob/main/site/_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).
Expand Down
9 changes: 8 additions & 1 deletion site/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

project:
type: website
render:
- "**"
- "!_source/**"

metadata-files:
# - _drafts.yaml
Expand Down Expand Up @@ -267,8 +270,12 @@ format:
link-external-icon: true
callout-appearance: simple
link-external-filter: '^https:\/\/(docs\.validmind\.ai|docs-staging\.validmind\.ai|docs-demo\.vm\.validmind\.ai)\/.*'
lightbox: true
lightbox: false

filters:
- tachyons
- preview

execute:
enabled: false
freeze: true
3 changes: 3 additions & 0 deletions site/about/contributing/style-guide/conventions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# SPDX-License-Identifier: AGPL-3.0 AND ValidMind Commercial
title: "Conventions"
date: last-modified
format:
html:
lightbox: true
---

A message can only make an impact when it is received, so presentation is (almost) everything.
Expand Down
3 changes: 3 additions & 0 deletions site/releases/2024/2024-dec-06/release-notes.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: "December 6, 2024"
date: 2024-12-06
format:
html:
lightbox: true
aliases:
- /releases/2024-dec-06/release-notes.html
filters:
Expand Down
1 change: 1 addition & 0 deletions site/training/_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ format:
html:
page-layout: full
css: assets/training.css
lightbox: true
Loading