This is the technical repository for the Khiops documentation website.
Install the development requirements
pip install -r requirements.txt
Then, to run locally just execute
mkdocs serve
Then open in a web browser the indicated URL, usually http://127.0.0.1:8000/ . You don't need to restart the server every time because the site will refresh itself when you modify files.
The previous step will also install the pre-commit
tool. This allows to automatize some tasks such
as formatting and cleaning of the notebooks.
The Khiops Dictionary Language code can be highlighted by using the kdic
syntax in code blocks:
```kdic
Dictionary Example
{
Categorical target;
Numerical feature;
};
```
The rule signatures can be highlighted with the kdic-api-docs
syntax:
```kdic-api-docs
Numerical Diff(Numerical value1, Numerical value2);
```
Once you have committed and pushed your changes. Use the ci
workflow in the repo's actions.
To use it, it is necessary to install it locally:
pre-commit install
The configured tasks will run every time you make a commit. You may also run them at any time with the line
pre-commit run --verbose --all-files
To update various versions in the website, you only have to change the following attributes in the
extra
section of the mkdocs.yml
:
KHIOPS_VERSION
: Khiops Core ExecutablesKHIOPS_PYTHON_VERSION
: Khiops Python LibraryKHIOPS_SAMPLES_VERSION
: Khiops Sample DatasetsKHIOPS_VIZ_VERSION
: Khiops Visualization AppKHIOPS_COVIZ_VERSION
: Khiops Co-Visualization App
Once you have committed and pushed your changes, go to the "Actions" tab on Github and execute the
Website
workflow on the main
branch.