Skip to content

Commit

Permalink
maybe fix readthedocs build
Browse files Browse the repository at this point in the history
  • Loading branch information
SomberNight committed Mar 27, 2023
1 parent 9ebbfc4 commit 32a1495
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,14 @@ pycodestyle_task:
- pycodestyle --max-line-length=100 electrumx/server/*.py electrumx/lib/*.py *.py

build_docs_task:
# note: this build task is not related to read-the-docs; it is only here to sanity-check the docs can be built.
# For the read-the-docs build, see .readthedocs.yml
# and the webhook set up in https://github.com/spesmilo/electrumx/settings/hooks
container:
image: python:3.8
image: python:3.11
cpu: 1
memory: 1G
install_script:
- pip install Sphinx
- pip install -r docs/requirements-docs.txt
script:
- sh -c "cd docs && make html"
13 changes: 13 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2

build:
os: ubuntu-20.04
tools:
python: "3.11"

sphinx:
configuration: docs/conf.py

python:
install:
- requirements: docs/requirements-docs.txt
1 change: 1 addition & 0 deletions docs/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sphinx

0 comments on commit 32a1495

Please sign in to comment.