This repository holds the documentation for Reversense platform.
The documentation is written in Markdown inside the docs/ folder and is
published automatically to GitHub Pages on every push to main.
📖 Online documentation: https://reversenseorg.github.io/rs-doc/
You need Python 3.8+ installed on your machine.
git clone https://github.com/reversenseorg/rs-doc.git
cd rs-docThis avoids installing the dependencies globally on your system.
python -m venv .venv
# Activate the environment:
source .venv/bin/activate # macOS / Linux
.venv\Scripts\activate # Windowspip install -r requirements.txtmkdocs serveThen open http://127.0.0.1:8000 in your browser. The site reloads
automatically whenever you change a .md file, so you see your edits in real
time.
To build the static site without serving it (rarely needed, since deployment is automatic):
mkdocs buildContributions are welcome, whether it's fixing a typo, clarifying an explanation, or adding a page.
- Fork the repository (the Fork button at the top right on GitHub), or create a branch if you have write access.
- Create a branch for your change:
git checkout -b docs/my-change
- Edit or add Markdown files in
docs/. - Check the result locally with
mkdocs servebefore proposing your changes. - Commit and push:
git add . git commit -m "docs: briefly describe your change" git push origin docs/my-change
- Open a Pull Request against the
mainbranch.
- Create the file, for example
docs/installation.md. - Declare it in the
nav:section ofmkdocs.ymlso it appears in the menu:nav: - Home: index.md - Getting started: guide.md - Installation: installation.md # ← new page
- One page = one clear, focused
.mdfile. - Use
##/###headings to add structure (the table of contents is generated automatically from them). - Links between pages are relative:
[see the guide](guide.md). - The deployment build uses the
--strictoption: a broken link or a page missing from the navigation will fail the publication. Test locally to avoid surprises.
rs-doc/
├── mkdocs.yml # MkDocs configuration (theme, menu, options)
├── requirements.txt # Python dependencies (mkdocs-material)
├── README.md # This file
│
├── .github/
│ └── workflows/
│ └── deploy.yml # Automatic deployment to GitHub Pages
│
└── docs/ # ← All the documentation content lives here
├── index.md # Home page
├── guide.md # Any page
└── assets/
└── images/ # Documentation images
Put all images in docs/assets/images/. That way they are bundled into
the site at build time.
Use a relative path from the Markdown file to the image.
From a page at the root of docs/ (like index.md or guide.md):
From a page stored in a subfolder of docs/, go up one level with ../:
- Use descriptive file names in lowercase, with no spaces or accents:
global-architecture.pngrather thanDiagram 1.png. - Always provide alt text (inside the square brackets): it matters for accessibility and search-engine indexing.
- Prefer lightweight (compressed) images so the site stays fast. Use
.pngfor screenshots and diagrams,.jpgfor photos, and.svgfor vector diagrams. - You can create subfolders if you have many images, for example
docs/assets/images/tutorials/— just remember to adjust the path.