1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00
libcpuid/.readthedocs.yml
Pavol Žáčik ec938b5d42 Document the Python bindings using Sphinx
Additionally, setup the documentation for
deployment to Read The Docs.
2024-08-25 12:43:29 +02:00

29 lines
549 B
YAML

# Read the Docs configuration file
version: 2
build:
os: ubuntu-22.04
tools:
python: latest
apt_packages:
- autoconf
- libtool
- automake
jobs:
pre_install:
- libtoolize
- autoreconf --install
- mkdir ./install
- ./configure --prefix=`pwd`/install
- make
- make install
- pip install cffi
- python ./python/ffi_build_rtd.py ./libcpuid/libcpuid.h ./install
sphinx:
configuration: python/docs/conf.py
python:
install:
- requirements: python/docs/requirements.txt