Read the Docs build information Build id: 1964270 Project: xanaduai-pennylane-sphinx-theme Version: latest Commit: 9f188ce31b3fec5b5309705de6861bee7802a6c2 Date: 2024-01-22T14:36:12.866785Z State: finished Success: False [rtd-command-info] start-time: 2024-01-22T14:36:14.000792Z, end-time: 2024-01-22T14:36:15.520762Z, duration: 1, exit-code: 0 git clone --depth 1 git@github.com:PennyLaneAI/pennylane-sphinx-theme.git . Cloning into '.'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. [rtd-command-info] start-time: 2024-01-22T14:36:15.587430Z, end-time: 2024-01-22T14:36:18.124187Z, duration: 2, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 refs/heads/master:refs/remotes/origin/master Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. From github.com:PennyLaneAI/pennylane-sphinx-theme * [new tag] v0.3.2 -> v0.3.2 * [new tag] v0.3.3 -> v0.3.3 * [new tag] v0.3.4 -> v0.3.4 * [new tag] v0.3.5 -> v0.3.5 * [new tag] v0.3.6 -> v0.3.6 * [new tag] v0.3.7 -> v0.3.7 * [new tag] v0.3.8 -> v0.3.8 * [new tag] v0.3.9 -> v0.3.9 * [new tag] v0.4.0 -> v0.4.0 * [new tag] v0.4.1 -> v0.4.1 * [new tag] v0.4.2 -> v0.4.2 * [new tag] v0.4.3 -> v0.4.3 * [new tag] v0.5.0 -> v0.5.0 * [new tag] v0.5.1 -> v0.5.1 * [new tag] v0.5.2 -> v0.5.2 * [new tag] v0.5.3 -> v0.5.3 [rtd-command-info] start-time: 2024-01-22T14:36:18.248892Z, end-time: 2024-01-22T14:36:18.317562Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: switching to 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 9f188ce SC 52474 | Update NavBar in PennyLane Sphinx theme (#49) [rtd-command-info] start-time: 2024-01-22T14:36:18.380829Z, end-time: 2024-01-22T14:36:18.440982Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2024-01-22T14:36:18.511023Z, end-time: 2024-01-22T14:36:18.571913Z, duration: 0, exit-code: 0 cat .readthedocs.yml version: 2 sphinx: configuration: doc/conf.py python: install: - requirements: doc/requirements.txt - method: pip path: . build: os: ubuntu-22.04 tools: python: "3.9" apt_packages: - graphviz [rtd-command-info] start-time: 2024-01-22T14:36:20.325521Z, end-time: 2024-01-22T14:36:23.541798Z, duration: 3, exit-code: 0 apt-get update --assume-yes --quiet Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Get:4 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1346 kB] Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.6 kB] Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1600 kB] Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1057 kB] Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [50.4 kB] Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1320 kB] Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1635 kB] Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1623 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [50.4 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [28.1 kB] Fetched 9093 kB in 2s (4114 kB/s) Reading package lists... [rtd-command-info] start-time: 2024-01-22T14:36:23.611597Z, end-time: 2024-01-22T14:36:26.803594Z, duration: 3, exit-code: 0 apt-get install --assume-yes --quiet -- graphviz Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: fonts-liberation libann0 Suggested packages: graphviz-doc The following NEW packages will be installed: fonts-liberation graphviz libann0 0 upgraded, 3 newly installed, 0 to remove and 203 not upgraded. Need to get 1498 kB of archives. After this operation, 4810 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 fonts-liberation all 1:1.07.4-11 [822 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libann0 amd64 1.1.2+doc-7build1 [26.0 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 graphviz amd64 2.42.2-6 [650 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1498 kB in 1s (2222 kB/s) Selecting previously unselected package fonts-liberation. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 271716 files and directories currently installed.) Preparing to unpack .../fonts-liberation_1%3a1.07.4-11_all.deb ... Unpacking fonts-liberation (1:1.07.4-11) ... Selecting previously unselected package libann0. Preparing to unpack .../libann0_1.1.2+doc-7build1_amd64.deb ... Unpacking libann0 (1.1.2+doc-7build1) ... Selecting previously unselected package graphviz. Preparing to unpack .../graphviz_2.42.2-6_amd64.deb ... Unpacking graphviz (2.42.2-6) ... Setting up libann0 (1.1.2+doc-7build1) ... Setting up fonts-liberation (1:1.07.4-11) ... Setting up graphviz (2.42.2-6) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ... [rtd-command-info] start-time: 2024-01-22T14:36:31.181524Z, end-time: 2024-01-22T14:36:31.258328Z, duration: 0, exit-code: 0 asdf global python 3.9.18 [rtd-command-info] start-time: 2024-01-22T14:36:31.722223Z, end-time: 2024-01-22T14:36:32.975092Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.9.18.final.0-64 in 940ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/docs/.local/share/virtualenv) added seed packages: pip==23.1, setuptools==67.6.1, wheel==0.40.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator [rtd-command-info] start-time: 2024-01-22T14:36:33.071412Z, end-time: 2024-01-22T14:36:42.399193Z, duration: 9, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (23.1) Collecting pip Downloading pip-23.3.2-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 11.2 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (67.6.1) Collecting setuptools Downloading setuptools-69.0.3-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.5/819.5 kB 25.1 MB/s eta 0:00:00 Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 67.6.1 Uninstalling setuptools-67.6.1: Successfully uninstalled setuptools-67.6.1 Attempting uninstall: pip Found existing installation: pip 23.1 Uninstalling pip-23.1: Successfully uninstalled pip-23.1 Successfully installed pip-23.3.2 setuptools-69.0.3 [rtd-command-info] start-time: 2024-01-22T14:36:42.467137Z, end-time: 2024-01-22T14:36:48.659309Z, duration: 6, exit-code: 0 python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext Collecting sphinx Downloading sphinx-7.2.6-py3-none-any.whl.metadata (5.9 kB) Collecting readthedocs-sphinx-ext Downloading readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-1.0.8-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-1.0.6-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-jsmath (from sphinx) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-htmlhelp>=2.0.0 (from sphinx) Downloading sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-serializinghtml>=1.1.9 (from sphinx) Downloading sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl.metadata (2.4 kB) Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-1.0.7-py3-none-any.whl.metadata (2.2 kB) Collecting Jinja2>=3.0 (from sphinx) Downloading Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB) Collecting Pygments>=2.14 (from sphinx) Downloading pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) Collecting docutils<0.21,>=0.18.1 (from sphinx) Downloading docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB) Collecting snowballstemmer>=2.0 (from sphinx) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 7.3 MB/s eta 0:00:00 Collecting babel>=2.9 (from sphinx) Downloading Babel-2.14.0-py3-none-any.whl.metadata (1.6 kB) Collecting alabaster<0.8,>=0.7 (from sphinx) Downloading alabaster-0.7.16-py3-none-any.whl.metadata (2.9 kB) Collecting imagesize>=1.3 (from sphinx) Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting requests>=2.25.0 (from sphinx) Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting packaging>=21.0 (from sphinx) Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting importlib-metadata>=4.8 (from sphinx) Downloading importlib_metadata-7.0.1-py3-none-any.whl.metadata (4.9 kB) Collecting zipp>=0.5 (from importlib-metadata>=4.8->sphinx) Downloading zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->sphinx) Downloading MarkupSafe-2.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.25.0->sphinx) Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests>=2.25.0->sphinx) Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx) Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx) Downloading certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB) Downloading sphinx-7.2.6-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 91.1 MB/s eta 0:00:00 Downloading readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl (11 kB) Downloading alabaster-0.7.16-py3-none-any.whl (13 kB) Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 147.2 MB/s eta 0:00:00 Downloading docutils-0.20.1-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 244.2 MB/s eta 0:00:00 Downloading importlib_metadata-7.0.1-py3-none-any.whl (23 kB) Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 kB 204.4 MB/s eta 0:00:00 Downloading packaging-23.2-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 196.6 MB/s eta 0:00:00 Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 248.6 MB/s eta 0:00:00 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 202.7 MB/s eta 0:00:00 Downloading sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.2/99.2 kB 221.9 MB/s eta 0:00:00 Downloading sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.7/92.7 kB 213.4 MB/s eta 0:00:00 Downloading sphinxcontrib_applehelp-1.0.8-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.0/120.0 kB 227.3 MB/s eta 0:00:00 Downloading sphinxcontrib_devhelp-1.0.6-py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.5/83.5 kB 197.3 MB/s eta 0:00:00 Downloading sphinxcontrib_qthelp-1.0.7-py3-none-any.whl (89 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.4/89.4 kB 221.5 MB/s eta 0:00:00 Downloading certifi-2023.11.17-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 kB 235.4 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.3/142.3 kB 232.7 MB/s eta 0:00:00 Downloading idna-3.6-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 200.4 MB/s eta 0:00:00 Downloading MarkupSafe-2.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Downloading urllib3-2.1.0-py3-none-any.whl (104 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 kB 216.9 MB/s eta 0:00:00 Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB) Installing collected packages: snowballstemmer, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, Pygments, packaging, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, alabaster, requests, Jinja2, importlib-metadata, sphinx, readthedocs-sphinx-ext Successfully installed Jinja2-3.1.3 MarkupSafe-2.1.4 Pygments-2.17.2 alabaster-0.7.16 babel-2.14.0 certifi-2023.11.17 charset-normalizer-3.3.2 docutils-0.20.1 idna-3.6 imagesize-1.4.1 importlib-metadata-7.0.1 packaging-23.2 readthedocs-sphinx-ext-2.2.5 requests-2.31.0 snowballstemmer-2.2.0 sphinx-7.2.6 sphinxcontrib-applehelp-1.0.8 sphinxcontrib-devhelp-1.0.6 sphinxcontrib-htmlhelp-2.0.5 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.7 sphinxcontrib-serializinghtml-1.1.10 urllib3-2.1.0 zipp-3.17.0 [rtd-command-info] start-time: 2024-01-22T14:36:48.724201Z, end-time: 2024-01-22T14:37:00.426692Z, duration: 11, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Collecting importlib-resources==5.12.0 (from -r doc/requirements.txt (line 1)) Downloading importlib_resources-5.12.0-py3-none-any.whl (36 kB) Collecting m2r2 (from -r doc/requirements.txt (line 2)) Downloading m2r2-0.3.3.post2-py3-none-any.whl (11 kB) Collecting matplotlib==3.5.3 (from -r doc/requirements.txt (line 3)) Downloading matplotlib-3.5.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.2/11.2 MB 39.4 MB/s eta 0:00:00 Collecting pillow==10.0.1 (from -r doc/requirements.txt (line 4)) Downloading Pillow-10.0.1-cp39-cp39-manylinux_2_28_x86_64.whl.metadata (9.5 kB) Collecting sphinx==4.5.0 (from -r doc/requirements.txt (line 5)) Downloading Sphinx-4.5.0-py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 106.5 MB/s eta 0:00:00 Collecting sphinx-copybutton (from -r doc/requirements.txt (line 6)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl (13 kB) Collecting sphinx-gallery==0.10.1 (from -r doc/requirements.txt (line 7)) Downloading sphinx-gallery-0.10.1.tar.gz (6.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 25.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting xanadu-sphinx-theme==0.5.0 (from -r doc/requirements.txt (line 8)) Downloading xanadu_sphinx_theme-0.5.0-py3-none-any.whl.metadata (14 kB) Requirement already satisfied: zipp>=3.1.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from importlib-resources==5.12.0->-r doc/requirements.txt (line 1)) (3.17.0) Collecting cycler>=0.10 (from matplotlib==3.5.3->-r doc/requirements.txt (line 3)) Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting fonttools>=4.22.0 (from matplotlib==3.5.3->-r doc/requirements.txt (line 3)) Downloading fonttools-4.47.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.6/157.6 kB 228.5 MB/s eta 0:00:00 Collecting kiwisolver>=1.0.1 (from matplotlib==3.5.3->-r doc/requirements.txt (line 3)) Downloading kiwisolver-1.4.5-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (6.4 kB) Collecting numpy>=1.17 (from matplotlib==3.5.3->-r doc/requirements.txt (line 3)) Downloading numpy-1.26.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 205.1 MB/s eta 0:00:00 Requirement already satisfied: packaging>=20.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from matplotlib==3.5.3->-r doc/requirements.txt (line 3)) (23.2) Collecting pyparsing>=2.2.1 (from matplotlib==3.5.3->-r doc/requirements.txt (line 3)) Downloading pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB) Collecting python-dateutil>=2.7 (from matplotlib==3.5.3->-r doc/requirements.txt (line 3)) Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 228.0 MB/s eta 0:00:00 Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (1.0.8) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (1.0.6) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (1.0.1) Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2.0.5) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (1.1.10) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (1.0.7) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (3.1.3) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2.17.2) Collecting docutils<0.18,>=0.14 (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 kB 246.1 MB/s eta 0:00:00 Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2.2.0) Requirement already satisfied: babel>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2.14.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (0.7.16) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (1.4.1) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2.31.0) Requirement already satisfied: importlib-metadata>=4.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 5)) (7.0.1) Collecting mistune==0.8.4 (from m2r2->-r doc/requirements.txt (line 2)) Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB) INFO: pip is looking at multiple versions of m2r2 to determine which version is compatible with other requirements. This could take a while. Collecting m2r2 (from -r doc/requirements.txt (line 2)) Downloading m2r2-0.3.2-py3-none-any.whl (11 kB) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from Jinja2>=2.3->sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2.1.4) Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib==3.5.3->-r doc/requirements.txt (line 3)) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 5)) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 5)) (3.6) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2.1.0) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 5)) (2023.11.17) Downloading Pillow-10.0.1-cp39-cp39-manylinux_2_28_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 190.5 MB/s eta 0:00:00 Downloading xanadu_sphinx_theme-0.5.0-py3-none-any.whl (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.6/50.6 kB 194.0 MB/s eta 0:00:00 Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB) Downloading fonttools-4.47.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 195.1 MB/s eta 0:00:00 Downloading kiwisolver-1.4.5-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 207.1 MB/s eta 0:00:00 Downloading numpy-1.26.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 187.9 MB/s eta 0:00:00 Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 kB 215.8 MB/s eta 0:00:00 Building wheels for collected packages: sphinx-gallery Building wheel for sphinx-gallery (setup.py): started Building wheel for sphinx-gallery (setup.py): finished with status 'done' Created wheel for sphinx-gallery: filename=sphinx_gallery-0.10.1-py3-none-any.whl size=132551 sha256=810adddca95838af9279ba8548d13be1294ce3b2cf5f55e182d8f3a492ef3b71 Stored in directory: /tmp/pip-ephem-wheel-cache-gfy5jcr2/wheels/40/16/4c/df5358c85f9983dc5928bc65eac4185690d8bf4d6ac8b69eba Successfully built sphinx-gallery Installing collected packages: mistune, six, pyparsing, pillow, numpy, kiwisolver, importlib-resources, fonttools, docutils, cycler, sphinx, python-dateutil, m2r2, sphinx-gallery, sphinx-copybutton, matplotlib, xanadu-sphinx-theme Attempting uninstall: docutils Found existing installation: docutils 0.20.1 Uninstalling docutils-0.20.1: Successfully uninstalled docutils-0.20.1 Attempting uninstall: sphinx Found existing installation: Sphinx 7.2.6 Uninstalling Sphinx-7.2.6: Successfully uninstalled Sphinx-7.2.6 Successfully installed cycler-0.12.1 docutils-0.17.1 fonttools-4.47.2 importlib-resources-5.12.0 kiwisolver-1.4.5 m2r2-0.3.2 matplotlib-3.5.3 mistune-0.8.4 numpy-1.26.3 pillow-10.0.1 pyparsing-3.1.1 python-dateutil-2.8.2 six-1.16.0 sphinx-4.5.0 sphinx-copybutton-0.5.2 sphinx-gallery-0.10.1 xanadu-sphinx-theme-0.5.0 [rtd-command-info] start-time: 2024-01-22T14:37:00.500751Z, end-time: 2024-01-22T14:37:02.135903Z, duration: 1, exit-code: 0 python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir . Processing /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/checkouts/latest Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: sphinx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.6.0.dev0) (4.5.0) Requirement already satisfied: xanadu-sphinx-theme~=0.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.6.0.dev0) (0.5.0) Requirement already satisfied: pillow in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.6.0.dev0) (10.0.1) Requirement already satisfied: sphinx-gallery in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.6.0.dev0) (0.10.1) Requirement already satisfied: docutils in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.6.0.dev0) (0.17.1) Requirement already satisfied: importlib-resources in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from xanadu-sphinx-theme~=0.5.0->pennylane-sphinx-theme==0.6.0.dev0) (5.12.0) Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (1.0.8) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (1.0.6) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (1.0.1) Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2.0.5) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (1.1.10) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (1.0.7) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (3.1.3) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2.17.2) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2.2.0) Requirement already satisfied: babel>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2.14.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (0.7.16) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (1.4.1) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2.31.0) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (23.2) Requirement already satisfied: importlib-metadata>=4.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.6.0.dev0) (7.0.1) Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from importlib-metadata>=4.4->sphinx->pennylane-sphinx-theme==0.6.0.dev0) (3.17.0) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from Jinja2>=2.3->sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2.1.4) Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.6.0.dev0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.6.0.dev0) (3.6) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2.1.0) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.6.0.dev0) (2023.11.17) Building wheels for collected packages: pennylane-sphinx-theme Building wheel for pennylane-sphinx-theme (setup.py): started Building wheel for pennylane-sphinx-theme (setup.py): finished with status 'done' Created wheel for pennylane-sphinx-theme: filename=pennylane_sphinx_theme-0.6.0.dev0-py3-none-any.whl size=17378 sha256=daa118fa896ab15d10639ebaa36d2d644c52b1bc0413bbc6a907f23220bcb8e5 Stored in directory: /tmp/pip-ephem-wheel-cache-1y2a0pt0/wheels/22/a0/0f/9861ad212ad0ed5d6552cb9b54c70c3d1a2b2f6a7ba23ad922 Successfully built pennylane-sphinx-theme Installing collected packages: pennylane-sphinx-theme Successfully installed pennylane-sphinx-theme-0.6.0.dev0 [rtd-command-info] start-time: 2024-01-22T14:37:02.653404Z, end-time: 2024-01-22T14:37:02.708098Z, duration: 0, exit-code: 0 cat doc/conf.py # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # # import os # import sys # sys.path.insert(0, os.path.abspath('.')) import re # -- Project information ----------------------------------------------------- project = 'PennyLane Sphinx Theme' copyright = '2023 | Xanadu | All rights reserved' author = 'Xanadu Inc.' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. import pennylane_sphinx_theme # The full version, including alpha/beta/rc tags. release = pennylane_sphinx_theme.__version__ # The short X.Y version. version = re.match(r"^(\d+\.\d+)", release).expand(r"\1") # -- General configuration --------------------------------------------------- # 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.autodoc", "sphinx.ext.autosummary", "sphinx.ext.todo", "sphinx.ext.coverage", "sphinx.ext.mathjax", "sphinx.ext.napoleon", "sphinx.ext.inheritance_diagram", "sphinx.ext.viewcode", "sphinx.ext.intersphinx", "sphinx_copybutton", "sphinx_gallery.gen_gallery", "m2r2" ] # Add any paths that contain templates here, relative to this directory. templates_path = [pennylane_sphinx_theme.templates_dir()] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # The master toctree document. master_doc = "index" autosummary_generate = True autosummary_imported_members = True # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = 'pennylane' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. show_authors = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx" # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False # PennyLane theme options (see theme.conf for more information). html_theme_options = { "navbar_name": "PennyLane Sphinx Theme", "extra_copyrights": [ "TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc." ], "toc_overview": True, "toc_global": True, "relations": True } # -- Options for Sphinx Gallery -------------------------------------------- sphinx_gallery_conf = { # path to your example scripts "examples_dirs": ["tutorials"], # path where to save gallery generated examples "gallery_dirs": ["gallery"], # execute files that match the following filename pattern, # and skip those that don't. If the following option is not provided, # all example scripts in the 'examples_dirs' folder will be skiped. "filename_pattern": r"tutorial", "pypandoc": True, # first notebook cell in generated Jupyter notebooks "first_notebook_cell": ( "# This cell is added by sphinx-gallery\n" "# It can be customized to whatever you like\n" "%matplotlib inline" ), # thumbnail size "thumbnail_size": (400, 400), } ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Define this variable in case it's not defined by the user. # It defaults to `alabaster` which is the default from Sphinx. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_theme html_theme = globals().get('html_theme', 'alabaster') #Add project information to the template context. context = { 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'proxied_static_path': "/_/static/", 'versions': [ ("latest", "/en/latest/"), ("stable", "/en/stable/"), ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'xanaduai-pennylane-sphinx-theme', 'name': u'pennylane-sphinx-theme', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': '', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/', 'api_host': 'https://readthedocs.com', 'github_user': 'PennyLaneAI', 'proxied_api_host': '/_', 'github_repo': 'pennylane-sphinx-theme', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': '9f188ce3', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): for key in context: if key not in html_context: html_context[key] = context[key] else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/xanaduai-pennylane-sphinx-theme/builds/1964270/' project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2024-01-22T14:37:02.780446Z, end-time: 2024-01-22T14:37:03.353705Z, duration: 0, exit-code: 2 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html Running Sphinx v4.5.0 loading translations [en]... done Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages/sphinx/registry.py", line 438, in load_extension metadata = setup(app) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages/sphinxcontrib/applehelp/__init__.py", line 230, in setup app.require_sphinx('5.0') File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages/sphinx/application.py", line 393, in require_sphinx raise VersionRequirementError(version) sphinx.errors.VersionRequirementError: 5.0 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages/sphinx/cmd/build.py", line 272, in build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages/sphinx/application.py", line 219, in __init__ self.setup_extension(extension) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages/sphinx/application.py", line 380, in setup_extension self.registry.load_extension(self, extname) File "/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/latest/lib/python3.9/site-packages/sphinx/registry.py", line 441, in load_extension raise VersionRequirementError( sphinx.errors.VersionRequirementError: The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version. Sphinx version error: The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.