| 1 | # encoding: utf-8 |
| 2 | |
| 3 | # This file is part of requirements-parser library. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | |
| 19 | # Read the Docs configuration file |
| 20 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details |
| 21 | |
| 22 | # Required |
| 23 | version: 2 |
| 24 | |
| 25 | # Set the version of Python and other tools you might need |
| 26 | build: |
| 27 | os: ubuntu-20.04 |
| 28 | tools: |
| 29 | python: "3.11" |
| 30 | # You can also specify other tool versions: |
| 31 | # nodejs: "16" |
| 32 | # rust: "1.55" |
| 33 | # golang: "1.17" |
| 34 | |
| 35 | # Build documentation in the docs/ directory with Sphinx |
| 36 | sphinx: |
| 37 | configuration: docs/conf.py |
| 38 | |
| 39 | # Formats |
| 40 | formats: all |
| 41 | |
| 42 | # Optionally declare the Python requirements required to build your docs |
| 43 | python: |
| 44 | install: |
| 45 | - method: pip |
| 46 | path: . |
| 47 | - requirements: docs/requirements.txt |