mirror of
https://github.com/ansible/awx.git
synced 2026-01-07 14:02:07 -03:30
* update to Python 3.12 * remove use of utcnow * switch to timezone.utc datetime.UTC is an alias of datetime.timezone.utc. if we're doing the double import for datetime it's more straightforward to just import timezone as well and get it directly * debug python env version issue * change python version * pin to SHA and remove debug portion
17 lines
406 B
YAML
17 lines
406 B
YAML
# Read the Docs configuration file
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
version: 2
|
|
|
|
build:
|
|
os: ubuntu-22.04
|
|
tools:
|
|
python: >-
|
|
3.12
|
|
commands:
|
|
- pip install --user tox
|
|
- python3 -m tox -e docs --notest -v
|
|
- python3 -m tox -e docs --skip-pkg-install -q
|
|
- mkdir -p _readthedocs/html/
|
|
- mv docs/docsite/build/html/* _readthedocs/html/
|