readthedocs.yaml

Read the Docs configuration file used to build this docs:

.readthedocs.yaml
 1version: 2
 2
 3build:
 4  os: ubuntu-24.04
 5  tools:
 6    python: "latest"
 7    nodejs: "latest"
 8    golang: "latest"
 9    rust: "latest"
10    ruby: "latest"
11  apt_packages:
12    - tree
13    - libasound2t64
14  jobs:
15    post_checkout:
16     # Test we can use a PUBLIC environment variable in a command
17     - echo ${PUBLIC}
18
19    post_install:
20      # Test jsdoc
21      - npm install -g jsdoc
22
23    pre_build:
24      - shot-scraper install
25      - shot-scraper https://datasette.io/ --height 800 -o docs/static/datasette.png
26
27    post_build:
28      # Download a PDF sample and expose it
29      - mkdir -p $READTHEDOCS_OUTPUT/pdf/
30      - wget https://pdfobject.com/pdf/sample.pdf -O $READTHEDOCS_OUTPUT/pdf/my-file.pdf
31
32
33sphinx:
34  configuration: docs/conf.py
35
36python:
37  install:
38    - requirements: requirements.txt