Simplyblock Documentation
Simplyblock is a high-performance, ultra-low-latency storage solution. It enables enterprise-grade, NVMe/TCP-powered block
storage directly inside Proxmox, offering high performance, scalability, and resilience without the need for specialized
hardware or vendor lock-in.
With simplyblock, you can seamlessly integrate software-defined storage (SDS) into your Proxmox environment, enabling support for advanced features like:
- โก Ultra-low latency: Unlock performance with NVMe-over-TCP
- ๐งฉ Native Proxmox integration: Manage volumes directly in Proxmox
- ๐ก๏ธ Enterprise data services: Snapshots, clones, erasure coding, multi-tenancy
- ๐ Secure & robust: Cluster authentication and Quality of Service (QoS)
- โ๏ธ Cloud & on-prem flexibility: Deploy anywhere Proxmox runs
๐ The deployed documentation is available at https://docs.simplyblock.io.

How To Extend The Documentation
This repository contains the simplyblock documentation. It is built using
mkdocs and uses a provided shell script doc-builder to ease the process of working with it.
๐ ๏ธ Docs Builder
The doc-builder tool uses Docker and a customized mkdocs Docker image to serve and build the documentation. The
image contains all required plugins.
When using doc-builder for the first time (and ideally after an update of the Git repository), the Docker image
needs to be built using:
./doc-builder build-image
In addition, external repositories have to be checked out, to generate the necessary documentation pages. The
doc-builder simplifies this process with a specific command which either creates an initial checkout or updates the
repositories to the latest commit.
./doc-builder update-repositories
The command can be run at any time to update the external repositories to the latest commit.
Generating the Operator API Reference
The operator API reference is generated from the Simplyblock operator Go API types. By default, the generator uses the
simplyblock-operator checkout created by ./doc-builder update-repositories at ./scripts/operator-repo. If that
checkout is not present, it falls back to a sibling checkout at ../simplyblock-manager relative to this documentation
repository:
./scripts/operator-reference-gen.sh
Alternatively, use the doc-builder wrapper, which uses the managed checkout and prints a helpful error if it is
missing:
./doc-builder gen-operator-ref
To use a different checkout, set OPERATOR_ROOT:
OPERATOR_ROOT=/path/to/simplyblock-operator ./scripts/operator-reference-gen.sh
The simplyblock-operator checkout is pinned the same way the sbcli repository is (see the release process below). A
scripts/operator.lock file, if present, pins the operator repository to a specific tag; otherwise the latest HEAD is
used.
The CI builders regenerate the operator API reference automatically after ./doc-builder update-repositories, so
pull request and development builds reflect the operator's latest main, while release builds reflect the pinned
operator.lock tag. The generation requires Go, which is preinstalled on the GitHub runners.
Serving Content Locally
When building or updating the documentation, it is useful to have a local builder with live updating. Mkdocs supports
this, as does the doc-builder. To simplify the process of working with mkdocs, there is a command to start the
local builder:
./doc-builder serve
Building a Static Version of the Documentation
To test a fully built, static version of the current documentation, the docs can be built into the ./site directory.
This version can be used independently and deployed by dropping it into any webserver that is able to serve static
content.
To build the static version, use the following command:
./doc-builder build
Preparing the Deployment of a New Version
Since the documentation system supports the deployment and management of multiple versions, previous and current
versions are collected in the deployments branch. The branch holds only built documentation and shares no history
with the source branches. Every release and update build commits its version into this branch, so the branch always
carries the complete set of deployed versions, independent of the release branch a build runs from.
The doc-builder expects the branch checked out as the ./deployment/ folder, which is ignored in the source
branches. For a local deployment build, add it as a worktree once:
git worktree add deployment deployments
The symlinks are automatically updated according to the newest version, as is the versions.json file.
To simplify the process of a new version deployment of the documentation, the doc-builder provides the necessary
command.
./doc-builder deploy {version-name}
The given version-name will be used as a directory name and name of the version in the dropdown selector. Hence, it
is recommended that it only contains lowercase letters, numbers, and underscores or dashes.
๐ Structure of the Documentation
The simplyblock documentation uses mkdocs as the underlying framework. As the theme, the
simplyblock documentation uses mkdocs-material.
Folder Structure
The simplyblock documentation uses the following basic folder structure:
documentation root
โโ deployment/ (deployments branch) (1)
| โโ .htaccess (2)
| โโ versions.json (symlink) (3)
| โโ latest/ (symlink) (4)
| โโ ... version folders/ (5)
โโ docs/ (6)
| โโ index.md (7)
| โโ assets/ (8)
| | โโ javascripts/ (9)
| | | โโ ... .js files (10)
| | โโ stylesheets/ (11)
| | | โโ extra.css (12)
| | โโ ... .svg / .png / .jpg files (13)
| โโ ... folders/ (14)
| | โโ index.md (15)
| | โโ ... .md files (16)
โโ snippets/ (17)
| โโ ... .md files (18)
โโ templates/ (19)
โโ doc-builder (20)
โโ Dockerfile (21)
โโ mkdocs.yml (22)
โโ README.md (23)
- The
deployment folder is a checkout of the deployments branch and contains all currently built and deployed
versions of the documentation.
- The
.htaccess file contains the necessary redirect rules to automatically redirect to the latest version.
- The
versions.json symlink links to latest/versions.json.
- The
latest symlink links to the latest deployed version of the documentation.
- The versions folders are subfolders representing the different versions of the documentation.
- The
docs folder contains the documentation source files.
- The
index.md contains the initial index page of the documentation.
- The
assets folder contains additional assets such as images, stylesheets, and javascript files.
- The
javascripts folder contains additional javascript files.
- The additional javascript files.
- The
stylesheets folder contains the extra.css file which defines additional stylesheets.
- The
extra.css file defines additional stylesheets.
- The additional image files.
- The folders contain the substructure of the documentation. A folder represents a subsection of the documentation.
- The
index.md file is the index page of the subsection.
- The other markdown files add additional pages to the subsection.
- The
snippets folder contains reusable and injectable documentation snippets.
- The markdown files contain snippets to be injected.
- The
templates folder contains template overrides and adjustments.
- The
doc-builder file is the helper script to test and build the documentation.
- The
Dockerfile file contains the necessary build instructions for the Docker container used by doc-builder.
- The
mkdocs.yml file contains the mkdocs configuration.
- The
README.md file is this file.
Writing a Documentation Page
To add a new documentation pages, a markdown file have to be created. This markdown file consists of two sections, a
section called front matter which is a YAML section defining the position of the new file in the subsections hierarchy
and title, as well as the actual markdown part, representing the content of the file.
---
title: "My Page Title" # Page Title
weight: 123 # Page Position
---
Introduction text
## Markdown Header
Markdown content
- A markdown documentation page always starts with a short introduction text without its own heading.
- Markdown headings in documentation pages only use H2 (##), H3 (###), H4 (####), and H5 (#####). H1 (#) is never used directly.
- The documentation page title must not be longer than two lines in the documentation navigation. Keep it short and precise.
- The weight should use larger steps in the tens or hundreds to ease injection of additional pages without changing all following weights.
Documentation Features
The documentation system supports a number of styling and admonitions.
Links
The documentation uses standard markdown link syntax. However, links to external pages should be marked with an
additional marker to open those links in a new browser tab.
In addition, internal links must use relative paths to the linked content file. If the internal link links to a heading
on the same page, the hash sign (#) can be used directly. It is also possible to link to headings in other pages by
following up the relative link the hash sign (#) and the heading id.
[Internal Link](../internal/url.md)
[Internal Link To Heading](../internal/url.md#heading-id)
[Heading Link](#heading-id)
[External Link](https://some-external.url){:target="_blank" rel="noopener"}
The required heading ids are automatically generated as a full lowercase version of the heading with whitespaces and
special characters transformed into dashes (-).
Experimental Chip
Experimental features are to be marked with the experimental chip, right after the title of sub heading where the
feature is introduced.
## Experimental Feature Title
{{experimental}}
Text goes here.
Admonitions
Admonitions have specific meanings and should be used to emphasize certain parts of the documentation, warn users about
dangerous options, and send people to additional information.
Admonitions are normally started with three exclamation marks (!!!). In this case the admonition is fully visible at all
times. If started with three question marks (???) instead, the admonition is collapsed by default and can be manually
opened by the interested user with clicking the title. In this case, it is important to provide a title with the
admonition definition.
??? note "This is the admonition title"
The text goes here
Notes
Notes include additional information which may be interesting but not crucial.
!!! note
The text goes here
Recommendations
Recommendations include best practices and recommendations.
!!! recommendation
The text goes here
Infos
Information boxes include background and links to additional information.
!!! info
The text goes here
Warnings
Warnings contain crucial information that contain crucial information be considered before proceeding.
!!! warning
The text goes here
Dangers
Dangers contain crucial information that can lead to harmful consequences, such as data loss and irreversible damage.
!!! danger
The text goes here
Admonitions with Titles
Any admonition can be given a title by adding a title attribute to the opening tag.
!!! note "This is a custom title"
The text goes here
Collapsible Admonitions
Any admonition can be collapsible and closed or opened by default.