Read the Docs build information Build id: 2341592 Project: advanced-micro-devices-rpp Version: develop Commit: ca8dcd5b5ad41efc55e39094cfdd03c643f819c3 Date: 2024-07-10T22:37:24.279552Z State: cancelled Success: False [rtd-command-info] start-time: 2024-07-10T22:37:25.563612Z, end-time: 2024-07-10T22:37:28.978384Z, duration: 3, exit-code: 0 git clone --depth 1 https://github.com/ROCm/rpp.git . Cloning into '.'... [rtd-command-info] start-time: 2024-07-10T22:37:29.047641Z, end-time: 2024-07-10T22:37:29.810620Z, duration: 0, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 refs/heads/develop:refs/remotes/origin/develop [rtd-command-info] start-time: 2024-07-10T22:37:29.938870Z, end-time: 2024-07-10T22:37:31.100870Z, duration: 1, 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 ca8dcd5 RPP Log Tensor on HOST and HIP (#372) [rtd-command-info] start-time: 2024-07-10T22:37:31.171197Z, end-time: 2024-07-10T22:37:31.233762Z, 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, epub] python: install: - requirements: docs/sphinx/requirements.txt build: os: ubuntu-22.04 tools: python: "3.10" [rtd-command-info] start-time: 2024-07-10T22:37:36.659597Z, end-time: 2024-07-10T22:37:36.741050Z, duration: 0, exit-code: 0 asdf global python 3.10.14 [rtd-command-info] start-time: 2024-07-10T22:37:37.152955Z, end-time: 2024-07-10T22:37:38.567485Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.10.14.final.0-64 in 859ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/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: 2024-07-10T22:37:38.645534Z, end-time: 2024-07-10T22:37:50.668439Z, duration: 12, 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-rpp/envs/develop/lib/python3.10/site-packages (23.1) Collecting pip Downloading pip-24.1.2-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 12.0 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/envs/develop/lib/python3.10/site-packages (67.6.1) Collecting setuptools Downloading setuptools-70.3.0-py3-none-any.whl (931 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 931.1/931.1 kB 25.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-24.1.2 setuptools-70.3.0 [rtd-command-info] start-time: 2024-07-10T22:37:50.739355Z, end-time: 2024-07-10T22:38:03.711791Z, duration: 12, exit-code: 0 python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext Collecting sphinx Downloading sphinx-7.3.7-py3-none-any.whl.metadata (6.0 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.metadata (1.4 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.4-py3-none-any.whl.metadata (2.6 kB) Collecting Pygments>=2.14 (from sphinx) Downloading pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB) Collecting docutils<0.22,>=0.18.1 (from sphinx) Downloading docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB) Collecting snowballstemmer>=2.0 (from sphinx) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl.metadata (6.5 kB) Collecting babel>=2.9 (from sphinx) Downloading Babel-2.15.0-py3-none-any.whl.metadata (1.5 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.4.1-py2.py3-none-any.whl.metadata (1.5 kB) Collecting requests>=2.25.0 (from sphinx) Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting packaging>=21.0 (from sphinx) Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting tomli>=2 (from sphinx) Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->sphinx) Downloading MarkupSafe-2.1.5-cp310-cp310-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-cp310-cp310-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.7-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx) Downloading urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx) Downloading certifi-2024.7.4-py3-none-any.whl.metadata (2.2 kB) Downloading sphinx-7.3.7-py3-none-any.whl (3.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 59.3 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.15.0-py3-none-any.whl (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 81.6 MB/s eta 0:00:00 Downloading docutils-0.21.2-py3-none-any.whl (587 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.4/587.4 kB 176.2 MB/s eta 0:00:00 Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 167.9 MB/s eta 0:00:00 Downloading packaging-24.1-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 148.0 MB/s eta 0:00:00 Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 182.0 MB/s eta 0:00:00 Downloading requests-2.32.3-py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 58.3 MB/s eta 0:00:00 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 152.7 MB/s eta 0:00:00 Downloading sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.2/99.2 kB 155.3 MB/s eta 0:00:00 Downloading sphinxcontrib_serializinghtml-1.1.10-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.7/92.7 kB 145.5 MB/s eta 0:00:00 Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Downloading sphinxcontrib_applehelp-1.0.8-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.0/120.0 kB 161.9 MB/s eta 0:00:00 Downloading sphinxcontrib_devhelp-1.0.6-py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.5/83.5 kB 147.7 MB/s eta 0:00:00 Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Downloading sphinxcontrib_qthelp-1.0.7-py3-none-any.whl (89 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.4/89.4 kB 139.9 MB/s eta 0:00:00 Downloading certifi-2024.7.4-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 171.9 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.1/142.1 kB 158.9 MB/s eta 0:00:00 Downloading idna-3.7-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 145.4 MB/s eta 0:00:00 Downloading MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Downloading urllib3-2.2.2-py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.4/121.4 kB 157.2 MB/s eta 0:00:00 Installing collected packages: snowballstemmer, urllib3, tomli, 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, sphinx, readthedocs-sphinx-ext Successfully installed Jinja2-3.1.4 MarkupSafe-2.1.5 Pygments-2.18.0 alabaster-0.7.16 babel-2.15.0 certifi-2024.7.4 charset-normalizer-3.3.2 docutils-0.21.2 idna-3.7 imagesize-1.4.1 packaging-24.1 readthedocs-sphinx-ext-2.2.5 requests-2.32.3 snowballstemmer-2.2.0 sphinx-7.3.7 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 tomli-2.0.1 urllib3-2.2.2 [rtd-command-info] start-time: 2024-07-10T22:38:03.809363Z, end-time: 2024-07-10T22:38:17.545334Z, duration: 13, 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.metadata (6.0 kB) Collecting alabaster==0.7.13 (from -r docs/sphinx/requirements.txt (line 9)) Downloading alabaster-0.7.13-py3-none-any.whl.metadata (3.0 kB) Collecting babel==2.12.1 (from -r docs/sphinx/requirements.txt (line 11)) Downloading Babel-2.12.1-py3-none-any.whl.metadata (1.3 kB) Collecting beautifulsoup4==4.11.2 (from -r docs/sphinx/requirements.txt (line 15)) Downloading beautifulsoup4-4.11.2-py3-none-any.whl.metadata (3.5 kB) Collecting breathe==4.34.0 (from -r docs/sphinx/requirements.txt (line 17)) Downloading breathe-4.34.0-py3-none-any.whl.metadata (968 bytes) Collecting certifi==2022.12.7 (from -r docs/sphinx/requirements.txt (line 19)) Downloading certifi-2022.12.7-py3-none-any.whl.metadata (2.9 kB) Collecting cffi==1.15.1 (from -r docs/sphinx/requirements.txt (line 21)) Downloading cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.1 kB) Collecting charset-normalizer==3.1.0 (from -r docs/sphinx/requirements.txt (line 25)) Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (30 kB) Collecting click==8.1.3 (from -r docs/sphinx/requirements.txt (line 27)) Downloading click-8.1.3-py3-none-any.whl.metadata (3.2 kB) Collecting click-log==0.4.0 (from -r docs/sphinx/requirements.txt (line 32)) Downloading click_log-0.4.0-py2.py3-none-any.whl.metadata (1.2 kB) Collecting cryptography==40.0.2 (from -r docs/sphinx/requirements.txt (line 34)) Downloading cryptography-40.0.2-cp36-abi3-manylinux_2_28_x86_64.whl.metadata (5.4 kB) Collecting deprecated==1.2.13 (from -r docs/sphinx/requirements.txt (line 36)) Downloading Deprecated-1.2.13-py2.py3-none-any.whl.metadata (5.8 kB) Collecting docutils==0.19 (from -r docs/sphinx/requirements.txt (line 38)) Downloading docutils-0.19-py3-none-any.whl.metadata (2.7 kB) Collecting doxysphinx==3.3.7 (from -r docs/sphinx/requirements.txt (line 44)) Downloading doxysphinx-3.3.7-py3-none-any.whl.metadata (4.3 kB) Collecting fastjsonschema==2.16.3 (from -r docs/sphinx/requirements.txt (line 46)) Downloading fastjsonschema-2.16.3-py3-none-any.whl.metadata (2.0 kB) Collecting gitdb==4.0.10 (from -r docs/sphinx/requirements.txt (line 48)) Downloading gitdb-4.0.10-py3-none-any.whl.metadata (1.1 kB) Collecting gitpython==3.1.31 (from -r docs/sphinx/requirements.txt (line 50)) Downloading GitPython-3.1.31-py3-none-any.whl.metadata (1.3 kB) Collecting idna==3.4 (from -r docs/sphinx/requirements.txt (line 52)) Downloading idna-3.4-py3-none-any.whl.metadata (9.8 kB) Requirement already satisfied: imagesize==1.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/envs/develop/lib/python3.10/site-packages (from -r docs/sphinx/requirements.txt (line 54)) (1.4.1) Collecting jinja2==3.1.2 (from -r docs/sphinx/requirements.txt (line 56)) Downloading Jinja2-3.1.2-py3-none-any.whl.metadata (3.5 kB) Collecting libsass==0.22.0 (from -r docs/sphinx/requirements.txt (line 60)) Downloading libsass-0.22.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (4.6 kB) Collecting lxml==4.9.3 (from -r docs/sphinx/requirements.txt (line 62)) Downloading lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (3.8 kB) Collecting markdown-it-py==2.2.0 (from -r docs/sphinx/requirements.txt (line 64)) Downloading markdown_it_py-2.2.0-py3-none-any.whl.metadata (6.8 kB) Collecting markupsafe==2.1.2 (from -r docs/sphinx/requirements.txt (line 68)) Downloading MarkupSafe-2.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB) Collecting mdit-py-plugins==0.3.5 (from -r docs/sphinx/requirements.txt (line 70)) Downloading mdit_py_plugins-0.3.5-py3-none-any.whl.metadata (2.8 kB) Collecting mdurl==0.1.2 (from -r docs/sphinx/requirements.txt (line 72)) Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) Collecting mpire==2.8.0 (from -r docs/sphinx/requirements.txt (line 74)) Downloading mpire-2.8.0-py3-none-any.whl.metadata (14 kB) Collecting myst-parser==1.0.0 (from -r docs/sphinx/requirements.txt (line 76)) Downloading myst_parser-1.0.0-py3-none-any.whl.metadata (5.5 kB) Collecting packaging==23.0 (from -r docs/sphinx/requirements.txt (line 78)) Downloading packaging-23.0-py3-none-any.whl.metadata (3.1 kB) Collecting pycparser==2.21 (from -r docs/sphinx/requirements.txt (line 82)) Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB) Collecting pydata-sphinx-theme==0.13.3 (from -r docs/sphinx/requirements.txt (line 84)) Downloading pydata_sphinx_theme-0.13.3-py3-none-any.whl.metadata (6.8 kB) Collecting pygithub==1.58.1 (from -r docs/sphinx/requirements.txt (line 88)) Downloading PyGithub-1.58.1-py3-none-any.whl.metadata (1.8 kB) Collecting pygments==2.14.0 (from -r docs/sphinx/requirements.txt (line 90)) Downloading Pygments-2.14.0-py3-none-any.whl.metadata (1.6 kB) Collecting pyjson5==1.6.4 (from -r docs/sphinx/requirements.txt (line 96)) Downloading pyjson5-1.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting pyjwt==2.6.0 (from pyjwt[crypto]==2.6.0->-r docs/sphinx/requirements.txt (line 98)) Downloading PyJWT-2.6.0-py3-none-any.whl.metadata (4.0 kB) Collecting pynacl==1.5.0 (from -r docs/sphinx/requirements.txt (line 100)) Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (8.6 kB) Collecting pyparsing==3.1.1 (from -r docs/sphinx/requirements.txt (line 102)) Downloading pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB) Collecting pyyaml==6.0 (from -r docs/sphinx/requirements.txt (line 104)) Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (2.0 kB) Collecting requests==2.28.2 (from -r docs/sphinx/requirements.txt (line 109)) Downloading requests-2.28.2-py3-none-any.whl.metadata (4.6 kB) Collecting rocm-docs-core==1.5.0 (from rocm-docs-core[api-reference]==1.5.0->-r docs/sphinx/requirements.txt (line 113)) Downloading rocm_docs_core-1.5.0-py3-none-any.whl.metadata (4.0 kB) Collecting smmap==5.0.0 (from -r docs/sphinx/requirements.txt (line 115)) Downloading smmap-5.0.0-py3-none-any.whl.metadata (4.2 kB) Requirement already satisfied: snowballstemmer==2.2.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/envs/develop/lib/python3.10/site-packages (from -r docs/sphinx/requirements.txt (line 117)) (2.2.0) Collecting soupsieve==2.4 (from -r docs/sphinx/requirements.txt (line 119)) Downloading soupsieve-2.4-py3-none-any.whl.metadata (5.8 kB) Collecting sphinx==5.3.0 (from -r docs/sphinx/requirements.txt (line 121)) Downloading sphinx-5.3.0-py3-none-any.whl.metadata (6.4 kB) Collecting sphinx-book-theme==1.0.1 (from -r docs/sphinx/requirements.txt (line 132)) Downloading sphinx_book_theme-1.0.1-py3-none-any.whl.metadata (5.8 kB) Collecting sphinx-copybutton==0.5.1 (from -r docs/sphinx/requirements.txt (line 134)) Downloading sphinx_copybutton-0.5.1-py3-none-any.whl.metadata (3.2 kB) Collecting sphinx-design==0.4.1 (from -r docs/sphinx/requirements.txt (line 136)) Downloading sphinx_design-0.4.1-py3-none-any.whl.metadata (5.2 kB) Collecting sphinx-external-toc==0.3.1 (from -r docs/sphinx/requirements.txt (line 138)) Downloading sphinx_external_toc-0.3.1-py3-none-any.whl.metadata (15 kB) Collecting sphinx-notfound-page==0.8.3 (from -r docs/sphinx/requirements.txt (line 140)) Downloading sphinx_notfound_page-0.8.3-py2.py3-none-any.whl.metadata (2.7 kB) Collecting sphinxcontrib-applehelp==1.0.4 (from -r docs/sphinx/requirements.txt (line 142)) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl.metadata (2.7 kB) Collecting sphinxcontrib-devhelp==1.0.2 (from -r docs/sphinx/requirements.txt (line 144)) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl.metadata (1.4 kB) Collecting sphinxcontrib-htmlhelp==2.0.1 (from -r docs/sphinx/requirements.txt (line 146)) Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl.metadata (2.8 kB) Requirement already satisfied: sphinxcontrib-jsmath==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/envs/develop/lib/python3.10/site-packages (from -r docs/sphinx/requirements.txt (line 148)) (1.0.1) Collecting sphinxcontrib-qthelp==1.0.3 (from -r docs/sphinx/requirements.txt (line 150)) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl.metadata (1.4 kB) Collecting sphinxcontrib-serializinghtml==1.1.5 (from -r docs/sphinx/requirements.txt (line 152)) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting tqdm==4.66.1 (from -r docs/sphinx/requirements.txt (line 154)) Downloading tqdm-4.66.1-py3-none-any.whl.metadata (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 104.3 MB/s eta 0:00:00 Collecting typing-extensions==4.5.0 (from -r docs/sphinx/requirements.txt (line 156)) Downloading typing_extensions-4.5.0-py3-none-any.whl.metadata (8.5 kB) Collecting urllib3==1.26.15 (from -r docs/sphinx/requirements.txt (line 158)) Downloading urllib3-1.26.15-py2.py3-none-any.whl.metadata (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 205.4 MB/s eta 0:00:00 Collecting wrapt==1.15.0 (from -r docs/sphinx/requirements.txt (line 160)) Downloading wrapt-1.15.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB) Downloading accessible_pygments-0.0.3-py2.py3-none-any.whl (30 kB) Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 138.6 MB/s eta 0:00:00 Downloading beautifulsoup4-4.11.2-py3-none-any.whl (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.4/129.4 kB 263.4 MB/s eta 0:00:00 Downloading breathe-4.34.0-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.8/92.8 kB 221.1 MB/s eta 0:00:00 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 263.7 MB/s eta 0:00:00 Downloading cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.8/441.8 kB 279.2 MB/s eta 0:00:00 Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.3/199.3 kB 272.7 MB/s eta 0:00:00 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 260.3 MB/s eta 0:00:00 Downloading click_log-0.4.0-py2.py3-none-any.whl (4.3 kB) Downloading cryptography-40.0.2-cp36-abi3-manylinux_2_28_x86_64.whl (3.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 216.3 MB/s eta 0:00:00 Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 283.1 MB/s eta 0:00:00 Downloading doxysphinx-3.3.7-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 226.3 MB/s eta 0:00:00 Downloading fastjsonschema-2.16.3-py3-none-any.whl (23 kB) Downloading gitdb-4.0.10-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 237.3 MB/s eta 0:00:00 Downloading GitPython-3.1.31-py3-none-any.whl (184 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.3/184.3 kB 266.8 MB/s eta 0:00:00 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 234.2 MB/s eta 0:00:00 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 249.3 MB/s eta 0:00:00 Downloading libsass-0.22.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (9.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.4/9.4 MB 208.8 MB/s eta 0:00:00 Downloading lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl (7.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 209.4 MB/s eta 0:00:00 Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 246.4 MB/s eta 0:00:00 Downloading MarkupSafe-2.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Downloading mdit_py_plugins-0.3.5-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.1/52.1 kB 220.0 MB/s eta 0:00:00 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Downloading mpire-2.8.0-py3-none-any.whl (302 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.1/302.1 kB 266.6 MB/s eta 0:00:00 Downloading myst_parser-1.0.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.3/77.3 kB 251.6 MB/s eta 0:00:00 Downloading packaging-23.0-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 219.4 MB/s eta 0:00:00 Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 244.0 MB/s eta 0:00:00 Downloading pydata_sphinx_theme-0.13.3-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 244.1 MB/s eta 0:00:00 Downloading PyGithub-1.58.1-py3-none-any.whl (312 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 312.5/312.5 kB 279.6 MB/s eta 0:00:00 Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 279.9 MB/s eta 0:00:00 Downloading pyjson5-1.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (361 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 361.6/361.6 kB 271.7 MB/s eta 0:00:00 Downloading PyJWT-2.6.0-py3-none-any.whl (20 kB) 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 286.8 MB/s eta 0:00:00 Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 kB 262.0 MB/s eta 0:00:00 Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 280.2 MB/s eta 0:00:00 Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 231.3 MB/s eta 0:00:00 Downloading rocm_docs_core-1.5.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 258.9 MB/s eta 0:00:00 Downloading smmap-5.0.0-py3-none-any.whl (24 kB) Downloading soupsieve-2.4-py3-none-any.whl (37 kB) Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 224.0 MB/s eta 0:00:00 Downloading sphinx_book_theme-1.0.1-py3-none-any.whl (396 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 396.9/396.9 kB 280.7 MB/s eta 0:00:00 Downloading sphinx_copybutton-0.5.1-py3-none-any.whl (13 kB) Downloading sphinx_design-0.4.1-py3-none-any.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 248.0 MB/s eta 0:00:00 Downloading sphinx_external_toc-0.3.1-py3-none-any.whl (26 kB) Downloading sphinx_notfound_page-0.8.3-py2.py3-none-any.whl (8.5 kB) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.6/120.6 kB 241.3 MB/s eta 0:00:00 Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 249.8 MB/s eta 0:00:00 Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.8/99.8 kB 250.5 MB/s eta 0:00:00 Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 224.1 MB/s eta 0:00:00 Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 251.8 MB/s eta 0:00:00 Downloading tqdm-4.66.1-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 251.7 MB/s eta 0:00:00 Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 267.8 MB/s eta 0:00:00 Downloading wrapt-1.15.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 253.5 MB/s eta 0:00:00 Installing collected packages: fastjsonschema, wrapt, urllib3, typing-extensions, tqdm, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, soupsieve, smmap, pyyaml, pyparsing, pyjwt, pyjson5, pygments, pycparser, packaging, mdurl, markupsafe, lxml, libsass, idna, docutils, click, charset-normalizer, certifi, babel, alabaster, requests, mpire, markdown-it-py, jinja2, gitdb, deprecated, click-log, cffi, beautifulsoup4, accessible-pygments, sphinx, pynacl, mdit-py-plugins, gitpython, doxysphinx, 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: urllib3 Found existing installation: urllib3 2.2.2 Uninstalling urllib3-2.2.2: Successfully uninstalled urllib3-2.2.2 Attempting uninstall: sphinxcontrib-serializinghtml Found existing installation: sphinxcontrib-serializinghtml 1.1.10 Uninstalling sphinxcontrib-serializinghtml-1.1.10: Successfully uninstalled sphinxcontrib-serializinghtml-1.1.10 Attempting uninstall: sphinxcontrib-qthelp Found existing installation: sphinxcontrib-qthelp 1.0.7 Uninstalling sphinxcontrib-qthelp-1.0.7: Successfully uninstalled sphinxcontrib-qthelp-1.0.7 Attempting uninstall: sphinxcontrib-htmlhelp Found existing installation: sphinxcontrib-htmlhelp 2.0.5 Uninstalling sphinxcontrib-htmlhelp-2.0.5: Successfully uninstalled sphinxcontrib-htmlhelp-2.0.5 Attempting uninstall: sphinxcontrib-devhelp Found existing installation: sphinxcontrib-devhelp 1.0.6 Uninstalling sphinxcontrib-devhelp-1.0.6: Successfully uninstalled sphinxcontrib-devhelp-1.0.6 Attempting uninstall: sphinxcontrib-applehelp Found existing installation: sphinxcontrib-applehelp 1.0.8 Uninstalling sphinxcontrib-applehelp-1.0.8: Successfully uninstalled sphinxcontrib-applehelp-1.0.8 Attempting uninstall: pygments Found existing installation: Pygments 2.18.0 Uninstalling Pygments-2.18.0: Successfully uninstalled Pygments-2.18.0 Attempting uninstall: packaging Found existing installation: packaging 24.1 Uninstalling packaging-24.1: Successfully uninstalled packaging-24.1 Attempting uninstall: markupsafe Found existing installation: MarkupSafe 2.1.5 Uninstalling MarkupSafe-2.1.5: Successfully uninstalled MarkupSafe-2.1.5 Attempting uninstall: idna Found existing installation: idna 3.7 Uninstalling idna-3.7: Successfully uninstalled idna-3.7 Attempting uninstall: docutils Found existing installation: docutils 0.21.2 Uninstalling docutils-0.21.2: Successfully uninstalled docutils-0.21.2 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 2024.7.4 Uninstalling certifi-2024.7.4: Successfully uninstalled certifi-2024.7.4 Attempting uninstall: babel Found existing installation: Babel 2.15.0 Uninstalling Babel-2.15.0: Successfully uninstalled Babel-2.15.0 Attempting uninstall: alabaster Found existing installation: alabaster 0.7.16 Uninstalling alabaster-0.7.16: Successfully uninstalled alabaster-0.7.16 Attempting uninstall: requests Found existing installation: requests 2.32.3 Uninstalling requests-2.32.3: Successfully uninstalled requests-2.32.3 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.1.4 Uninstalling Jinja2-3.1.4: Successfully uninstalled Jinja2-3.1.4 Attempting uninstall: sphinx Found existing installation: Sphinx 7.3.7 Uninstalling Sphinx-7.3.7: Successfully uninstalled Sphinx-7.3.7 Successfully installed accessible-pygments-0.0.3 alabaster-0.7.13 babel-2.12.1 beautifulsoup4-4.11.2 breathe-4.34.0 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-3.1.0 click-8.1.3 click-log-0.4.0 cryptography-40.0.2 deprecated-1.2.13 docutils-0.19 doxysphinx-3.3.7 fastjsonschema-2.16.3 gitdb-4.0.10 gitpython-3.1.31 idna-3.4 jinja2-3.1.2 libsass-0.22.0 lxml-4.9.3 markdown-it-py-2.2.0 markupsafe-2.1.2 mdit-py-plugins-0.3.5 mdurl-0.1.2 mpire-2.8.0 myst-parser-1.0.0 packaging-23.0 pycparser-2.21 pydata-sphinx-theme-0.13.3 pygithub-1.58.1 pygments-2.14.0 pyjson5-1.6.4 pyjwt-2.6.0 pynacl-1.5.0 pyparsing-3.1.1 pyyaml-6.0 requests-2.28.2 rocm-docs-core-1.5.0 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 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 tqdm-4.66.1 typing-extensions-4.5.0 urllib3-1.26.15 wrapt-1.15.0 [rtd-command-info] start-time: 2024-07-10T22:38:18.376563Z, end-time: 2024-07-10T22:38:18.429193Z, duration: 0, exit-code: 0 cat docs/conf.py """ MIT License Copyright (c) 2019 - 2024 Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ # 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 re from rocm_docs import ROCmDocs with open('../CMakeLists.txt', encoding='utf-8') as f: match = re.search(r'.*\bset\(VERSION\s+\"?([0-9.]+)[^0-9.]+', f.read()) if not match: raise ValueError("VERSION not found!") version_number = match[1] left_nav_title = f"RPP {version_number} documentation" # for PDF output on Read the Docs project = "RPP documentation" author = "Advanced Micro Devices, Inc." copyright = "Copyright (c) 2019 - 2024 Advanced Micro Devices, Inc." version = version_number release = version_number external_toc_path = "./sphinx/_toc.yml" docs_core = ROCmDocs(left_nav_title) docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/xml") docs_core.enable_api_reference() docs_core.setup() docs_core.myst_heading_anchors = 6 external_projects_current_project = "rpp" for sphinx_var in ROCmDocs.SPHINX_VARS: globals()[sphinx_var] = getattr(docs_core, sphinx_var) ########################################################################### # 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-6.1.2", "/en/docs-6.1.2/"), ("docs-6.1.1", "/en/docs-6.1.1/"), ("docs-6.1.0", "/en/docs-6.1.0/"), ("docs-6.0.2", "/en/docs-6.0.2/"), ("docs-6.0.0", "/en/docs-6.0.0/"), ("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/"), ("develop", "/en/develop/"), ], 'downloads': [ ("pdf", "//rocm.docs.amd.com/_/downloads/rpp/en/develop/pdf/"), ("html", "//rocm.docs.amd.com/_/downloads/rpp/en/develop/htmlzip/"), ("epub", "//rocm.docs.amd.com/_/downloads/rpp/en/develop/epub/"), ], 'subprojects': [ ], 'slug': 'advanced-micro-devices-rpp', 'name': u'rpp', 'rtd_language': u'en', 'programming_language': u'words', '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': 'rpp', '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': 'ca8dcd5b', } # 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-rpp/builds/2341592/' 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'])