Skip to content

Commit

Permalink
Fixed readthedocs (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus authored Nov 12, 2024
1 parent 5328b75 commit 0c5a929
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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-20.04
tools:
python: "latest"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
- requirements: requirements/docs.txt
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
'amqp', __file__,
project='py-amqp',
description='Python Promises',
version_dev='5.1',
version_stable='5.0',
version_dev='5.3',
version_stable='5.3',
canonical_url='https://amqp.readthedocs.io',
webdomain='celeryproject.org',
github_project='celery/py-amqp',
Expand Down
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sphinx-celery>=1.4.8
sphinx_celery>=2.1.3

0 comments on commit 0c5a929

Please sign in to comment.