Skip to content

Zensical - #489

Draft
pusewicz wants to merge 147 commits into
RandyGaul:masterfrom
pusewicz:zensical
Draft

Zensical#489
pusewicz wants to merge 147 commits into
RandyGaul:masterfrom
pusewicz:zensical

Conversation

@pusewicz

@pusewicz pusewicz commented Mar 2, 2026

Copy link
Copy Markdown
Contributor
  • Replace MkDocs + Material for MkDocs with Zensical, the successor built by the same team
  • Add docs/requirements.txt as single source of truth for doc dependencies
  • Fix search separator regex for Zensical's search engine (Disco)
  • Update README with Zensical setup instructions including venv
  • Add .venv/ to .gitignore
  • Update copyright year to 2026

Motivation

MkDocs has been unmaintained since August 2024 and Material for MkDocs is entering maintenance mode. Zensical is the official successor by the same creators, natively reads mkdocs.yml, and offers faster differential rebuilds.

pusewicz and others added 30 commits November 24, 2025 15:16
Add power function support matching the existing pattern of CF_SQRT/cf_sqrt:
- CF_POWF macro for float powf
- CF_POW macro for double pow
- cf_pow function with C++ overloads and C11 _Generic selection

Co-authored-by: Claude <noreply@anthropic.com>
Add exponential function support matching the existing pattern:
- CF_EXPF macro for float expf
- CF_EXP macro for double exp
- cf_exp function with C++ overloads and C11 _Generic selection

Co-authored-by: Claude <noreply@anthropic.com>
* Upgrade s2n-tls to the latest version with a more modern cipher suite.
  This ensures that negotiation is successful as Cloudflare only supports
  more recent encryption algorithms.
* Check for end of body to terminate the request coroutine.
  The `Connection: close` header is disregarded by cloudflare probably due to
  the common use of request pipelining.
* Fix a bug in body decoder that expects an empty line at the end of a
  body.
Allows for quickly going to the previous or next help document
This is the first round of fixes to spelling
This helps to get cf_make_sprite higher in the results when one types in
make_sprite. Additionally, now searching for make_app actually shows
cf_make_app, rather than the Getting started topic result.
* Add page fetching

This makes the navigation faster by fetching the content without reloading of the whole page.

* Suggest results

This is basically autocomplete for the search field, which suggest the remainder of the query when typing in an unobtrusive manner.
)

* Fix cf_make_translation generic in C

* Fix cf_atan2_360
* Add IMGUI texture sample

* Add missing static
In C, empty parentheses mean unspecified arguments, while (void)
explicitly means no arguments. This avoids warnings when including
these headers in C projects.
This is inlined in the example
* Explicitly explain coordinate systems

* Remove duplicate entry

There's already a camera entry
* Ensure enums are prefixed with `CF_`

* Make values monospace
RandyGaul and others added 29 commits February 14, 2026 16:20
* Add emscripten build

* Don't build in parallel

* Remove global parallel limiter

* Use simpler build for now

Don't use Ninja for now, as there seem to be issues with building in parallel
* Generate the samples pages

* Re-generate compiled headers

* Add samples by default

* Nicer naming

* Improve sample presentation

* Remove play dir before generating new ones

* Escape names
* Add CF API review skills and hooks

* Correct the location

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Follow the ordering

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Follow ordering

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Correct location

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix include-guard hook to reliably detect headers under include/

Use path component matching instead of substring search so relative
paths (include/cute_graphics.h) and Windows-style separators work correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* Cleanup include guards

* Add missing include

* Use double-quotes for local includes

* Fix haptics header
* Install new cmake

* Build documentation on PR
* Install new cmake

* Build documentation on PR

* Extract Setup CMake action

This removes the duplicated code and re-uses the same action.

* Install OpenGL libs before native CMake configure in docs workflow

Moves apt-get install earlier (before cmake configure) and adds the
OpenGL packages needed to satisfy find_package(OpenGL). Also consolidates
the two install steps: apt packages up front, pip packages after Python setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Disable unused SDL subsystems in docs native CMake configure

The native build only produces cute-shaderc (a CLI tool), so all SDL
audio, video, input, and platform backends can be turned off to speed
up configuration and avoid missing-library errors on the CI runner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Use GitHub Actions workflow commands for script output

Add gh_annotation helper with gh_debug, gh_notice, and gh_warn wrappers
that emit ::debug::, ::notice::, and ::warning:: annotations on CI and
fall back to plain puts/warn locally. Paths in messages are relative to pwd.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants