vtk-m/.readthedocs.yaml
Vicente Adolfo Bolea Sanchez cee2c6e2cb docs: edit .readthedocs.yaml
2023-10-23 19:17:52 -04:00

42 lines
1.1 KiB
YAML

##=============================================================================
##
## 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" origin
- cmake -B build -S . -DVTKm_ENABLE_DOCUMENTATION=ON -DVTKm_ENABLE_USERS_GUIDE=ON
- 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/requirements.txt
formats:
- epub