Files
python-bpf/docs
Pragyansh Chaturvedi 873498190d Docs: Use one README logo that reads in both themes
The <picture> picked its source with prefers-color-scheme, which follows
the browser or OS, not the theme chosen on GitHub. With GitHub on Light
and the system on dark, the dark logo was shown: its white wordmark
vanished on the white page and left the emblem alone at the left of a
3:1 box, so the logo looked off-centre.

docs/_static/pythonbpf-logo.svg is the light logo with its wordmark in
#3776ab, the emblem's own blue: 4.8:1 against GitHub's white and 3.9:1
against its dark background. The README links it by absolute URL so the
PyPI page, which renders the same README, shows it too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 19:23:53 +05:30
..
2026-01-29 03:13:49 +05:30
2026-09-26 01:05:13 +05:30
2026-01-29 11:37:50 +05:30

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 page
  • getting-started/ - Installation and quick start guides
  • user-guide/ - Comprehensive user documentation
  • api/ - API reference documentation
  • conf.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.