Skip to content

Commit

Permalink
add emoji extension to render emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Sopena Ballesteros committed Jun 16, 2024
1 parent 52d2f84 commit 45df525
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

## Set boot image

> :warning: **Highly discourage**: only do this if sessions in the system has been deleted
???+ warning "**Highly discourage**"
only do this if sessions in the system has been deleted

## Set boot configuration

Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ Manta aggregates information from multiple sources:

## Introduction

> :warning: **WIP**: trying to fill the gap in cray and sat clis when managing clusters
???+ warning "**WIP**"
trying to fill the gap in cray and sat clis when managing clusters

Configuration inmutability: overwritting configurations used by clusters (nodes booting with an image linked to a configuration or runtime configuration) is a bad practice because the history of that configuration is lost.

Expand Down
2 changes: 1 addition & 1 deletion docs/sat.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ session_templates:

While sat bootprep templating seems very simple, manta uses a jinja2 template engine.

???+ warning
???+ warning "Using `-` in variable names is not recommended"
A common mistake when dealing with jinja2 files is using `-` in variable names. This won't work since jinja will expand this as a math operator, to avoid this issue, try to use `_` instead.
eg:
When a jinja template engine sees this `{{ template-version }}` it will try to resolve template and version as 2 independent variables (variable `template` and variable `version`) and substrace them means. If those variables don't exists in the sessions var, then they will become `undefined` and the jinja template engine will try to substract the 2 undefined values `undefined - undefine`, then, the operation will fail. This however would work if the session vars contains:
Expand Down

0 comments on commit 45df525

Please sign in to comment.