From c21b4bf5d8356eb35ced92e6cab8d90886c6fdaf Mon Sep 17 00:00:00 2001 From: Niels Bantilan Date: Fri, 2 Feb 2024 15:51:08 -0500 Subject: [PATCH] use monodocs build for readthedocs config Signed-off-by: Niels Bantilan --- .readthedocs.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b1825c215..39cc86d39 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -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