Integrate readthedocs.io

We publish the docs to readthedocs.io
This commit is contained in:
Alexander Hess 2024-09-10 03:11:59 +02:00
parent 3f8b5cb146
commit b92d871acf
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
4 changed files with 22 additions and 0 deletions

17
.readthedocs.yml Normal file
View file

@ -0,0 +1,17 @@
version: 2
build:
os: ubuntu-24.04
tools:
python: "3.12"
sphinx:
configuration: docs/conf.py
fail_on_warning: true
formats: all
python:
install:
- requirements: docs/requirements.txt
- path: .

View file

@ -8,6 +8,7 @@ The goal of the `lalib` project is to create
by reading and writing code.
[![Documentation: Status](https://readthedocs.org/projects/lalib/badge/?version=latest)](https://lalib.readthedocs.io/en/latest/?badge=latest)
[![Test suite: Status](https://github.com/webartifex/lalib/actions/workflows/tests.yml/badge.svg)](https://github.com/webartifex/lalib/actions/workflows/tests.yml)
[![Test coverage: codecov](https://codecov.io/github/webartifex/lalib/graph/badge.svg?token=J4LWOMVP0R)](https://codecov.io/github/webartifex/lalib)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

3
docs/requirements.txt Normal file
View file

@ -0,0 +1,3 @@
# The following pinned dependencies must be updated manually
sphinx==8.0.2
sphinx-autodoc-typehints==2.3.0

View file

@ -21,6 +21,7 @@ description = "A Python library to study linear algebra"
license = "MIT"
readme = "README.md"
documentation = "https://lalib.readthedocs.io"
homepage = "https://github.com/webartifex/lalib"
repository = "https://github.com/webartifex/lalib"