Skip to content

Commit

Permalink
mermaid settings, cleanup includes
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Nov 6, 2024
1 parent 1869899 commit c65e04d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 24 deletions.
3 changes: 3 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ color_scheme: rsmp
# disable processing of markdown files witouth frontmatter
optional_front_matter:
enabled: false

mermaid:
version: 10
4 changes: 0 additions & 4 deletions docs/_include/head.html

This file was deleted.

10 changes: 0 additions & 10 deletions docs/_include/mermaid.html

This file was deleted.

10 changes: 0 additions & 10 deletions docs/pages/background.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
layout: page
title: Background
nav_order: 1
permalink: /background/
mermaid: true
---
# Background
## Build on MQTT
Expand All @@ -14,14 +12,6 @@ MQTT is based on a publish-subscribe model with a broker in the middle and topic
### Broker
In MQTT, clients all connect to the broker, which routes messages according to which topics are used when subscribing and publishing:

<div class="mermaid">
graph LR
A --- B
B-->C[Happy]
B-->D(Sad);
</div>


```mermaid
graph LR;
A[Client]---Broker;
Expand Down

0 comments on commit c65e04d

Please sign in to comment.