Skip to content

Commit

Permalink
Define documentation dependencies
Browse files Browse the repository at this point in the history
Read the Docs stopped installing spinx-rtd-theme by default, which
broke documentation builds. This commit fixes that by pinning the
required dependencies.

See: https://blog.readthedocs.com/defaulting-latest-build-tools/
  • Loading branch information
axelf4 committed Apr 30, 2024
1 parent fe44a56 commit e9a40ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
apt_packages: [emacs-nox]
jobs:
pre_build:
- scripts/evil-extract-docstrings

python:
install:
- requirements: doc/requirements.txt
2 changes: 2 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Sphinx==7.3.7
sphinx-rtd-theme==2.0.0
4 changes: 0 additions & 4 deletions doc/source/_ext/elisp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@
from os import path
import json

from docutils import nodes
from docutils.parsers.rst import Directive

from sphinx import addnodes
from sphinx.domains import Domain, ObjType, Index
from sphinx.domains.std import StandardDomain
from sphinx.directives import ObjectDescription
from sphinx.roles import XRefRole
from sphinx.util.docfields import Field
from sphinx.util.nodes import make_refnode


Expand Down

0 comments on commit e9a40ee

Please sign in to comment.