Skip to content

Commit

Permalink
Misc/readthedocs build fix; drop sphinx dep (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyu-ms authored Jan 21, 2025
1 parent f372c5c commit 9171723
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
version: 2

build:
os: ubuntu-22.04
os: ubuntu-lts-latest
tools:
python: "3.7"
python: "3"
jobs:
post_checkout:
- git fetch --unshallow || true
Expand Down
4 changes: 2 additions & 2 deletions doc/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ def generate_news():


def setup(app):
app.add_stylesheet("icon.css")
app.add_stylesheet("news.css")
app.add_css_file("icon.css")
app.add_css_file("news.css")
generate_news()
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"Topic :: Software Development :: Testing :: Unit"
]
dependencies = [
"sphinx<2",
"sphinx_rtd_theme",
"setuptools",
"pytest",
"pytest-mock",
Expand Down
5 changes: 5 additions & 0 deletions requirements-rtd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sphinx
sphinx-click
sphinx-rtd-theme
-r ./requirements.txt
./releaseherald
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ confluent-kafka
plotly
pandas
numpy
sphinx-click
doit

0 comments on commit 9171723

Please sign in to comment.