vtk-m/.readthedocs.yaml
Vicente Adolfo Bolea Sanchez d5a90cba1e update readthedocs-sphinx-search
2024-02-14 12:03:42 -05:00

44 lines
1.2 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"
- 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