Skip to content

Commit

Permalink
Add readthedocs config (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
ods authored Jul 21, 2024
1 parent 2f976d0 commit f9dbed1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

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

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: requirements-docs.txt
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ Example of AIOKafkaConsumer usage:
asyncio.run(consume())
Documentation
-------------

https://aiokafka.readthedocs.io/


Running tests
-------------

Expand Down
2 changes: 0 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ Installation
pip install aiokafka
.. note:: **aiokafka** requires the kafka-python_ library.

Optional LZ4 install
++++++++++++++++++++
Expand Down

0 comments on commit f9dbed1

Please sign in to comment.