Files
Scrapling/.readthedocs.yaml
T
Karim shoair e275509ece docs: fix for rtd build
test
2026-01-01 17:05:10 +02:00

28 lines
792 B
YAML

# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.13"
commands:
- python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
- apt-get install pngquant
- python -m mkdocs build --clean --site-dir $READTHEDOCS_OUTPUT/html --config-file mkdocs.yml
# Build documentation with Mkdocs
mkdocs:
configuration: mkdocs.yml
# Optionally, but recommended,
# declare the Python requirements required to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt