Attempt to fix readthedocs build config

This commit is contained in:
Raphael Michel
2022-10-10 09:41:29 +02:00
parent 909b16be64
commit 6905d3e801
2 changed files with 16 additions and 7 deletions

View File

@@ -1,10 +1,9 @@
version: 2 version: 2
sphinx: sphinx:
configuration: docs/conf.py configuration: docs/conf.py
build: python:
os: "ubuntu-22.04" version: "3.10"
tools: install:
python: "3.10" - method: pip
jobs: path: ./src/
post_create_environment: - requirements: docs/requirements.rtd.txt
- cd docs && pip install --exists-action=w --no-cache-dir -r requirements.txt

10
doc/requirements.rtd.txt Normal file
View File

@@ -0,0 +1,10 @@
sphinx==2.3.*
jinja2==3.0.*
sphinx-rtd-theme
sphinxcontrib-httpdomain
sphinxcontrib-images
sphinxcontrib-spelling==4.*
sphinxemoji
pygments-markdown-lexer
# See https://github.com/rfk/pyenchant/pull/130
git+https://github.com/raphaelm/pyenchant.git@patch-1#egg=pyenchant