From cf6a0dbb65221a18fbe4474c673496aa58d2ee63 Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Wed, 1 May 2024 16:26:35 +0700 Subject: [PATCH] Fix docs --- .readthedocs.yaml | 2 +- docs/conf.py | 7 ++++++- docs/requirements.txt | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 104ac7c..146bc81 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,7 +3,7 @@ version: 2 build: os: "ubuntu-20.04" tools: - python: "3.8" + python: "3.11" sphinx: configuration: docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index 544139e..53989d8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,12 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.coverage', 'sphinx.ext.intersphinx', 'sphinx.ext.autodoc'] +extensions = [ + 'sphinx.ext.coverage', + 'sphinx.ext.intersphinx', + 'sphinx.ext.autodoc', + 'sphinxcontrib.jquery' +] intersphinx_mapping = { 'py2': ('http://docs.python.org/2', None), diff --git a/docs/requirements.txt b/docs/requirements.txt index ba508be..285b20a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ Sphinx==7.2.6 sphinx-rtd-theme==2.0.0 +sphinxcontrib-jquery==4.1