-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Aurélien Bompard <[email protected]>
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# SPDX-FileCopyrightText: Contributors to the Fedora Project | ||
# | ||
# SPDX-License-Identifier: MIT | ||
|
||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
apt_packages: | ||
- libkrb5-dev | ||
- python3-rpm | ||
jobs: | ||
# post_create_environment: | ||
# # Install poetry | ||
# # https://python-poetry.org/docs/#installing-manually | ||
# - pip install poetry | ||
# # Tell poetry to not use a virtual environment | ||
# - poetry config virtualenvs.create false | ||
post_install: | ||
- python -c "import bodhi.server" | ||
- python -c "import bodhi.server.models" | ||
# commands: | ||
# - ./devel/ci/bodhi-ci docs -r pip | ||
# - mv test_results/pip-docs/html/ $READTHEDOCS_OUTPUT/ | ||
|
||
python: | ||
install: | ||
- method: pip | ||
path: ./bodhi-client | ||
- method: pip | ||
path: ./bodhi-messages | ||
- method: pip | ||
path: ./bodhi-server | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
formats: | ||
- htmlzip |