| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the BSD-style license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| # Read the Docs configuration file | |
| # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | |
| # Required | |
| version: 2 | |
| # Set the version of Python and other tools you might need | |
| build: | |
| os: ubuntu-22.04 | |
| tools: | |
| python: "3.11" | |
| # Build documentation in the docs/ directory with Sphinx | |
| sphinx: | |
| configuration: docs/conf.py | |
| # We recommend specifying your dependencies to enable reproducible builds: | |
| # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | |
| python: | |
| install: | |
| - requirements: docs/requirements.txt | |