This project uses MkDocs with the Material for MkDocs theme to generate a static site from Markdown files.
Before you begin, make sure you have the following installed on your machine:
- Python 3.x
pip
(Python package manager)sudo
privileges (if you're using Linux or macOS)
On Linux or macOS, you can use the following command to install MkDocs:
sudo apt install mkdocs
Alternatively, you can use pip to install MkDocs on any platform:
pip install mkdocs
Install the Material theme for MkDocs using pip:
pip install mkdocs-material
For additional Markdown extensions supported by the Material theme, install the pymdown-extensions:
pip install pymdown-extensions
Running Locally To preview your documentation site locally, use the following command:
mkdocs serve
This will start a local development server. You can access the site at http://127.0.0.1:8000 in your browser to view changes in real-time.
Once you're ready to deploy your MkDocs site to GitHub Pages, use the following command:
mkdocs gh-deploy --force
This will build your site and push it to the gh-pages branch of your GitHub repository, which will automatically serve the site using GitHub Pages.
To edit the content of your MkDocs site, modify the Markdown files in the docs/ folder. For detailed instructions on editing and configuring your MkDocs project, refer to the official documentation: