Welcome to the CHILI GraFx Documentation! This project is designed to assist developers and designers new to CHILI GraFx and its applications.
We welcome contributions from the community! To get started, please familiarize yourself with our contribution guidelines by reading the CONTRIBUTING.md file.
The CHILI GraFx documentation is built using MkDocs, a static site generator that's geared towards project documentation.
If you are looking to just make a small change, such as editing a single page, you probably don't need to setup a documenation environment. Please see CONTRIBUTING.md.
However, if you are going to be making many changes you will need to setup a documentation environment. You can set up your documentation environment using one of the following methods:
For a quick and easy setup, you can use Docker in conjunction with GitHub Codespaces.
Steps:
-
Select a Branch: Go to the GitHub repository, select a branch, and click on the
Code
button. Then, chooseCodespaces
. You can either continue with an existing Codespace or create a new one for your selected branch. -
Create and Access Codespace: Click on "Create codespace on [branch name]". This will set up a new Codespace and open an online version of VSCode in a new tab.
-
Terminal Operations: In the VSCode terminal, wait for the Python installation to complete, or switch to
Bash
for immediate access. -
Start Documentation Server: Type
docker-compose up
in the terminal. The server initialization might take a short while. Once ready, a notification will allow you to open the documentation site in a new tab.
If you have Docker Desktop (for Windows, Mac, or Linux) or Docker and Docker-Compose (for Linux) installed on your machine, setting up the documentation locally is straightforward.
Steps:
-
Ensure Docker is Running: For Mac and Windows, Docker can be managed via the GUI. On Linux, use
sudo systemctl start docker
. -
Launch the Server: Navigate to the documentation project folder in the terminal and execute
sudo docker-compose up
. The documentation site will be hosted locally onhttp://localhost:8000
.
If you prefer not to use Docker, you can set up the environment with Python.
Prerequisites:
Ensure that the latest version of Python 3 is installed on your system. You can download it from Python's official site.
Steps:
-
Go To Project Folder: Navigate to the documentation project folder in your terminal.
-
Install Requirements: Run
pip install -r requirements.txt
to install all necessary dependencies. -
Start the Server: Launch the local development server by executing
mkdocs serve
. Access the documentation site athttp://localhost:8000
.
Choose the setup that works best for you and start contributing to the CHILI GraFx documentation. Your contributions are valuable to the community and help in making our project more accessible and user-friendly.
Happy Documenting!