Read the Docs build information Build id: 3874233 Project: xanaduai-pennylane-sphinx-theme Version: 161 Commit: 60deb218cb9a2793607fc2056c6a276be5fa7a59 Date: 2026-03-27T18:31:05.993809Z State: finished Success: True [rtd-command-info] start-time: 2026-03-27T18:31:06.797232Z, end-time: 2026-03-27T18:31:07.254427Z, duration: 0, exit-code: 0 git clone --depth 1 https://github.com/PennyLaneAI/pennylane-sphinx-theme.git . Cloning into '.'... [rtd-command-info] start-time: 2026-03-27T18:31:07.333580Z, end-time: 2026-03-27T18:31:08.284647Z, duration: 0, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 pull/161/head:external-161 From https://github.com/PennyLaneAI/pennylane-sphinx-theme * [new ref] refs/pull/161/head -> external-161 * [new tag] v0.14.0 -> v0.14.0 * [new tag] v0.15.0 -> v0.15.0 * [new tag] v0.16.0 -> v0.16.0 * [new tag] v0.17.0 -> v0.17.0 * [new tag] v0.18.0 -> v0.18.0 * [new tag] v0.19.0 -> v0.19.0 * [new tag] v0.20.0 -> v0.20.0 * [new tag] v0.21.0 -> v0.21.0 * [new tag] v0.22.0 -> v0.22.0 * [new tag] v0.23.0 -> v0.23.0 * [new tag] v0.24.0 -> v0.24.0 * [new tag] v0.25.0 -> v0.25.0 * [new tag] v0.26.0 -> v0.26.0 * [new tag] v0.27.0 -> v0.27.0 [rtd-command-info] start-time: 2026-03-27T18:31:09.246709Z, end-time: 2026-03-27T18:31:09.286804Z, duration: 0, exit-code: 0 git checkout --force 60deb218cb9a2793607fc2056c6a276be5fa7a59 Note: switching to '60deb218cb9a2793607fc2056c6a276be5fa7a59'. 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 60deb21 Trigger Build [rtd-command-info] start-time: 2026-03-27T18:31:09.370334Z, end-time: 2026-03-27T18:31:09.407403Z, 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: 2026-03-27T18:31:10.282492Z, end-time: 2026-03-27T18:31:14.376636Z, duration: 4, exit-code: 0 apt-get update --assume-yes --quiet Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] Get:4 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6803 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7011 kB] Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1618 kB] Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1309 kB] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [70.9 kB] Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4173 kB] Get:11 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [62.6 kB] Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3842 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB] Fetched 25.4 MB in 2s (11.7 MB/s) Reading package lists... [rtd-command-info] start-time: 2026-03-27T18:31:14.465523Z, end-time: 2026-03-27T18:31:21.936175Z, duration: 7, 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 260 not upgraded. Need to get 1500 kB of archives. After this operation, 4700 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-updates/universe amd64 graphviz amd64 2.42.2-6ubuntu0.1 [653 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1500 kB in 1s (1876 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 ... 272117 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-6ubuntu0.1_amd64.deb ... Unpacking graphviz (2.42.2-6ubuntu0.1) ... Setting up libann0 (1.1.2+doc-7build1) ... Setting up fonts-liberation (1:1.07.4-11) ... Setting up graphviz (2.42.2-6ubuntu0.1) ... Processing triggers for libc-bin (2.35-0ubuntu3.6) ... Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ... [rtd-command-info] start-time: 2026-03-27T18:31:25.491060Z, end-time: 2026-03-27T18:31:25.543803Z, duration: 0, exit-code: 0 asdf global python 3.9.22 [rtd-command-info] start-time: 2026-03-27T18:31:25.948910Z, end-time: 2026-03-27T18:31:26.454863Z, duration: 0, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.9.22.final.0-64 in 293ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161, 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: 2026-03-27T18:31:26.550085Z, end-time: 2026-03-27T18:31:29.569359Z, duration: 3, 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/161/lib/python3.9/site-packages (23.1) Collecting pip Downloading pip-26.0.1-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 23.7 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (67.6.1) Collecting setuptools Downloading setuptools-82.0.1-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 112.2 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-26.0.1 setuptools-82.0.1 [rtd-command-info] start-time: 2026-03-27T18:31:29.655158Z, end-time: 2026-03-27T18:31:34.050243Z, duration: 4, exit-code: 0 python -m pip install --upgrade --no-cache-dir sphinx Collecting sphinx Downloading sphinx-7.4.7-py3-none-any.whl.metadata (6.1 kB) Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-2.0.0-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-2.0.0-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-jsmath (from sphinx) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl.metadata (1.4 kB) Collecting sphinxcontrib-htmlhelp>=2.0.0 (from sphinx) Downloading sphinxcontrib_htmlhelp-2.1.0-py3-none-any.whl.metadata (2.3 kB) Collecting sphinxcontrib-serializinghtml>=1.1.9 (from sphinx) Downloading sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl.metadata (2.4 kB) Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-2.0.0-py3-none-any.whl.metadata (2.3 kB) Collecting Jinja2>=3.1 (from sphinx) Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Collecting Pygments>=2.17 (from sphinx) Downloading pygments-2.19.2-py3-none-any.whl.metadata (2.5 kB) Collecting docutils<0.22,>=0.20 (from sphinx) Downloading docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB) Collecting snowballstemmer>=2.2 (from sphinx) Downloading snowballstemmer-3.0.1-py3-none-any.whl.metadata (7.9 kB) Collecting babel>=2.13 (from sphinx) Downloading babel-2.18.0-py3-none-any.whl.metadata (2.2 kB) Collecting alabaster~=0.7.14 (from sphinx) Downloading alabaster-0.7.16-py3-none-any.whl.metadata (2.9 kB) Collecting imagesize>=1.3 (from sphinx) Downloading imagesize-1.5.0-py2.py3-none-any.whl.metadata (1.6 kB) Collecting requests>=2.30.0 (from sphinx) Downloading requests-2.32.5-py3-none-any.whl.metadata (4.9 kB) Collecting packaging>=23.0 (from sphinx) Downloading packaging-26.0-py3-none-any.whl.metadata (3.3 kB) Collecting importlib-metadata>=6.0 (from sphinx) Downloading importlib_metadata-8.7.1-py3-none-any.whl.metadata (4.7 kB) Collecting tomli>=2 (from sphinx) Downloading tomli-2.4.1-py3-none-any.whl.metadata (10 kB) Collecting zipp>=3.20 (from importlib-metadata>=6.0->sphinx) Downloading zipp-3.23.0-py3-none-any.whl.metadata (3.6 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.1->sphinx) Downloading markupsafe-3.0.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.7 kB) Collecting charset_normalizer<4,>=2 (from requests>=2.30.0->sphinx) Downloading charset_normalizer-3.4.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (40 kB) Collecting idna<4,>=2.5 (from requests>=2.30.0->sphinx) Downloading idna-3.11-py3-none-any.whl.metadata (8.4 kB) Collecting urllib3<3,>=1.21.1 (from requests>=2.30.0->sphinx) Downloading urllib3-2.6.3-py3-none-any.whl.metadata (6.9 kB) Collecting certifi>=2017.4.17 (from requests>=2.30.0->sphinx) Downloading certifi-2026.2.25-py3-none-any.whl.metadata (2.5 kB) Downloading sphinx-7.4.7-py3-none-any.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 44.0 MB/s 0:00:00 Downloading alabaster-0.7.16-py3-none-any.whl (13 kB) Downloading docutils-0.21.2-py3-none-any.whl (587 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.4/587.4 kB 339.2 MB/s 0:00:00 Downloading babel-2.18.0-py3-none-any.whl (10.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 246.8 MB/s 0:00:00 Downloading imagesize-1.5.0-py2.py3-none-any.whl (5.8 kB) Downloading importlib_metadata-8.7.1-py3-none-any.whl (27 kB) Downloading jinja2-3.1.6-py3-none-any.whl (134 kB) Downloading markupsafe-3.0.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (20 kB) Downloading packaging-26.0-py3-none-any.whl (74 kB) Downloading pygments-2.19.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 877.0 MB/s 0:00:00 Downloading requests-2.32.5-py3-none-any.whl (64 kB) Downloading charset_normalizer-3.4.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (207 kB) Downloading idna-3.11-py3-none-any.whl (71 kB) Downloading urllib3-2.6.3-py3-none-any.whl (131 kB) Downloading certifi-2026.2.25-py3-none-any.whl (153 kB) Downloading snowballstemmer-3.0.1-py3-none-any.whl (103 kB) Downloading sphinxcontrib_htmlhelp-2.1.0-py3-none-any.whl (98 kB) Downloading sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl (92 kB) Downloading tomli-2.4.1-py3-none-any.whl (14 kB) Downloading zipp-3.23.0-py3-none-any.whl (10 kB) Downloading sphinxcontrib_applehelp-2.0.0-py3-none-any.whl (119 kB) Downloading sphinxcontrib_devhelp-2.0.0-py3-none-any.whl (82 kB) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Downloading sphinxcontrib_qthelp-2.0.0-py3-none-any.whl (88 kB) Installing collected packages: zipp, urllib3, tomli, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, snowballstemmer, Pygments, packaging, MarkupSafe, imagesize, idna, docutils, charset_normalizer, certifi, babel, alabaster, requests, Jinja2, importlib-metadata, sphinx Successfully installed Jinja2-3.1.6 MarkupSafe-3.0.3 Pygments-2.19.2 alabaster-0.7.16 babel-2.18.0 certifi-2026.2.25 charset_normalizer-3.4.6 docutils-0.21.2 idna-3.11 imagesize-1.5.0 importlib-metadata-8.7.1 packaging-26.0 requests-2.32.5 snowballstemmer-3.0.1 sphinx-7.4.7 sphinxcontrib-applehelp-2.0.0 sphinxcontrib-devhelp-2.0.0 sphinxcontrib-htmlhelp-2.1.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-2.0.0 sphinxcontrib-serializinghtml-2.0.0 tomli-2.4.1 urllib3-2.6.3 zipp-3.23.0 [rtd-command-info] start-time: 2026-03-27T18:31:34.131405Z, end-time: 2026-03-27T18:31:46.705949Z, duration: 12, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt Collecting xanadu-sphinx-theme @ git+https://github.com/XanaduAI/xanadu-sphinx-theme.git@sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to (from -r doc/requirements.txt (line 16)) Cloning https://github.com/XanaduAI/xanadu-sphinx-theme.git (to revision sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to) to /tmp/pip-install-8n9jeyf7/xanadu-sphinx-theme_8f586490a06f403ebca2f9705f4a7dab Running command git clone --filter=blob:none --quiet https://github.com/XanaduAI/xanadu-sphinx-theme.git /tmp/pip-install-8n9jeyf7/xanadu-sphinx-theme_8f586490a06f403ebca2f9705f4a7dab Running command git checkout -b sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to --track origin/sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to Switched to a new branch 'sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to' Branch 'sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to' set up to track remote branch 'sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to' from 'origin'. Resolved https://github.com/XanaduAI/xanadu-sphinx-theme.git to commit 116efd10b634a57594d25075c2d86e695ca0afb0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting setuptools<82,>=45 (from -r doc/requirements.txt (line 2)) Downloading setuptools-81.0.0-py3-none-any.whl.metadata (6.6 kB) Collecting importlib-resources==5.12.0 (from -r doc/requirements.txt (line 3)) Downloading importlib_resources-5.12.0-py3-none-any.whl.metadata (4.1 kB) Collecting m2r2 (from -r doc/requirements.txt (line 4)) Downloading m2r2-0.3.4-py3-none-any.whl.metadata (7.5 kB) Collecting matplotlib==3.5.3 (from -r doc/requirements.txt (line 5)) Downloading matplotlib-3.5.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (6.7 kB) Collecting numpy==1.26.4 (from -r doc/requirements.txt (line 6)) Downloading numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) Collecting pillow==10.3.0 (from -r doc/requirements.txt (line 7)) Downloading pillow-10.3.0-cp39-cp39-manylinux_2_28_x86_64.whl.metadata (9.2 kB) Collecting sphinx==4.5.0 (from -r doc/requirements.txt (line 8)) Downloading Sphinx-4.5.0-py3-none-any.whl.metadata (7.9 kB) Collecting sphinxcontrib-applehelp==1.0.4 (from -r doc/requirements.txt (line 9)) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl.metadata (2.7 kB) Collecting sphinxcontrib-devhelp==1.0.2 (from -r doc/requirements.txt (line 10)) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl.metadata (1.4 kB) Collecting sphinxcontrib-qthelp==1.0.3 (from -r doc/requirements.txt (line 11)) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl.metadata (1.4 kB) Collecting sphinxcontrib-htmlhelp==2.0.1 (from -r doc/requirements.txt (line 12)) Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl.metadata (2.8 kB) Collecting sphinxcontrib-serializinghtml==1.1.5 (from -r doc/requirements.txt (line 13)) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinx-copybutton (from -r doc/requirements.txt (line 14)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) Collecting sphinx-gallery==0.10.1 (from -r doc/requirements.txt (line 15)) Downloading sphinx-gallery-0.10.1.tar.gz (6.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 98.0 MB/s 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: zipp>=3.1.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from importlib-resources==5.12.0->-r doc/requirements.txt (line 3)) (3.23.0) Collecting cycler>=0.10 (from matplotlib==3.5.3->-r doc/requirements.txt (line 5)) 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 5)) Downloading fonttools-4.60.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (113 kB) Collecting kiwisolver>=1.0.1 (from matplotlib==3.5.3->-r doc/requirements.txt (line 5)) Downloading kiwisolver-1.4.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (6.3 kB) Requirement already satisfied: packaging>=20.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from matplotlib==3.5.3->-r doc/requirements.txt (line 5)) (26.0) Collecting pyparsing>=2.2.1 (from matplotlib==3.5.3->-r doc/requirements.txt (line 5)) Downloading pyparsing-3.3.2-py3-none-any.whl.metadata (5.8 kB) Collecting python-dateutil>=2.7 (from matplotlib==3.5.3->-r doc/requirements.txt (line 5)) Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (1.0.1) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (3.1.6) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (2.19.2) Collecting docutils<0.18,>=0.14 (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) Downloading docutils-0.17.1-py2.py3-none-any.whl.metadata (2.9 kB) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (3.0.1) Requirement already satisfied: babel>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (2.18.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (0.7.16) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (1.5.0) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (2.32.5) Requirement already satisfied: importlib-metadata>=4.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx==4.5.0->-r doc/requirements.txt (line 8)) (8.7.1) Collecting mistune==0.8.4 (from m2r2->-r doc/requirements.txt (line 4)) Downloading mistune-0.8.4-py2.py3-none-any.whl.metadata (8.5 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 4)) Downloading m2r2-0.3.3.post2-py3-none-any.whl.metadata (7.1 kB) Downloading m2r2-0.3.2-py3-none-any.whl.metadata (7.3 kB) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from Jinja2>=2.3->sphinx==4.5.0->-r doc/requirements.txt (line 8)) (3.0.3) Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib==3.5.3->-r doc/requirements.txt (line 5)) Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB) Requirement already satisfied: charset_normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 8)) (3.4.6) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 8)) (3.11) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 8)) (2.6.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx==4.5.0->-r doc/requirements.txt (line 8)) (2026.2.25) Downloading importlib_resources-5.12.0-py3-none-any.whl (36 kB) Downloading matplotlib-3.5.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.2/11.2 MB 167.0 MB/s 0:00:00 Downloading numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 544.7 MB/s 0:00:00 Downloading pillow-10.3.0-cp39-cp39-manylinux_2_28_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 364.1 MB/s 0:00:00 Downloading Sphinx-4.5.0-py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 359.8 MB/s 0:00:00 Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) Downloading setuptools-81.0.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 402.2 MB/s 0:00:00 Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 kB 807.3 MB/s 0:00:00 Downloading m2r2-0.3.2-py3-none-any.whl (11 kB) Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl (13 kB) Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB) Downloading fonttools-4.60.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 164.8 MB/s 0:00:00 Downloading kiwisolver-1.4.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 778.3 MB/s 0:00:00 Downloading pyparsing-3.3.2-py3-none-any.whl (122 kB) Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Downloading six-1.17.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: xanadu-sphinx-theme, sphinx-gallery Building wheel for xanadu-sphinx-theme (pyproject.toml): started Building wheel for xanadu-sphinx-theme (pyproject.toml): finished with status 'done' Created wheel for xanadu-sphinx-theme: filename=xanadu_sphinx_theme-0.18.0.dev0-py3-none-any.whl size=54456 sha256=cc58a20428d9d0c1d81a1f81643125ac1b96902fc2ad74a9a154abc26a67913c Stored in directory: /tmp/pip-ephem-wheel-cache-qhqah4_4/wheels/29/27/6d/994759aa79562adb2d36d45985a6af3c316195c028ee1fa765 Building wheel for sphinx-gallery (pyproject.toml): started Building wheel for sphinx-gallery (pyproject.toml): finished with status 'done' Created wheel for sphinx-gallery: filename=sphinx_gallery-0.10.1-py3-none-any.whl size=132634 sha256=f6bde25a1756f65ea108100efa481c0112f02cc60ad1107047363f2ef16087e2 Stored in directory: /tmp/pip-ephem-wheel-cache-qhqah4_4/wheels/40/16/4c/df5358c85f9983dc5928bc65eac4185690d8bf4d6ac8b69eba Successfully built xanadu-sphinx-theme sphinx-gallery Installing collected packages: mistune, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, six, setuptools, pyparsing, pillow, numpy, kiwisolver, importlib-resources, fonttools, docutils, cycler, sphinx, python-dateutil, m2r2, sphinx-gallery, sphinx-copybutton, matplotlib, xanadu-sphinx-theme Attempting uninstall: sphinxcontrib-serializinghtml Found existing installation: sphinxcontrib-serializinghtml 2.0.0 Uninstalling sphinxcontrib-serializinghtml-2.0.0: Successfully uninstalled sphinxcontrib-serializinghtml-2.0.0 Attempting uninstall: sphinxcontrib-qthelp Found existing installation: sphinxcontrib-qthelp 2.0.0 Uninstalling sphinxcontrib-qthelp-2.0.0: Successfully uninstalled sphinxcontrib-qthelp-2.0.0 Attempting uninstall: sphinxcontrib-htmlhelp Found existing installation: sphinxcontrib-htmlhelp 2.1.0 Uninstalling sphinxcontrib-htmlhelp-2.1.0: Successfully uninstalled sphinxcontrib-htmlhelp-2.1.0 Attempting uninstall: sphinxcontrib-devhelp Found existing installation: sphinxcontrib-devhelp 2.0.0 Uninstalling sphinxcontrib-devhelp-2.0.0: Successfully uninstalled sphinxcontrib-devhelp-2.0.0 Attempting uninstall: sphinxcontrib-applehelp Found existing installation: sphinxcontrib-applehelp 2.0.0 Uninstalling sphinxcontrib-applehelp-2.0.0: Successfully uninstalled sphinxcontrib-applehelp-2.0.0 Attempting uninstall: setuptools Found existing installation: setuptools 82.0.1 Uninstalling setuptools-82.0.1: Successfully uninstalled setuptools-82.0.1 Attempting uninstall: docutils Found existing installation: docutils 0.21.2 Uninstalling docutils-0.21.2: Successfully uninstalled docutils-0.21.2 Attempting uninstall: sphinx Found existing installation: Sphinx 7.4.7 Uninstalling Sphinx-7.4.7: Successfully uninstalled Sphinx-7.4.7 Successfully installed cycler-0.12.1 docutils-0.17.1 fonttools-4.60.2 importlib-resources-5.12.0 kiwisolver-1.4.7 m2r2-0.3.2 matplotlib-3.5.3 mistune-0.8.4 numpy-1.26.4 pillow-10.3.0 pyparsing-3.3.2 python-dateutil-2.9.0.post0 setuptools-81.0.0 six-1.17.0 sphinx-4.5.0 sphinx-copybutton-0.5.2 sphinx-gallery-0.10.1 sphinxcontrib-applehelp-1.0.4 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 xanadu-sphinx-theme-0.18.0.dev0 [rtd-command-info] start-time: 2026-03-27T18:31:46.793278Z, end-time: 2026-03-27T18:31:50.913610Z, duration: 4, exit-code: 0 python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir . Processing ./. Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: sphinx in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.28.0.dev0) (4.5.0) Collecting xanadu-sphinx-theme @ git+https://github.com/XanaduAI/xanadu-sphinx-theme.git@sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to (from pennylane-sphinx-theme==0.28.0.dev0) Cloning https://github.com/XanaduAI/xanadu-sphinx-theme.git (to revision sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to) to /tmp/pip-install-hijkli_4/xanadu-sphinx-theme_ab63738fa35d4563888abcd59af0ff4a Running command git clone --filter=blob:none --quiet https://github.com/XanaduAI/xanadu-sphinx-theme.git /tmp/pip-install-hijkli_4/xanadu-sphinx-theme_ab63738fa35d4563888abcd59af0ff4a Running command git checkout -b sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to --track origin/sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to Switched to a new branch 'sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to' Branch 'sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to' set up to track remote branch 'sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to' from 'origin'. Resolved https://github.com/XanaduAI/xanadu-sphinx-theme.git to commit 116efd10b634a57594d25075c2d86e695ca0afb0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: pillow in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.28.0.dev0) (10.3.0) Requirement already satisfied: sphinx-gallery in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.28.0.dev0) (0.10.1) Requirement already satisfied: docutils in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from pennylane-sphinx-theme==0.28.0.dev0) (0.17.1) Requirement already satisfied: importlib_resources in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from xanadu-sphinx-theme @ git+https://github.com/XanaduAI/xanadu-sphinx-theme.git@sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to->pennylane-sphinx-theme==0.28.0.dev0) (5.12.0) Requirement already satisfied: zipp>=3.1.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from importlib_resources->xanadu-sphinx-theme @ git+https://github.com/XanaduAI/xanadu-sphinx-theme.git@sc-110105-replace-all-jquery-in-xanadu-sphinx-theme-to->pennylane-sphinx-theme==0.28.0.dev0) (3.23.0) Requirement already satisfied: sphinxcontrib-applehelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (1.0.4) Requirement already satisfied: sphinxcontrib-devhelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (1.0.2) Requirement already satisfied: sphinxcontrib-jsmath in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.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/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (2.0.1) Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (1.1.5) Requirement already satisfied: sphinxcontrib-qthelp in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (1.0.3) Requirement already satisfied: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (3.1.6) Requirement already satisfied: Pygments>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (2.19.2) Requirement already satisfied: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (3.0.1) Requirement already satisfied: babel>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (2.18.0) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (0.7.16) Requirement already satisfied: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (1.5.0) Requirement already satisfied: requests>=2.5.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (2.32.5) Requirement already satisfied: packaging in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (26.0) Requirement already satisfied: importlib-metadata>=4.4 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from sphinx->pennylane-sphinx-theme==0.28.0.dev0) (8.7.1) Requirement already satisfied: MarkupSafe>=2.0 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from Jinja2>=2.3->sphinx->pennylane-sphinx-theme==0.28.0.dev0) (3.0.3) Requirement already satisfied: charset_normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.28.0.dev0) (3.4.6) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.28.0.dev0) (3.11) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.28.0.dev0) (2.6.3) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages (from requests>=2.5.0->sphinx->pennylane-sphinx-theme==0.28.0.dev0) (2026.2.25) Building wheels for collected packages: pennylane-sphinx-theme Building wheel for pennylane-sphinx-theme (pyproject.toml): started Building wheel for pennylane-sphinx-theme (pyproject.toml): finished with status 'done' Created wheel for pennylane-sphinx-theme: filename=pennylane_sphinx_theme-0.28.0.dev0-py3-none-any.whl size=18184 sha256=1ed35a2afdf6dc7c115155df56e093741c7cbf8dfa7540a9320747c4a6b5a4dc Stored in directory: /tmp/pip-ephem-wheel-cache-pt4f9l_0/wheels/b3/90/fb/9667a9cdb07c8e454cb9f567f7f0699ad131247021dfe500e9 Successfully built pennylane-sphinx-theme Installing collected packages: pennylane-sphinx-theme Successfully installed pennylane-sphinx-theme-0.28.0.dev0 [rtd-command-info] start-time: 2026-03-27T18:31:51.073913Z, end-time: 2026-03-27T18:31:51.110388Z, 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 from datetime import datetime # -- Project information ----------------------------------------------------- project = 'PennyLane Sphinx Theme' copyright = f"{datetime.now().year} | 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, "command_palette_enabled": False, "search_on_pennylane_ai": False, "hotkeys": False } # -- 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), } [rtd-command-info] start-time: 2026-03-27T18:31:51.197307Z, end-time: 2026-03-27T18:31:55.991679Z, duration: 4, exit-code: 0 python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html Running Sphinx v4.5.0 loading translations [en]... done /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/envs/161/lib/python3.9/site-packages/m2r2.py:17: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import get_distribution making output directory... done [autosummary] generating autosummary for: code.rst, configuration.rst, directives.rst, elements.rst, gallery.rst, index.rst, release_notes.rst, started.rst [autosummary] generating autosummary for: /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/checkouts/161/doc/api/pennylane_sphinx_theme.rst [autosummary] generating autosummary for: /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/checkouts/161/doc/api/pennylane_sphinx_theme.Path.rst, /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/checkouts/161/doc/api/pennylane_sphinx_theme.setup.rst, /home/docs/checkouts/readthedocs.org/user_builds/xanaduai-pennylane-sphinx-theme/checkouts/161/doc/api/pennylane_sphinx_theme.templates_dir.rst generating gallery... WARNING: 'pypandoc' not available. Using Sphinx-Gallery to convert rst text blocks to markdown for .ipynb files. generating gallery for gallery... [100%] tutorial_demo.py computation time summary: - tutorials/tutorial_demo.py: 0.01 sec 0.0 MB building [mo]: targets for 0 po files that are out of date building [html]: targets for 8 source files that are out of date updating environment: [new config] 15 added, 0 changed, 0 removed reading sources... [ 6%] api/pennylane_sphinx_theme reading sources... [ 13%] api/pennylane_sphinx_theme.Path reading sources... [ 20%] api/pennylane_sphinx_theme.setup reading sources... [ 26%] api/pennylane_sphinx_theme.templates_dir reading sources... [ 33%] code reading sources... [ 40%] configuration reading sources... [ 46%] directives reading sources... [ 53%] elements reading sources... [ 60%] gallery reading sources... [ 66%] gallery/index reading sources... [ 73%] gallery/sg_execution_times reading sources... [ 80%] gallery/tutorial_demo reading sources... [ 86%] index reading sources... [ 93%] release_notes reading sources... [100%] started looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... WARNING: unsupported theme option 'hotkeys' given done writing output... [ 6%] api/pennylane_sphinx_theme writing output... [ 13%] api/pennylane_sphinx_theme.Path writing output... [ 20%] api/pennylane_sphinx_theme.setup writing output... [ 26%] api/pennylane_sphinx_theme.templates_dir writing output... [ 33%] code writing output... [ 40%] configuration writing output... [ 46%] directives writing output... [ 53%] elements writing output... [ 60%] gallery writing output... [ 66%] gallery/index writing output... [ 73%] gallery/sg_execution_times writing output... [ 80%] gallery/tutorial_demo writing output... [ 86%] index writing output... [ 93%] release_notes writing output... [100%] started generating indices... genindex py-modindex done highlighting module code... [ 33%] pathlib highlighting module code... [ 66%] pennylane_sphinx_theme highlighting module code... [100%] xanadu_sphinx_theme writing additional pages... search done copying images... [ 50%] _static/thumbs/teleport.png copying images... [100%] gallery/images/thumb/sphx_glr_tutorial_demo_thumb.png copying downloadable files... [ 25%] gallery/gallery_python.zip copying downloadable files... [ 50%] gallery/gallery_jupyter.zip copying downloadable files... [ 75%] gallery/tutorial_demo.py copying downloadable files... [100%] gallery/tutorial_demo.ipynb copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in ../_readthedocs/html. Sphinx-Gallery successfully executed 1 out of 1 file subselected by: gallery_conf["filename_pattern"] = 'tutorial' gallery_conf["ignore_pattern"] = '__init__\\.py' after excluding 0 files that had previously been run (based on MD5). embedding documentation hyperlinks... embedding documentation hyperlinks for gallery... [ 33%] index.html embedding documentation hyperlinks for gallery... [ 66%] sg_execution_times.html embedding documentation hyperlinks for gallery... [100%] tutorial_demo.html