-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathreadthedocs.yml
36 lines (32 loc) · 1.11 KB
/
readthedocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
python:
install:
- requirements: ./docs/requirements/requirements-docs.txt
- method: pip
path: ./checkpoint
extra_requirements:
- docs
- method: pip
path: ./export
extra_requirements:
- docs
- method: pip
path: ./model
extra_requirements:
- docs
build:
os: ubuntu-24.04
tools:
python: "3.12"
apt_packages:
- protobuf-compiler
jobs:
pre_install:
- protoc --version; echo "Compiling Protocol Buffers in yml file. The current directory is:"; pwd; cd ./model/ ; pwd; ls -aR; find . -name "*.proto"; protoc --experimental_allow_proto3_optional -I=. --python_out=. $(find . -name "*.proto"); ls -aR
- echo "Compiling Protocol Buffers in yml file. The current directory is:"; pwd; cd ./export/ ; pwd; ls -aR; find . -name "*.proto"; protoc --experimental_allow_proto3_optional -I=. --python_out=. $(find . -name "*.proto"); ls -aR
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: false