Skip to content

Commit f9dbed1

Browse files
authored
Add readthedocs config (#1034)
1 parent 2f976d0 commit f9dbed1

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

.readthedocs.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.12"
12+
13+
# Build documentation in the "docs/" directory with Sphinx
14+
sphinx:
15+
configuration: docs/conf.py
16+
17+
# Optional but recommended, declare the Python requirements required
18+
# to build your documentation
19+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
python:
21+
install:
22+
- requirements: requirements-docs.txt

README.rst

+7
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ Example of AIOKafkaConsumer usage:
7171
7272
asyncio.run(consume())
7373
74+
75+
Documentation
76+
-------------
77+
78+
https://aiokafka.readthedocs.io/
79+
80+
7481
Running tests
7582
-------------
7683

docs/index.rst

-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ Installation
9393
9494
pip install aiokafka
9595
96-
.. note:: **aiokafka** requires the kafka-python_ library.
97-
9896
9997
Optional LZ4 install
10098
++++++++++++++++++++

0 commit comments

Comments
 (0)