This document outlines key information about the docbuild project to assist AI agents and developers.
Docbuild builds documentation from DocBook 5/ASCIIDoc, manages XML configs, clones repos, runs daps, handles metadata and syncing deliverables.
- Python Version: >= 3.12
- Package Manager:
uv(Astral) - Key Directories:
src/: Source codetests/: Test suite (pytest).github/workflows/: CI/CD configurations
- CLI Entry Point:
docbuild(filesrc/docbuild/__main__.py) - Documentation:* https://opensuse.github.io/docbuild/
- Create a virtual environment with
uv venv - Install dependencies:
uv sync --frozen --group devel
To run tests in this environment, use the following commands:
-
Run complete test suite:
uv run --frozen pytest
-
Run single test file:
uv run --frozen pytest tests/path/to/test_file.py