diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8fb25855..5f5833fe 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,9 +1,15 @@ version: 2 + build: os: ubuntu-22.04 tools: - python: "3.11" + python: "3.12" apt_packages: [emacs-nox] + + python: + install: + - requirements: doc/requirements.txt + jobs: pre_build: - scripts/evil-extract-docstrings diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..4e09d9c3 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,2 @@ +Sphinx==7.3.7 +sphinx-rtd-theme==2.0.0 diff --git a/doc/source/_ext/elisp.py b/doc/source/_ext/elisp.py index a4da67ef..ab82105c 100644 --- a/doc/source/_ext/elisp.py +++ b/doc/source/_ext/elisp.py @@ -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