Read the Docs build information Build id: 1901945 Project: advanced-micro-devices-demo Version: develop Commit: 5a53b95c7fc8fd655376c093f4a651824ee37722 Date: 2023-12-14T16:20:56.767756Z State: cancelled Success: False [rtd-command-info] start-time: 2023-12-14T16:20:58.007510Z, end-time: 2023-12-14T16:20:59.781495Z, duration: 1, exit-code: 0 git clone --depth 1 git@github.com:ROCm/ROCm.git . Cloning into '.'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. [rtd-command-info] start-time: 2023-12-14T16:20:59.849125Z, end-time: 2023-12-14T16:21:02.404870Z, duration: 2, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 refs/heads/develop:refs/remotes/origin/develop 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:ROCm/ROCm * [new tag] rocm-5.7.1 -> rocm-5.7.1 [rtd-command-info] start-time: 2023-12-14T16:21:02.531932Z, end-time: 2023-12-14T16:21:02.672987Z, duration: 0, exit-code: 0 git checkout --force origin/develop Note: switching to 'origin/develop'. 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 5a53b95 release updates (#2707) [rtd-command-info] start-time: 2023-12-14T16:21:02.735504Z, end-time: 2023-12-14T16:21:02.796639Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2023-12-14T16:21:02.860100Z, end-time: 2023-12-14T16:21:02.919682Z, duration: 0, exit-code: 0 cat .readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details version: 2 sphinx: configuration: docs/conf.py formats: [htmlzip, pdf] python: install: - requirements: docs/sphinx/requirements.txt build: os: ubuntu-20.04 tools: python: "3.8" [rtd-command-info] start-time: 2023-12-14T16:21:08.979991Z, end-time: 2023-12-14T16:21:09.086635Z, duration: 0, exit-code: 0 asdf global python 3.8.18 [rtd-command-info] start-time: 2023-12-14T16:21:09.510176Z, end-time: 2023-12-14T16:21:10.742777Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.8.18.final.0-64 in 877ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop, 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: 2023-12-14T16:21:10.841045Z, end-time: 2023-12-14T16:21:21.782280Z, duration: 10, 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/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (23.1) Collecting pip Downloading pip-23.3.1-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 38.9 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (67.6.1) Collecting setuptools Downloading setuptools-69.0.2-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.5/819.5 kB 140.4 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.1 setuptools-69.0.2 [rtd-command-info] start-time: 2023-12-14T16:21:21.865217Z, end-time: 2023-12-14T16:21:30.251278Z, duration: 8, exit-code: 0 python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext Collecting sphinx Downloading sphinx-7.1.2-py3-none-any.whl.metadata (5.8 kB) Collecting readthedocs-sphinx-ext Downloading readthedocs_sphinx_ext-2.2.4-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.6/120.6 kB 6.9 MB/s eta 0:00:00 Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 133.6 MB/s eta 0:00:00 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.1-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.8/99.8 kB 141.9 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml>=1.1.5 (from sphinx) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 139.9 MB/s eta 0:00:00 Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 131.6 MB/s eta 0:00:00 Collecting Jinja2>=3.0 (from sphinx) Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 143.3 MB/s eta 0:00:00 Collecting Pygments>=2.13 (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 116.0 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.13-py3-none-any.whl (13 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.0-py3-none-any.whl.metadata (4.9 kB) Collecting pytz>=2015.7 (from babel>=2.9->sphinx) Downloading pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 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.3-cp38-cp38-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-cp38-cp38-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.1.2-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 102.1 MB/s eta 0:00:00 Downloading readthedocs_sphinx_ext-2.2.4-py2.py3-none-any.whl (11 kB) Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 149.8 MB/s eta 0:00:00 Downloading docutils-0.20.1-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 158.4 MB/s eta 0:00:00 Downloading importlib_metadata-7.0.0-py3-none-any.whl (23 kB) Downloading packaging-23.2-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 132.3 MB/s eta 0:00:00 Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 158.3 MB/s eta 0:00:00 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 133.0 MB/s eta 0:00:00 Downloading certifi-2023.11.17-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 kB 153.1 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 141.1/141.1 kB 148.9 MB/s eta 0:00:00 Downloading idna-3.6-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 139.6 MB/s eta 0:00:00 Downloading MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Downloading pytz-2023.3.post1-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.5/502.5 kB 153.1 MB/s eta 0:00:00 Downloading urllib3-2.1.0-py3-none-any.whl (104 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 kB 128.8 MB/s eta 0:00:00 Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB) Installing collected packages: snowballstemmer, pytz, 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.2 MarkupSafe-2.1.3 Pygments-2.17.2 alabaster-0.7.13 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.0 packaging-23.2 pytz-2023.3.post1 readthedocs-sphinx-ext-2.2.4 requests-2.31.0 snowballstemmer-2.2.0 sphinx-7.1.2 sphinxcontrib-applehelp-1.0.4 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.1 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-2.1.0 zipp-3.17.0 [rtd-command-info] start-time: 2023-12-14T16:21:30.323397Z, end-time: 2023-12-14T16:21:40.516813Z, duration: 10, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r docs/sphinx/requirements.txt Collecting accessible-pygments==0.0.3 (from -r docs/sphinx/requirements.txt (line 7)) Downloading accessible_pygments-0.0.3-py2.py3-none-any.whl (30 kB) Requirement already satisfied: alabaster==0.7.13 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 9)) (0.7.13) Collecting babel==2.11.0 (from -r docs/sphinx/requirements.txt (line 11)) Downloading Babel-2.11.0-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 144.0 MB/s eta 0:00:00 Collecting beautifulsoup4==4.11.2 (from -r docs/sphinx/requirements.txt (line 15)) Downloading beautifulsoup4-4.11.2-py3-none-any.whl (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.4/129.4 kB 226.9 MB/s eta 0:00:00 Collecting breathe==4.34.0 (from -r docs/sphinx/requirements.txt (line 17)) Downloading breathe-4.34.0-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.8/92.8 kB 203.9 MB/s eta 0:00:00 Collecting certifi==2023.7.22 (from -r docs/sphinx/requirements.txt (line 19)) Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB) Collecting cffi==1.15.1 (from -r docs/sphinx/requirements.txt (line 21)) Downloading cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (442 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 442.7/442.7 kB 240.7 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 (from -r docs/sphinx/requirements.txt (line 25)) Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting click==8.1.3 (from -r docs/sphinx/requirements.txt (line 27)) Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 212.4 MB/s eta 0:00:00 Collecting cryptography==41.0.3 (from -r docs/sphinx/requirements.txt (line 29)) Downloading cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (5.2 kB) Collecting deprecated==1.2.13 (from -r docs/sphinx/requirements.txt (line 31)) Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Collecting docutils==0.19 (from -r docs/sphinx/requirements.txt (line 33)) Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 244.1 MB/s eta 0:00:00 Collecting fastjsonschema==2.16.3 (from -r docs/sphinx/requirements.txt (line 39)) Downloading fastjsonschema-2.16.3-py3-none-any.whl (23 kB) Collecting gitdb==4.0.10 (from -r docs/sphinx/requirements.txt (line 41)) Downloading gitdb-4.0.10-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 206.3 MB/s eta 0:00:00 Collecting gitpython==3.1.30 (from -r docs/sphinx/requirements.txt (line 43)) Downloading GitPython-3.1.30-py3-none-any.whl (184 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.0/184.0 kB 240.7 MB/s eta 0:00:00 Collecting idna==3.4 (from -r docs/sphinx/requirements.txt (line 45)) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 202.0 MB/s eta 0:00:00 Requirement already satisfied: imagesize==1.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 47)) (1.4.1) Requirement already satisfied: importlib-metadata==7.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 49)) (7.0.0) Collecting importlib-resources==6.1.1 (from -r docs/sphinx/requirements.txt (line 51)) Downloading importlib_resources-6.1.1-py3-none-any.whl.metadata (4.1 kB) Requirement already satisfied: jinja2==3.1.2 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 53)) (3.1.2) Collecting markdown-it-py==2.2.0 (from -r docs/sphinx/requirements.txt (line 57)) Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 218.4 MB/s eta 0:00:00 Collecting markupsafe==2.1.2 (from -r docs/sphinx/requirements.txt (line 61)) Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting mdit-py-plugins==0.3.4 (from -r docs/sphinx/requirements.txt (line 63)) Downloading mdit_py_plugins-0.3.4-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.1/52.1 kB 185.4 MB/s eta 0:00:00 Collecting mdurl==0.1.2 (from -r docs/sphinx/requirements.txt (line 65)) Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting myst-parser==1.0.0 (from -r docs/sphinx/requirements.txt (line 67)) Downloading myst_parser-1.0.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.3/77.3 kB 218.6 MB/s eta 0:00:00 Collecting packaging==23.0 (from -r docs/sphinx/requirements.txt (line 69)) Downloading packaging-23.0-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 171.8 MB/s eta 0:00:00 Collecting pycparser==2.21 (from -r docs/sphinx/requirements.txt (line 73)) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 229.5 MB/s eta 0:00:00 Collecting pydata-sphinx-theme==0.13.3 (from -r docs/sphinx/requirements.txt (line 75)) Downloading pydata_sphinx_theme-0.13.3-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 217.9 MB/s eta 0:00:00 Collecting pygithub==1.58.1 (from -r docs/sphinx/requirements.txt (line 79)) Downloading PyGithub-1.58.1-py3-none-any.whl (312 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 312.5/312.5 kB 234.6 MB/s eta 0:00:00 Collecting pygments==2.15.0 (from -r docs/sphinx/requirements.txt (line 81)) Downloading Pygments-2.15.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 249.7 MB/s eta 0:00:00 Collecting pyjwt==2.6.0 (from pyjwt[crypto]==2.6.0->-r docs/sphinx/requirements.txt (line 86)) Downloading PyJWT-2.6.0-py3-none-any.whl (20 kB) Collecting pynacl==1.5.0 (from -r docs/sphinx/requirements.txt (line 88)) Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 kB 255.3 MB/s eta 0:00:00 Collecting pytz==2022.7.1 (from -r docs/sphinx/requirements.txt (line 90)) Downloading pytz-2022.7.1-py2.py3-none-any.whl (499 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 499.4/499.4 kB 254.3 MB/s eta 0:00:00 Collecting pyyaml==6.0 (from -r docs/sphinx/requirements.txt (line 92)) Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 701.2/701.2 kB 250.3 MB/s eta 0:00:00 Requirement already satisfied: requests==2.31.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 97)) (2.31.0) Collecting rocm-docs-core==0.30.1 (from -r docs/sphinx/requirements.txt (line 101)) Downloading rocm_docs_core-0.30.1-py3-none-any.whl.metadata (4.1 kB) Collecting smmap==5.0.0 (from -r docs/sphinx/requirements.txt (line 103)) Downloading smmap-5.0.0-py3-none-any.whl (24 kB) Requirement already satisfied: snowballstemmer==2.2.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 105)) (2.2.0) Collecting soupsieve==2.4 (from -r docs/sphinx/requirements.txt (line 107)) Downloading soupsieve-2.4-py3-none-any.whl (37 kB) Collecting sphinx==5.3.0 (from -r docs/sphinx/requirements.txt (line 109)) Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 236.6 MB/s eta 0:00:00 Collecting sphinx-book-theme==1.0.1 (from -r docs/sphinx/requirements.txt (line 120)) Downloading sphinx_book_theme-1.0.1-py3-none-any.whl (396 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 396.9/396.9 kB 259.2 MB/s eta 0:00:00 Collecting sphinx-copybutton==0.5.1 (from -r docs/sphinx/requirements.txt (line 122)) Downloading sphinx_copybutton-0.5.1-py3-none-any.whl (13 kB) Collecting sphinx-design==0.4.1 (from -r docs/sphinx/requirements.txt (line 124)) Downloading sphinx_design-0.4.1-py3-none-any.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 137.0 MB/s eta 0:00:00 Collecting sphinx-external-toc==0.3.1 (from -r docs/sphinx/requirements.txt (line 126)) Downloading sphinx_external_toc-0.3.1-py3-none-any.whl (26 kB) Collecting sphinx-notfound-page==0.8.3 (from -r docs/sphinx/requirements.txt (line 128)) Downloading sphinx_notfound_page-0.8.3-py2.py3-none-any.whl (8.5 kB) Requirement already satisfied: sphinxcontrib-applehelp==1.0.4 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 130)) (1.0.4) Requirement already satisfied: sphinxcontrib-devhelp==1.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 132)) (1.0.2) Requirement already satisfied: sphinxcontrib-htmlhelp==2.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 134)) (2.0.1) Requirement already satisfied: sphinxcontrib-jsmath==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 136)) (1.0.1) Requirement already satisfied: sphinxcontrib-qthelp==1.0.3 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 138)) (1.0.3) Requirement already satisfied: sphinxcontrib-serializinghtml==1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 140)) (1.1.5) Collecting typing-extensions==4.5.0 (from -r docs/sphinx/requirements.txt (line 142)) Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting urllib3==1.26.13 (from -r docs/sphinx/requirements.txt (line 144)) Downloading urllib3-1.26.13-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 223.1 MB/s eta 0:00:00 Collecting wrapt==1.14.1 (from -r docs/sphinx/requirements.txt (line 146)) Downloading wrapt-1.14.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.0/81.0 kB 218.7 MB/s eta 0:00:00 Requirement already satisfied: zipp==3.17.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-demo/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 148)) (3.17.0) Downloading certifi-2023.7.22-py3-none-any.whl (158 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 223.6 MB/s eta 0:00:00 Downloading cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 205.6 MB/s eta 0:00:00 Downloading importlib_resources-6.1.1-py3-none-any.whl (33 kB) Downloading rocm_docs_core-0.30.1-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 255.1 MB/s eta 0:00:00 Installing collected packages: pytz, fastjsonschema, wrapt, urllib3, typing-extensions, soupsieve, smmap, pyyaml, pyjwt, pygments, pycparser, packaging, mdurl, markupsafe, importlib-resources, idna, docutils, click, charset-normalizer, certifi, babel, markdown-it-py, gitdb, deprecated, cffi, beautifulsoup4, accessible-pygments, sphinx, pynacl, mdit-py-plugins, gitpython, cryptography, sphinx-notfound-page, sphinx-external-toc, sphinx-design, sphinx-copybutton, pydata-sphinx-theme, myst-parser, breathe, sphinx-book-theme, pygithub, rocm-docs-core Attempting uninstall: pytz Found existing installation: pytz 2023.3.post1 Uninstalling pytz-2023.3.post1: Successfully uninstalled pytz-2023.3.post1 Attempting uninstall: urllib3 Found existing installation: urllib3 2.1.0 Uninstalling urllib3-2.1.0: Successfully uninstalled urllib3-2.1.0 Attempting uninstall: pygments Found existing installation: Pygments 2.17.2 Uninstalling Pygments-2.17.2: Successfully uninstalled Pygments-2.17.2 Attempting uninstall: packaging Found existing installation: packaging 23.2 Uninstalling packaging-23.2: Successfully uninstalled packaging-23.2 Attempting uninstall: markupsafe Found existing installation: MarkupSafe 2.1.3 Uninstalling MarkupSafe-2.1.3: Successfully uninstalled MarkupSafe-2.1.3 Attempting uninstall: idna Found existing installation: idna 3.6 Uninstalling idna-3.6: Successfully uninstalled idna-3.6 Attempting uninstall: docutils Found existing installation: docutils 0.20.1 Uninstalling docutils-0.20.1: Successfully uninstalled docutils-0.20.1 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 3.3.2 Uninstalling charset-normalizer-3.3.2: Successfully uninstalled charset-normalizer-3.3.2 Attempting uninstall: certifi Found existing installation: certifi 2023.11.17 Uninstalling certifi-2023.11.17: Successfully uninstalled certifi-2023.11.17 Attempting uninstall: babel Found existing installation: Babel 2.14.0 Uninstalling Babel-2.14.0: Successfully uninstalled Babel-2.14.0 Attempting uninstall: sphinx Found existing installation: Sphinx 7.1.2 Uninstalling Sphinx-7.1.2: Successfully uninstalled Sphinx-7.1.2 Successfully installed accessible-pygments-0.0.3 babel-2.11.0 beautifulsoup4-4.11.2 breathe-4.34.0 certifi-2023.7.22 cffi-1.15.1 charset-normalizer-2.1.1 click-8.1.3 cryptography-41.0.3 deprecated-1.2.13 docutils-0.19 fastjsonschema-2.16.3 gitdb-4.0.10 gitpython-3.1.30 idna-3.4 importlib-resources-6.1.1 markdown-it-py-2.2.0 markupsafe-2.1.2 mdit-py-plugins-0.3.4 mdurl-0.1.2 myst-parser-1.0.0 packaging-23.0 pycparser-2.21 pydata-sphinx-theme-0.13.3 pygithub-1.58.1 pygments-2.15.0 pyjwt-2.6.0 pynacl-1.5.0 pytz-2022.7.1 pyyaml-6.0 rocm-docs-core-0.30.1 smmap-5.0.0 soupsieve-2.4 sphinx-5.3.0 sphinx-book-theme-1.0.1 sphinx-copybutton-0.5.1 sphinx-design-0.4.1 sphinx-external-toc-0.3.1 sphinx-notfound-page-0.8.3 typing-extensions-4.5.0 urllib3-1.26.13 wrapt-1.14.1 [rtd-command-info] start-time: 2023-12-14T16:21:43.316253Z, end-time: 2023-12-14T16:21:43.370322Z, duration: 0, exit-code: 0 cat docs/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 import shutil import jinja2 import os # Environment to process Jinja templates. jinja_env = jinja2.Environment(loader=jinja2.FileSystemLoader(".")) # Jinja templates to render out. templates = [] # Render templates and output files without the last extension. # For example: 'install.md.jinja' becomes 'install.md'. for template in templates: rendered = jinja_env.get_template(template).render() with open(os.path.splitext(template)[0], 'w') as file: file.write(rendered) shutil.copy2('../CONTRIBUTING.md','./contribute/index.md') shutil.copy2('../RELEASE.md','./about/release-notes.md') # Keep capitalization due to similar linking on GitHub's markdown preview. shutil.copy2('../CHANGELOG.md','./about/CHANGELOG.md') latex_engine = "xelatex" latex_elements = { "fontpkg": r""" \usepackage{tgtermes} \usepackage{tgheros} \renewcommand\ttdefault{txtt} """ } # configurations for PDF output by Read the Docs project = "ROCm Documentation" author = "Advanced Micro Devices, Inc." copyright = "Copyright (c) 2023-2024 Advanced Micro Devices, Inc. All rights reserved." version = "6.0.0" release = "6.0.0" setting_all_article_info = True all_article_info_os = ["linux", "windows"] all_article_info_author = "" # pages with specific settings article_pages = [ { "file":"release", "os":["linux", "windows"], "date":"2023-07-27" }, {"file":"install/windows/install-quick", "os":["windows"]}, {"file":"install/linux/install-quick", "os":["linux"]}, {"file":"install/linux/install", "os":["linux"]}, {"file":"install/linux/install-options", "os":["linux"]}, {"file":"install/linux/prerequisites", "os":["linux"]}, {"file":"install/docker", "os":["linux"]}, {"file":"install/magma-install", "os":["linux"]}, {"file":"install/pytorch-install", "os":["linux"]}, {"file":"install/tensorflow-install", "os":["linux"]}, {"file":"install/windows/install", "os":["windows"]}, {"file":"install/windows/prerequisites", "os":["windows"]}, {"file":"install/windows/cli/index", "os":["windows"]}, {"file":"install/windows/gui/index", "os":["windows"]}, {"file":"about/compatibility/linux-support", "os":["linux"]}, {"file":"about/compatibility/windows-support", "os":["windows"]}, {"file":"about/compatibility/docker-image-support-matrix", "os":["linux"]}, {"file":"about/compatibility/user-kernel-space-compat-matrix", "os":["linux"]}, {"file":"reference/library-index", "os":["linux"]}, {"file":"how-to/deep-learning-rocm", "os":["linux"]}, {"file":"how-to/gpu-enabled-mpi", "os":["linux"]}, {"file":"how-to/system-debugging", "os":["linux"]}, {"file":"how-to/tuning-guides", "os":["linux", "windows"]}, {"file":"rocm-a-z", "os":["linux", "windows"]}, ] exclude_patterns = ['temp'] external_toc_path = "./sphinx/_toc.yml" extensions = ["rocm_docs"] external_projects_current_project = "rocm" html_theme = "rocm_docs_theme" html_theme_options = {"flavor": "rocm-docs-home"} html_title = "ROCm Documentation" html_theme_options = { "link_main_doc": False } ########################################################################### # 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': "develop", 'version_slug': "develop", '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/"), ("docs-5.7.1", "/en/docs-5.7.1/"), ("docs-5.7.0", "/en/docs-5.7.0/"), ("docs-5.6.1", "/en/docs-5.6.1/"), ("docs-5.6.0", "/en/docs-5.6.0/"), ("docs-5.5.1", "/en/docs-5.5.1/"), ("docs-5.5.0", "/en/docs-5.5.0/"), ("docs-5.4.3", "/en/docs-5.4.3/"), ("docs-5.4.2", "/en/docs-5.4.2/"), ("docs-5.4.1", "/en/docs-5.4.1/"), ("docs-5.4.0", "/en/docs-5.4.0/"), ("docs-5.3.3", "/en/docs-5.3.3/"), ("docs-5.3.2", "/en/docs-5.3.2/"), ("docs-5.3.0", "/en/docs-5.3.0/"), ("docs-5.2.3", "/en/docs-5.2.3/"), ("docs-5.2.1", "/en/docs-5.2.1/"), ("docs-5.2.0", "/en/docs-5.2.0/"), ("docs-5.1.3", "/en/docs-5.1.3/"), ("docs-5.1.1", "/en/docs-5.1.1/"), ("docs-5.1.0", "/en/docs-5.1.0/"), ("docs-5.0.2", "/en/docs-5.0.2/"), ("docs-5.0.1", "/en/docs-5.0.1/"), ("docs-5.0.0", "/en/docs-5.0.0/"), ("develop", "/en/develop/"), ], 'downloads': [ ("pdf", "//rocm.docs.amd.com/_/downloads/en/develop/pdf/"), ("html", "//rocm.docs.amd.com/_/downloads/en/develop/htmlzip/"), ], 'subprojects': [ ("advanced-micro-devices-rocprofiler-docs", "https://rocm.docs.amd.com/projects/rocprofiler/en/latest/"), ("advanced-micro-devices-rocr-runtime", "https://rocm.docs.amd.com/projects/ROCR-Runtime/en/latest/"), ("advanced-micro-devices-rocm-cmake", "https://rocm.docs.amd.com/projects/ROCmCMakeBuildTools/en/latest/"), ("advanced-micro-devices-hipcc-llvm-project", "https://rocm.docs.amd.com/projects/HIPCC/en/latest/"), ("advanced-micro-devices-rocm-install-on-windows", "https://rocm.docs.amd.com/projects/install-on-windows/en/latest/"), ("advanced-micro-devices-amdmigraphx", "https://rocm.docs.amd.com/projects/AMDMIGraphX/en/latest/"), ("advanced-micro-devices-rocdbgapi-docs", "https://rocm.docs.amd.com/projects/ROCdbgapi/en/latest/"), ("advanced-micro-devices-roctracer-docs", "https://rocm.docs.amd.com/projects/roctracer/en/latest/"), ("advanced-micro-devices-rdc", "https://rocm.docs.amd.com/projects/rdc/en/latest/"), ("advanced-micro-devices-composable-kernel", "https://rocm.docs.amd.com/projects/composable_kernel/en/latest/"), ("advanced-micro-devices-hip", "https://rocm.docs.amd.com/projects/HIP/en/latest/"), ("advanced-micro-devices-hipblas", "https://rocm.docs.amd.com/projects/hipBLAS/en/latest/"), ("advanced-micro-devices-hipblaslt", "https://rocm.docs.amd.com/projects/hipBLASLt/en/latest/"), ("advanced-micro-devices-hipcub", "https://rocm.docs.amd.com/projects/hipCUB/en/latest/"), ("advanced-micro-devices-hipfft", "https://rocm.docs.amd.com/projects/hipFFT/en/latest/"), ("advanced-micro-devices-hipfort", "https://rocm.docs.amd.com/projects/hipfort/en/latest/"), ("advanced-micro-devices-hipify", "https://rocm.docs.amd.com/projects/HIPIFY/en/latest/"), ("advanced-micro-devices-hiprand", "https://rocm.docs.amd.com/projects/hipRAND/en/latest/"), ("advanced-micro-devices-hipsolver", "https://rocm.docs.amd.com/projects/hipSOLVER/en/latest/"), ("advanced-micro-devices-hipsparse", "https://rocm.docs.amd.com/projects/hipSPARSE/en/latest/"), ("advanced-micro-devices-hipsparselt", "https://rocm.docs.amd.com/projects/hipSPARSELt/en/latest/"), ("advanced-micro-devices-hiptensor", "https://rocm.docs.amd.com/projects/hipTensor/en/latest/"), ("advanced-micro-devices-transferbench", "https://rocm.docs.amd.com/projects/TransferBench/en/latest/"), ("advanced-micro-devices-swab-documentation", "https://rocm.docs.amd.com/projects/swab-documentation/en/latest/"), ("advanced-micro-devices-rocwmma", "https://rocm.docs.amd.com/projects/rocWMMA/en/latest/"), ("advanced-micro-devices-rocthrust", "https://rocm.docs.amd.com/projects/rocThrust/en/latest/"), ("advanced-micro-devices-rocsparse", "https://rocm.docs.amd.com/projects/rocSPARSE/en/latest/"), ("advanced-micro-devices-rocsolver", "https://rocm.docs.amd.com/projects/rocSOLVER/en/latest/"), ("advanced-micro-devices-miopen", "https://rocm.docs.amd.com/projects/MIOpen/en/latest/"), ("advanced-micro-devices-mivisionx", "https://rocm.docs.amd.com/projects/MIVisionX/en/latest/"), ("advanced-micro-devices-rccl", "https://rocm.docs.amd.com/projects/rccl/en/latest/"), ("advanced-micro-devices-rocal", "https://rocm.docs.amd.com/projects/rocAL/en/latest/"), ("advanced-micro-devices-rocalution", "https://rocm.docs.amd.com/projects/rocALUTION/en/latest/"), ("advanced-micro-devices-rocblas", "https://rocm.docs.amd.com/projects/rocBLAS/en/latest/"), ("advanced-micro-devices-rocrand", "https://rocm.docs.amd.com/projects/rocRAND/en/latest/"), ("advanced-micro-devices-rocprim", "https://rocm.docs.amd.com/projects/rocPRIM/en/latest/"), ("advanced-micro-devices-rocmvalidationsuite", "https://rocm.docs.amd.com/projects/ROCmValidationSuite/en/latest/"), ("advanced-micro-devices-rocfft", "https://rocm.docs.amd.com/projects/rocFFT/en/latest/"), ("advanced-micro-devices-rocgdb-internal", "https://rocm.docs.amd.com/projects/ROCgdb/en/latest/"), ("advanced-micro-devices-rocm-smi-lib", "https://rocm.docs.amd.com/projects/rocm_smi_lib/en/latest/"), ("advanced-micro-devices-rocm-docs-core", "https://rocm.docs.amd.com/projects/rocm-docs-core/en/latest/"), ("advanced-micro-devices-amdsmi", "https://rocm.docs.amd.com/projects/amdsmi/en/latest/"), ("advanced-micro-devices-rpp", "https://rocm.docs.amd.com/projects/rpp/en/latest/"), ("advanced-micro-devices-hip-python", "https://rocm.docs.amd.com/projects/hip-python/en/latest/"), ("advanced-micro-devices-hip-vs", "https://rocm.docs.amd.com/projects/hip-vs/en/latest/"), ("advanced-micro-devices-rocmradeon", "https://rocm.docs.amd.com/projects/radeon/en/latest/"), ("advanced-micro-devices-hipcc", "https://rocm.docs.amd.com/projects/HIPCC-archive/en/latest/"), ("advanced-micro-devices-rocdecode", "https://rocm.docs.amd.com/projects/rocDecode/en/latest/"), ("advanced-micro-devices-linux-install-docs", "https://rocm.docs.amd.com/projects/rocm-install-on-linux/en/latest/"), ], 'slug': 'advanced-micro-devices-demo', 'name': u'ROCm Documentation', 'rtd_language': u'en', 'programming_language': u'cpp', 'canonical_url': '', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/', 'api_host': 'https://readthedocs.com', 'github_user': 'ROCm', 'proxied_api_host': '/_', 'github_repo': 'ROCm', 'github_version': 'develop', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'develop', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'develop', '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': None, 'commit': '5a53b95c', } # 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/advanced-micro-devices-demo/builds/1901945/' 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'])