mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
Updated for various Sphinx API changes. Also drop rendered math. Simpler and makes the plain Python docstrings look better in jedi. ``` :math:`0 \leq x \leq 255`. ``` just becomes 0 ≤ x ≤ 255. Also drop Latex dependencies. We don't rely on the PDF and don't need it for math anymore.
21 lines
472 B
YAML
21 lines
472 B
YAML
# .readthedocs.yaml
|
|
# Read the Docs configuration file
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
# Required
|
|
version: 2
|
|
|
|
build:
|
|
os: "ubuntu-22.04"
|
|
tools:
|
|
python: "3.10"
|
|
jobs:
|
|
post_create_environment:
|
|
- pip install poetry
|
|
post_install:
|
|
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only=doc
|
|
|
|
# Build documentation in the doc/main/ directory with Sphinx
|
|
sphinx:
|
|
configuration: doc/main/conf.py
|