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