From 2b319c81bc27ca501b34e97b51a388635863c7be Mon Sep 17 00:00:00 2001 From: Nimrod Gileadi Date: Fri, 1 Jul 2022 06:26:38 -0700 Subject: [PATCH] Update sphinx and jq for documentation. Old versions of Sphinx don't support Python 3.10. sphinx-rtd-theme 1.0.0 supports Sphinx 4.x: https://sphinx-rtd-theme.readthedocs.io/en/stable/changelog.html#features PiperOrigin-RevId: 458455382 Change-Id: Ic34a7d350d5ecd1dfff53d88472a3b25a7245ec0 --- .readthedocs.yml | 5 ++++- doc/requirements.txt | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b6b9386f..d9f08a27 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,12 +3,15 @@ version: 2 +build: + tools: + python: "3.10" + sphinx: builder: html configuration: doc/conf.py fail_on_warning: false python: - version: 3.7 install: - requirements: doc/requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt index b7ca11e4..b8228eba 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,12 +1,12 @@ -sphinx==3.5.4 -sphinx_rtd_theme==0.5.2 +Sphinx==4.5.0 +sphinx-rtd-theme==1.0.0 sphinxcontrib-katex==0.8.6 sphinxcontrib-youtube==1.1.0 sphinx-reredirects==0.0.1 nbsphinx==0.8.0 pandoc==1.0.2 pygments==2.7.4 -jq==1.1.1 +jq==1.2.2 Jinja2==2.11.3 wheel # see https://github.com/aws/aws-sam-cli/issues/3661 regarding markupsafe