2021-11-07 15:13:06 +05:00
|
|
|
# Read the Docs configuration file
|
|
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
|
|
|
|
# Required
|
|
|
|
version: 2
|
|
|
|
|
|
|
|
build:
|
2022-12-01 02:30:45 +05:00
|
|
|
os: ubuntu-22.04
|
2021-11-07 15:13:06 +05:00
|
|
|
tools:
|
2022-12-01 02:30:45 +05:00
|
|
|
python: "3"
|
2022-12-01 18:22:27 +05:00
|
|
|
apt_packages:
|
|
|
|
- nix
|
|
|
|
- proot
|
|
|
|
jobs:
|
|
|
|
pre_install:
|
|
|
|
- mkdir -p ~/.nix ~/.config/nix
|
|
|
|
- echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf
|
|
|
|
- proot -b ~/.nix:/nix /bin/sh -c "nix build -L .#optionsDoc && cp -v result docs/options.md"
|
2021-11-07 15:13:06 +05:00
|
|
|
|
|
|
|
sphinx:
|
|
|
|
configuration: docs/conf.py
|
|
|
|
|
|
|
|
formats:
|
|
|
|
- pdf
|
|
|
|
- epub
|
|
|
|
|
|
|
|
python:
|
|
|
|
install:
|
|
|
|
- requirements: docs/requirements.txt
|