Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c8c8af

Browse filesBrowse files
committed
Fix apidoc publishing to readthedocs
1 parent 0cce043 commit 9c8c8af
Copy full SHA for 9c8c8af

File tree

3 files changed

+8
-7
lines changed
Filter options

3 files changed

+8
-7
lines changed

‎.readthedocs.yaml

Copy file name to clipboardExpand all lines: .readthedocs.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ sphinx:
3030
# Optional but recommended, declare the Python requirements required
3131
# to build your documentation
3232
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
33-
# python:
34-
# install:
35-
# - requirements: docs/requirements.txt
33+
python:
34+
install:
35+
- requirements: docs/requirements.txt

‎docs/conf.py

Copy file name to clipboardExpand all lines: docs/conf.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
# serve to show the default.
1414

1515
import os
16+
import sys
1617

1718
# If extensions (or modules to document with autodoc) are in another directory,
1819
# add these directories to sys.path here. If the directory is relative to the
1920
# documentation root, use os.path.abspath to make it absolute, like shown here.
20-
#sys.path.insert(0, os.path.abspath('.'))
21+
sys.path.insert(0, os.path.abspath('../kafka/'))
2122

2223
# -- General configuration ------------------------------------------------
2324

@@ -103,7 +104,7 @@
103104

104105
# The theme to use for HTML and HTML Help pages. See the documentation for
105106
# a list of builtin themes.
106-
html_theme = 'default'
107+
html_theme = 'sphinx_rtd_theme'
107108

108109
# Theme options are theme-specific and customize the look and feel of a theme
109110
# further. For a list of options available for each theme, see the

‎docs/requirements.txt

Copy file name to clipboardExpand all lines: docs/requirements.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
sphinx
2-
sphinx_rtd_theme
1+
sphinx==8.1.3
2+
sphinx_rtd_theme==3.0.2
33

44
# Install kafka-python in editable mode
55
# This allows the sphinx autodoc module

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.