+ xo-facet subsystem [WIP]

This commit is contained in:
Roland Conybeare 2025-12-09 21:07:24 -05:00
commit a18a819838
8 changed files with 164 additions and 0 deletions

14
docs/CMakeLists.txt Normal file
View file

@ -0,0 +1,14 @@
# xo-facet/docs/CMakeLists.txt
xo_doxygen_collect_deps()
xo_docdir_doxygen_config()
xo_docdir_sphinx_config(
index.rst
glossary.rst
#install.rst
#introduction.rst
#implementation.rst
)
# see xo-reader/doc or xo-unit/doc for working examples
# example.rst install.rst implementation.rst

39
docs/conf.py Normal file
View file

@ -0,0 +1,39 @@
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'xo facete documentation'
copyright = '2025, Roland Conybeare'
author = 'Roland Conybeare'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
#extensions = []
extensions = [ "breathe",
"sphinx.ext.mathjax", # inline math
"sphinx.ext.autodoc", # generate info from docstrings
"sphinxcontrib.ditaa", # diagrams-through-ascii-art
"sphinxcontrib.plantuml" # text -> uml diagrams
]
# note: breathe requires doxygen xml output -> must have GENERATE_XML = YES in Doxyfile.in
# match project name in Doxyfile.in
breathe_default_project = "xodoxxml"
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
pygments_style = 'sphinx'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
#html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
html_favicon = '_static/img/favicon.ico'

8
docs/glossary.rst Normal file
View file

@ -0,0 +1,8 @@
.. _glossary:
Glossary
--------
.. glossary::
fomo
| facet object model

15
docs/index.rst Normal file
View file

@ -0,0 +1,15 @@
# xo-facet documentation master file
xo-facet documentation
======================
xo-facet provides an object model that supports runtime polymorphism with interfaces and data kept separate.
Similar to rust traits, haskell type clases, go interfaces.
.. toctree::
:maxdepth: 2
:caption: xo-facet contents
glossary
genindex
search