Skip to content

Commit

Permalink
use monodocs build for readthedocs config
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy committed Feb 5, 2024
1 parent 89fff16 commit c21b4bf
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.11"
apt_packages:
- pandoc
python: "mambaforge-22.9"
commands:
- git clone https://www.github.com/flyteorg/flyte
- cat flyte/monodocs-environment.lock.yaml
- mamba install -c conda-forge conda-lock
- conda-lock install -p /home/docs/monodocs-env flyte/monodocs-environment.lock.yaml
- conda info
- conda env list
- cat flyte/docs/conf.py
- cd flyte/docs && FLYTESNACKS_LOCAL_PATH=$PWD/../.. /home/docs/monodocs-env/bin/python -m sphinx -T -E -b html -d flyte/docs/_build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: dev-requirements.txt
- requirements: docs-requirements.txt
configuration: flyte/docs/conf.py

0 comments on commit c21b4bf

Please sign in to comment.