mirror of https://github.com/celery/kombu.git
Fix ReadTheDocs CI (#1827)
* Copied .readthedocs.yaml from Celery repo * Updated version_dev and version_stable in docs/conf.py
This commit is contained in:
parent
562b6f6fef
commit
e316a35e0f
|
@ -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: "3.9"
|
||||||
|
|
||||||
|
# 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
|
|
@ -5,8 +5,8 @@ from sphinx_celery import conf
|
||||||
globals().update(conf.build_config(
|
globals().update(conf.build_config(
|
||||||
'kombu', __file__,
|
'kombu', __file__,
|
||||||
project='Kombu',
|
project='Kombu',
|
||||||
version_dev='5.1',
|
version_dev='6.0',
|
||||||
version_stable='5.0',
|
version_stable='5.3',
|
||||||
canonical_url='https://kombu.readthedocs.io/',
|
canonical_url='https://kombu.readthedocs.io/',
|
||||||
webdomain='kombu.readthedocs.io',
|
webdomain='kombu.readthedocs.io',
|
||||||
github_project='celery/kombu',
|
github_project='celery/kombu',
|
||||||
|
|
Loading…
Reference in New Issue