Documentation site powered by MkDocs and the Material theme.
- Python 3.7 or higher installed and accessible via
python
command - Basic familiarity with command line / terminal
- (Optional but recommended) Git installed
- (Optional) SSH key setup if you want to clone via SSH
git clone https://github.com/ODI-Devs/labx-docs.git
cd labx-docs
Or using SSH:
git clone git@github.com:ODI-Devs/labx-docs.git
cd labx-docs
python -m venv venv
- macOS/Linux:
source venv/bin/activate
- Windows PowerShell
.\venv\Scripts\Activate.ps1
- Windows CMD
.\venv\Scripts\Activate
Note: If you get an execution policy error on Windows, run PowerShell as admin and execute:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
pip install mkdocs mkdocs-material
Check Installation
mkdocs --version
Start the MkDocs development server:
mkdocs serve
You should see output like:
Serving on http://127.0.0.1:8000/
labx-docs/
├── docs/
│ ├── index.md
│ └── other-pages.md
├── mkdocs.yml
- docs/: contains Markdown files
- mkdocs.yml: the main configuration file