You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2023/06/29 13:56:46 UTC

[mina-site] branch master updated: added mermaid diagram

This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 15fe00040 added mermaid diagram
15fe00040 is described below

commit 15fe000405fa89bbc0077e29a136603180d87917
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Thu Jun 29 15:56:37 2023 +0200

    added mermaid diagram
---
 config.toml                                                         | 6 ++++++
 .../ftpserver-project/documentation/ch6-internals/ch6-internals.md  | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/config.toml b/config.toml
index 9ccf71fef..1906794ef 100644
--- a/config.toml
+++ b/config.toml
@@ -22,6 +22,12 @@ pygmentsStyle = "emacs"
 # Enable Git variables like commit, lastmod
 enableGitInfo = true
 
+# If set to true, prevents Hugo from including the mermaid module if not needed (will reduce load times and traffic)
+disableMermaid = false
+
+# Specifies the remote location of the mermaid js
+customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js"
+
 [markup.goldmark.renderer]
 unsafe= true
 
diff --git a/source/ftpserver-project/documentation/ch6-internals/ch6-internals.md b/source/ftpserver-project/documentation/ch6-internals/ch6-internals.md
index 0711ca50d..63033667b 100644
--- a/source/ftpserver-project/documentation/ch6-internals/ch6-internals.md
+++ b/source/ftpserver-project/documentation/ch6-internals/ch6-internals.md
@@ -35,6 +35,11 @@ The **FtpServerFactory** is associated with a **FtpServerContext** instance, whi
 
 The class hierarchy is the following:
 
+{{< mermaid >}}
+classDiagram
+  FtpletContext <|-- FtpServerContext o-- DefaultFtpServerContext
+{{< /mermaid >}}
+
 ```goat
 
  .-------------.