From 0c71dd8a05655788f2c68c9f8076b1ae7856f4de Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Sun, 9 Oct 2022 18:34:25 +0800 Subject: [PATCH] see if python 3.9 fixes the copybutton --- readthedocs.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/readthedocs.yml b/readthedocs.yml index 368b2c2..03acd36 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -5,6 +5,12 @@ # Required version: 2 +build: + os: ubuntu-20.04 + tools: + python: "3.9" + nodejs: 16 + # Build documentation in the docs/ directory with Sphinx sphinx: builder: html @@ -12,12 +18,10 @@ sphinx: fail_on_warning: true # Optionally build your docs in additional formats such as PDF -formats: - - pdf +formats: all # Optionally set the version of Python and requirements required to build your docs python: - version: 3.8 install: - requirements: doc/requirements.txt - method: pip @@ -32,4 +36,4 @@ search: api/v1/*: -1 api/v2/*: 4 ignore: - - 404.html \ No newline at end of file + - 404.html -- GitLab