nix-build: xo-arena: build docs + minor doc facepalms

This commit is contained in:
Roland Conybeare 2026-02-26 11:47:14 +11:00
commit f7a9eea840
4 changed files with 33 additions and 2 deletions

View file

@ -28,4 +28,9 @@ add_subdirectory(utest)
xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets) xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets)
# ----------------------------------------------------------------
# docs targets depend on all the other library/utest targets
#
add_subdirectory(docs)
# end CMakeLists.txt # end CMakeLists.txt

View file

@ -0,0 +1,26 @@
.. _AllocInfo-reference:
AllocInfo Reference
===================
Describes a single allocation.
Requires allocator configured to store per-allocation headers
Context
-------
.. ditaa::
:--scale: 0.99
+-----------------------------------------------------+
| DArena |
| DArenaIterator |
+-----------------------------------------------------+
| ArenaConfig |
+--------------+------------------------+-------------+
| | AllocInfo cBLU| |
| +------------------------+ |
| AllocError | AllocHeaderConfig | cmpresult |
| +------------------------+ |
| | AllocHeader | |
+--------------+------------------------+-------------+

View file

@ -37,7 +37,7 @@ Class
Constructors Constructors
------------ ------------
.. doxgyengroup:: mm-cmpresult-ctors .. doxygengroup:: mm-cmpresult-ctors
Methods Methods
------- -------

View file

@ -24,7 +24,7 @@ namespace xo {
return os; return os;
} }
/** Result of a generic comparison operation /** @brief result of a generic comparison operation
**/ **/
struct cmpresult { struct cmpresult {
/** @defgroup mm-cmpresult-ctors cmpresult ctors **/ /** @defgroup mm-cmpresult-ctors cmpresult ctors **/