Skip to content

Commit d7de386

Browse files
authored
chore: migrate docs to zensical from mkdocs & improve clarity (#7634)
* chore: touch-up sentences * test * messing around w/ workflows * update some more notes * updated more notes + quick fixes * quick clarification * swap role of note on Abstract * changed my mind, LMFAO, make it a tip * update requirements.txt
1 parent b93d144 commit d7de386

File tree

16 files changed

+212
-285
lines changed

16 files changed

+212
-285
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,24 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
1821
- uses: actions/setup-python@v5
1922
with:
2023
python-version: 3.x
21-
- run: pip install --upgrade pip
22-
- run: pip install --upgrade setuptools wheel
23-
- run: pip install mkdocs mkdocs-material mkdocs-print-site-plugin pymdown-extensions
24-
- run: mkdocs gh-deploy --force
24+
25+
- name: Install dependencies
26+
run: |
27+
pip install --upgrade pip
28+
pip install zensical mkdocs-material mkdocs-print-site-plugin pymdown-extensions
29+
30+
- name: Build with Zensical
31+
run: zensical build
32+
33+
- name: Deploy to Pages branch
34+
uses: peaceiris/actions-gh-pages@v4
35+
with:
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
publish_dir: docs/site
38+
publish_branch: gh-pages

docs/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/site
2+
# ^ zensical's build directory

docs/docs/design/index.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22

33
![](images/2022-05-15-12-57-36.jpg)
44

5-
## 🎬 Video Walkthru
5+
## 🎬 Video Walkthrough
66

77
<div class="video-wrapper">
88
<iframe src="https://www.youtube.com/embed/MOQ0uCUs7_M" frameborder="0" allowfullscreen></iframe>
99
</div>
1010

1111
## 🧾 Abstract
1212

13-
This document attempts to describe the architecture and design of the second version of MeshCentral on which work started in late 2016. The document covers the overview of the design, goes in details about the protocol and various decisions and trade-offs. This document is intended for anyone that wants to understand the inner workings of MeshCentral or someone that wants to make a security review of the software.
14-
15-
---
16-
> **📌 Note :**
17-
18-
> The software and added documentation and tutorial videos are available at :
19-
[ https://www.meshcommander.com/meshcentral2 ](https://www.meshcommander.com/meshcentral2)
20-
21-
---
13+
This document goes over the architecture and design of the second version of MeshCentral, on which work started in late 2016, and covers the overview of the design, as well as providing details about the protocol and various decisions and trade-offs. This document is intended for anyone that wants to understand the inner workings of MeshCentral or someone that wants to make a security review of the software.
2214

2315
## 📘 Introduction
2416

@@ -30,7 +22,7 @@ The advent of NodeJS, WebSocket, WebRTC and other web technologies coming out in
3022

3123
The goal of MeshCentral is to be the best open source remote management software in the world. Remote computer management is a big area with many different usages and requirements. To best suite this, it’s important to have software that is as flexible as possible.
3224

33-
Additionally, there are many other goals :
25+
Additionally, there are many other goals:
3426

3527
> - **Must be quick and easy to install.**
3628
> - **Must install on all major operating systems and platforms.**
@@ -72,7 +64,7 @@ Another interesting design decision is that MeshCentral makes almost no use of R
7264

7365
## 🗄️ MeshCentral server
7466

75-
The MeshCentral server is a NodeJS application that is published on NPM at : [https://www.npmjs.com/package/meshcentral](https://www.npmjs.com/package/meshcentral) Many administrators can get started quickly using npm install meshcentral once NodeJS is installed. MeshCentral will work on Node 6.x and higher.
67+
The MeshCentral server is a NodeJS application that is published on NPM at : [https://www.npmjs.com/package/meshcentral](https://www.npmjs.com/package/meshcentral) Many administrators can get started quickly using `npm install meshcentral` once NodeJS is installed. MeshCentral will work on Node 6.x and higher.
7668

7769
## 📦 Dependencies
7870

@@ -368,7 +360,7 @@ A unique feature of MeshCentral is its use of WebRTC. WebRTC was introduced in m
368360

369361
The use of WebRTC allows MeshCentral to scale better, to offer a faster user experience and lower hosting costs all at the same time. However, WebRTC is not easy, especially when you must maintain the C code for it and have to keep up with browser implementations, but the benefits are clear.
370362

371-
To setup WebRTC, browsers typically use STUN and TURN servers to get traffic thru any network obstacles (routers, proxies, firewalls). This infrastructure can be complex to setup especially if an administrator is not familiar with WebRTC concepts. To make things easy, MeshCentral opted to always start by using a websocket relay thru the server to get things started. While a session is active, the browser and agent will attempt to automatically switch the session traffic to WebRTC when possible. This way, the session always works and gets more efficient when network conditions allow.
363+
To setup WebRTC, browsers typically use STUN and TURN servers to get traffic through any network obstacles (routers, proxies, firewalls). This infrastructure can be complex to setup especially if an administrator is not familiar with WebRTC concepts. To make things easy, MeshCentral opted to always start by using a websocket relay through the server to get things started. While a session is active, the browser and agent will attempt to automatically switch the session traffic to WebRTC when possible. This way, the session always works and gets more efficient when network conditions allow.
372364

373365
To perform the switch-over, both browser and agent will exchange WebRTC control messages over the newly established web socket relay session.
374366

docs/docs/index.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# MeshCentral Documentation
22

3-
## About
3+
## About
44

5-
MeshCentral is a full computer management web site. With MeshCentral, you can run your own web server to remotely manage and control computers on a local network or anywhere on the internet. Once you get the server started, create device group and download and install an agent on each computer you want to manage. A minute later, the new computer will show up on the web site and you can take control of it. MeshCentral includes full web-based remote desktop, terminal and file management capability.
5+
MeshCentral is a versatile, open-source computer management platform. By hosting your own MeshCentral server, you can remotely manage computers from anywhere in the world. The platform provides a seamless, web-based experience for remote desktop access, terminal control, and file management.
66

7-
For more information, [visit MeshCentral.com](https://meshcentral.com).
7+
!!! tip
8+
For more information, [visit MeshCentral.com](https://meshcentral.com).
89

910
## 🌐 Social Media
1011

@@ -53,15 +54,15 @@ Use **MeshCentral Router** to **port map TCP connections** securely.
5354

5455
## 💬 Feedback
5556

56-
If you encounter a problem or have a suggestion to improve the product, you may file an [GitHub Issue](https://github.com/Ylianst/MeshCentral/issues/).<br>
57+
If you encounter a problem or have a suggestion to improve MeshCentral, you may want to create a [GitHub issue](https://github.com/Ylianst/MeshCentral/issues/).<br>
5758
If you are filing a problem report, you should include:
5859

59-
* The version of the software you are using.
60-
> For example: 1.1.46
61-
* The Operating System and version.
62-
> For example: Debian 12
60+
* The version of MeshCentral you are using.
61+
> For example: v1.1.56.
62+
* The operating system and its version.
63+
> For example: Debian 12.
6364
* Any troubleshooting you took to resolve the issue yourself.
64-
> For example: Reinstalling MeshCentral (including OS)
65+
> For example: Reinstalling MeshCentral. (and your OS!)
6566
* Any other similar reports.
6667
> For example: other GitHub issues.
6768
* The observed output.

docs/docs/install/container.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ All master tags below follow the master branch of MeshCentral, the latest and ve
3737
| `1.1.51-postgresql` and `latest-postgresql` | Docker image with the PostgreSQL packages installed. |
3838
| `1.1.51-mysql` and `latest-mysql` | Docker image with the MySQL packages installed. |
3939

40-
---
41-
> **📌 Note:**
42-
Refer to [this page](https://github.com/Ylianst/MeshCentral/pkgs/container/meshcentral) for more information on the container status.
43-
---
40+
!!! note
41+
Refer to [this page](https://github.com/Ylianst/MeshCentral/pkgs/container/meshcentral) for more information on the container status.
4442

4543
## 🐋 Docker/Podman
4644

docs/docs/install/security/crowdsec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
MeshCentral has built-in support for a CrowdSec bouncer. This allows MeshCentral to get threat signals from the community and block or CAPTCHA requests coming from known bad IP addresses.
44

5-
## 🎬 Video Walkthru
5+
## 🎬 Video Walkthrough
66

77
<div class="video-wrapper">
88
<iframe width="320" height="180" src="https://www.youtube.com/embed/TVKF9gBJFCE" frameborder="0" allowfullscreen></iframe>

docs/docs/intelamt/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Intel AMT Guide [as .odt](../documents/MeshCentral%20Intel%20AMT%20Guide%20v0.0.1.odt)
55

6-
## Video Walkthru
6+
## Video Walkthrough
77

88
<div class="video-wrapper">
99
<iframe width="320" height="180" src="https://www.youtube.com/embed/naWKE3rT6e8" frameborder="0" allowfullscreen></iframe>
@@ -81,7 +81,7 @@ If the MeshCentral server is setup in “LAN mode” or “Hybrid mode”, optio
8181

8282
Client Initiated Remote Access (CIRA) is a feature of Intel AMT that, then configured, makes Intel AMT connect back to the server using a TLS tunneling connection similar with a SSH tunnel. Once this tunnel connection is established, the server can perform remote management operations on Intel AMT.
8383

84-
CIRA is great when remotely managing Intel AMT devices over the Internet thru network address translator (NAT) routers where the server would not be able to connect to Intel AMT. This is similar to the Mesh Agent that initiated and keeps an idle connection to the server.
84+
CIRA is great when remotely managing Intel AMT devices over the Internet through network address translator (NAT) routers where the server would not be able to connect to Intel AMT. This is similar to the Mesh Agent that initiated and keeps an idle connection to the server.
8585

8686
By default, MeshCentral will be configured to receive Mesh Agent connections on TCP port 443 and Intel AMT connections on TCP port 4433. These port values can be configured in the config.json file of MeshCentral.
8787

0 commit comments

Comments
 (0)