Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] use monodocs build for readthedocs config #1477

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading