The Swiss AI Center project documentation. Website available at https://docs.swiss-ai-center.ch.
To improve the documentation locally, run Material for MkDocs with the following commands:
# Build the Docker container
docker compose build
# Start the Docker container
docker compose up serve
You can now access the local development server at http://localhost:8000.
If you make changes to the documentation, the web page should reload.
To improve the documentation locally, run Material for MkDocs with the following commands:
# Install all dependencies for Material for MkDocs
sudo apt install --yes \
libcairo2-dev \
libfreetype6-dev \
libffi-dev \
libjpeg-dev \
libpng-dev \
libz-dev
# Create the virtual environment
python3 -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# Install the Python dependencies
pip install \
--requirement requirements.txt \
--requirement requirements-all.txt
# Run Material for MkDocs
mkdocs serve
You can now access the local development server at http://localhost:8000.
If you make changes to the documentation, the web page should reload.
To format the Markdown documentation, run mdwrap with the following commands:
# Build the Docker container
docker compose build
# Start the Docker container
docker compose up format
To format the Markdown documentation, run mdwrap with the following commands:
# Create the virtual environment
python3 -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# Install the Python dependencies
pip install \
--requirement requirements.txt \
--requirement requirements-all.txt
# Run mdwrap
mdwrap --fmt .