Logo Lanfrica

TKAI-LAB-Mali/tkai-lab-mali.github.io

Creator:
TKA
Host:
Lab Website # TKAI Lab Website Trustworthy Knowledge-Driven AI Lab website built using Material for MkDocs. ## Building locally To build the website locally, first install the requirements in the `requirements.txt` file. ```sh # Create venv uv venv # Activate environment and install dependencies source .venv/bin/activate uv pip install -r requirements.txt ``` Once the dependencies have been installed, you can build and serve the website locally by executing the following command: ```sh # Serve at default address mkdocs serve # Specify own address mkdocs serve -a localhost:9000 ``` To enable live reloading, use the command `--livereload` flag: ```sh mkdocs serve --livereload ``` If the website is built successfully, you should see something like this: ```sh INFO - Building documentation... INFO - Cleaning site directory INFO - Documentation built in 0.16 seconds INFO - [20:25:39] Watching paths for changes: 'docs', 'mkdocs.yml' INFO - [20:25:39] Serving on 127.0.0.1 ``` Open the address in the last line in your browser and you will be able to view the website. Note that MkDocs supports live reloading, so any edits to the website will be re-built in real-time by using the `--livereload` option.