Skip to content

Commit

Permalink
docs: fix background color to white for mermaid schema
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mauran committed Apr 27, 2023
1 parent cb17d5a commit e6ac4f0
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions docs/src/workloads/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ instance immediately, but it will be used as a definition to deploy an instance.

The implementation only support JSON format, but the API is designed to be
extensible to support other formats in the future. In case you expect to have a
specific format, please
specific format, please
[open an issue](https://github.com/rik-org/rik/issues/new/choose)
to discuss it.

Expand Down Expand Up @@ -39,15 +39,15 @@ sequenceDiagram
participant Secondary as RIK Secondary Node
Bob-->>Primary: Request new instance <br/>of a workload
note over Primary: Status: PENDING
Primary-->>Scheduler: Request Schedule
Primary-->>Scheduler: Request Schedule
note over Scheduler: Status: PENDING
Scheduler-->>Secondary: Determine appropriate node and<br/> order scheduler
note over Secondary: Status: CREATING
Secondary-->>Secondary: Download and run <br/> necessary components
note over Secondary: Status: RUNNING
Secondary-->>Scheduler: Return instance running OK
Scheduler-->>Primary: Return instance running OK
Primary-->>Bob: Return instance running OK
Secondary-->>Scheduler: Return instance running OK
Scheduler-->>Primary: Return instance running OK
Primary-->>Bob: Return instance running OK
```

Expand All @@ -57,5 +57,13 @@ sequenceDiagram
{{#include schema-v1.json}}
```

[^1]: This workload will probably be renamed in the future, as it is not
strictly related to functions.
[^1]:
This workload will probably be renamed in the future, as it is not
strictly related to functions.

<style>
.mermaid {
background-color: #fff;
border-radius: 10px;
}
</style>

0 comments on commit e6ac4f0

Please sign in to comment.