-
Notifications
You must be signed in to change notification settings - Fork 16
/
.readthedocs.yaml
43 lines (38 loc) · 1.16 KB
/
.readthedocs.yaml
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
37
38
39
40
41
42
43
##=============================================================================
##
## Copyright (c) Kitware, Inc.
## All rights reserved.
## See LICENSE.txt for details.
##
## This software is distributed WITHOUT ANY WARRANTY; without even
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
## PURPOSE. See the above copyright notice for more information.
##
##=============================================================================
# Required
version: 2
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
apt_packages:
- cmake
- make
- git-lfs
tools:
python: '3.10'
jobs:
post_install:
- git lfs install --local
- git lfs fetch --include "*.png"
- git lfs checkout *.png
- cmake -B build -S . -DVTKm_ENABLE_DOCUMENTATION=ON -DVTKm_ENABLE_USERS_GUIDE=ON -DVTKm_USERS_GUIDE_INCLUDE_TODOS=OFF
- cmake --build build --target VTKmDoxygenDocs
- cp -f ./build/docs/users-guide/VTKmUsersGuideHTML.cache/conf.py docs/users-guide/conf.py
sphinx:
configuration: docs/users-guide/conf.py
python:
install:
- requirements: docs/users-guide/requirements.txt
formats:
- epub
- pdf