This directory contains the documentation for Feluda, built with Sphinx and MyST-NB.
Install the documentation dependencies:
uv pip install -e ".[dev]"From the docs/ directory:
# Clean build directory
make clean
# Build HTML documentation
make htmlAfter building with make html, you can view the documentation by opening docs/_build/html/index.html in your web browser.
index.md- Main documentation pageinstall.md- Installation guidequickstart.md- Quick start guidecontributing.md- Contributing guidelinesapi/- API documentationfeluda.md- Core Feluda APIoperators.md- Operators API
examples/- Example notebooks01_plot_tsne_videos.md- t-SNE visualization example02_plot_cluster_videos.md- Clustering example03_classify_video_zero_shot.md- Zero-shot classification example
The documentation is configured in conf.py with the following key features:
- AutoDoc: Automatically generates API documentation from docstrings
- MyST-NB: Executes and displays Jupyter notebooks
- Read the Docs Theme: Clean, responsive theme
- Copy Button: Easy code copying
- Design Components: Enhanced UI components
- Add docstrings to your Python code
- Create a new
.mdfile in the appropriate directory - Use
{eval-rst}blocks with.. automodule::directives
- Create a Jupyter notebook in
examples/ - Create a corresponding
.mdfile with{nb-exec}directive - Add the example to the main index
- Create a new
.mdfile - Add it to the appropriate toctree in
index.md - Use MyST Markdown syntax for enhanced features