mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-12-06 01:48:35 +00:00
C's rules over the ctypes types: what a declaration means, literal rank, source-driven widening with the destination typing the stored value, the usual arithmetic conversions applied per operation, which operators and predicates the sign selects, and the list of deliberate divergences from Python (/ and // truncate, % takes the dividend's sign, fixed width, unsigned types exist). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSDVsZH5NtoASyxB8FCtGU
PythonBPF Documentation
This directory contains the Sphinx documentation for PythonBPF.
Building the Documentation
Prerequisites
Install the documentation dependencies:
Using uv (recommended):
uv pip install -r requirements.txt
# Or install the optional docs dependencies
uv pip install pythonbpf[docs]
Using pip:
pip install -r requirements.txt
# Or install the optional docs dependencies
pip install pythonbpf[docs]
Build HTML Documentation
make html
The generated documentation will be in _build/html/. Open _build/html/index.html in a browser to view.
Other Build Formats
make latexpdf # Build PDF documentation
make epub # Build ePub format
make clean # Clean build artifacts
Documentation Structure
index.md- Main landing pagegetting-started/- Installation and quick start guidesuser-guide/- Comprehensive user documentationapi/- API reference documentationconf.py- Sphinx configuration_static/- Static files (images, CSS, etc.)
Writing Documentation
Documentation is written in Markdown using MyST-Parser. See the existing files for examples.