Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,10 @@ jobs:
python-version: 3.x

- name: Install Python dependencies
run: pip install mkdocs mkdocs-material "mkdocs-material[imaging]" markdown-callouts
run: pip install -r docs/requirements.txt

- name: Build documentation
run: |
mkdocs build --clean
mkdocs --version
run: zensical build --clean

- name: Adjust permissions
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ docs/api_reference.md
!docs/topics/*.md
/docs/samples/play/
site/
.venv/
.cache
.DS_Store
cute_framework.zip
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,15 @@ All of CF's docs for the [CF website](https://randygaul.github.io/cute_framework

Please note that the reference pages for functions/structs are automatically generated by CF's [docs parser + generator](https://github.com/RandyGaul/cute_framework/blob/master/tools/docs_parser.c). You can run this executable to regenerate all of the docs files for all of CF. If you wish to edit any of the reference pages be sure to edit the appropriate file in CF's actual source code and regenerate the docs by running [docs_parser](https://github.com/RandyGaul/cute_framework/blob/master/tools/docs_parser.c).

CF uses [MkDocs](https://www.mkdocs.org/) with the [Material theme](https://squidfunk.github.io/mkdocs-material/) to generate the website, so you can run `mkdocs serve` to preview the docs locally.
CF uses [Zensical](https://zensical.org/) to generate the website, so you can run `zensical serve` to preview the docs locally.

MkDocs requirements:
Zensical setup:

```
pip install mkdocs mkdocs-material "mkdocs-material[imaging]" markdown-callouts
python -m venv .venv
source .venv/bin/activate
pip install -r docs/requirements.txt
zensical serve
```

<p align="center"><img src=https://github.com/RandyGaul/cute_framework/blob/master/assets/CF_Logo_Pixel_2x.png></p>
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
zensical
markdown-callouts
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repo_url: https://github.com/RandyGaul/cute_framework
repo_name: RandyGaul/cute_framework

# Copyright
copyright: Copyright &copy; 2019—2025 Randy Gaul
copyright: Copyright &copy; 2019—2026 Randy Gaul

# Configuration
theme:
Expand Down Expand Up @@ -132,7 +132,7 @@ nav:
# Plugins
plugins:
- search:
separator: '[\s\-\_]+'
separator: '[\\s\\-\\_]+'
- social

# Extensions
Expand Down
Loading