mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 11:36:01 +00:00
ed1366d5ce
Requires using updated configuration with git unshallow so that version can be identified from git tags. Closes: https://github.com/deluge-torrent/deluge/pull/434
30 lines
677 B
YAML
30 lines
677 B
YAML
# .readthedocs.yml
|
|
# 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_checkout:
|
|
- git fetch --unshallow || true
|
|
|
|
# Build documentation in the docs/ directory with Sphinx
|
|
sphinx:
|
|
configuration: docs/source/conf.py
|
|
|
|
# Optionally build your docs in additional formats such as PDF and ePub
|
|
formats: all
|
|
|
|
# Optionally set the version of Python and requirements required to build your docs
|
|
python:
|
|
install:
|
|
- requirements: requirements.txt
|
|
- requirements: docs/requirements.txt
|
|
- method: pip
|
|
path: .
|