• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Readthedocs config file.
2
3# See https://docs.readthedocs.io/en/stable/config-file/v2.html#supported-settings
4
5version: 2
6
7formats:
8  - epub
9  - pdf
10
11build:
12  os: ubuntu-22.04
13  tools:
14    python: "3.12"
15  # To show the correct Scapy version, we must unshallow
16  # https://docs.readthedocs.io/en/stable/build-customization.html#unshallow-git-clone
17  jobs:
18    post_checkout:
19      - git fetch --unshallow || true
20
21# https://docs.readthedocs.io/en/stable/config-file/v2.html#python
22python:
23  install:
24    - method: pip
25      path: .
26      extra_requirements:
27        - doc
28