Skip to content

Commit

Permalink
Switch the picture diagram to Mermaid
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lambert <[email protected]>
  • Loading branch information
olivierlambert committed Nov 11, 2023
1 parent 4b1d359 commit dcb81e9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
Binary file removed assets/img/lts.png
Binary file not shown.
21 changes: 20 additions & 1 deletion docs/releases/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,26 @@ Using the Long Term Support version is relevant if:

LTS releases are supported for 5 years.

![](../../assets/img/lts.png)
```mermaid
%%{
init: {
'theme': 'base',
'themeVariables': {
'fontSize': '32px',
'primaryColor': '#8e83fe',
'textColor': '#555',
'secondaryColor': '#5952a3',
'tertiaryColor': 'transparent'
}
}
}%%
gantt
dateFormat YYYY-MM-DD
tickInterval 12month
XCP-ng 8.2.1 LTS :2022-02-28, 3y
XCP-ng 8.2.0 LTS (EOL) :active,2020-11-18, 16M
XCP-ng 8.1 (EOL) :active,2020-03-31, 1y
```

If you prefer to get the latest improvements, go for our [latest standard release](#standard-releases).

Expand Down
10 changes: 10 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ const config = {
defaultMode: 'dark',
respectPrefersColorScheme: true,
},
// Mermaid
mermaid: {
options: {
fontSize: 25,
gantt: {
fontSize: 25,
barHeight: 70,
}
},
},
algolia: {
// The application ID provided by Algolia
appId: 'I9J2TZ0RWH',
Expand Down

0 comments on commit dcb81e9

Please sign in to comment.