Read the Docs build information Build id: 2072888 Project: advanced-micro-devices-composable-kernel Version: develop Commit: 1837040a9c3253ba51506b7b7d236836b6efaa8d Date: 2024-03-09T01:11:54.175950Z State: cancelled Success: False [rtd-command-info] start-time: 2024-03-09T01:11:55.395824Z, end-time: 2024-03-09T01:11:56.682435Z, duration: 1, exit-code: 0 git clone --depth 1 https://github.com/ROCmSoftwarePlatform/composable_kernel.git . Cloning into '.'... [rtd-command-info] start-time: 2024-03-09T01:11:56.755494Z, end-time: 2024-03-09T01:11:57.552381Z, 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-03-09T01:11:57.684501Z, end-time: 2024-03-09T01:11:57.948058Z, 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 1837040 Navi3 rel (#1176) [rtd-command-info] start-time: 2024-03-09T01:11:58.020239Z, end-time: 2024-03-09T01:11:58.085416Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2024-03-09T01:11:58.149068Z, end-time: 2024-03-09T01:11:58.211609Z, 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.8" [rtd-command-info] start-time: 2024-03-09T01:12:03.251514Z, end-time: 2024-03-09T01:12:03.334700Z, duration: 0, exit-code: 0 asdf global python 3.8.18 [rtd-command-info] start-time: 2024-03-09T01:12:03.752567Z, end-time: 2024-03-09T01:12:04.962055Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.8.18.final.0-64 in 882ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/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-03-09T01:12:05.036988Z, end-time: 2024-03-09T01:12:14.616449Z, duration: 9, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (23.1) Collecting pip Downloading pip-24.0-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 8.2 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (67.6.1) Collecting setuptools Downloading setuptools-69.1.1-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.3/819.3 kB 16.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.0 setuptools-69.1.1 [rtd-command-info] start-time: 2024-03-09T01:12:14.685595Z, end-time: 2024-03-09T01:12:22.337605Z, duration: 7, 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.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl.metadata (2.7 kB) Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl.metadata (1.4 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.1-py3-none-any.whl.metadata (2.8 kB) Collecting sphinxcontrib-serializinghtml>=1.1.5 (from sphinx) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl.metadata (1.4 kB) Collecting Jinja2>=3.0 (from sphinx) Downloading Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB) 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.metadata (6.5 kB) 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.metadata (3.0 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.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.2-py3-none-any.whl.metadata (4.6 kB) Collecting pytz>=2015.7 (from babel>=2.9->sphinx) Downloading pytz-2024.1-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.5-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.2.1-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx) Downloading certifi-2024.2.2-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 82.4 MB/s eta 0:00:00 Downloading readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl (11 kB) Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 161.2 MB/s eta 0:00:00 Downloading docutils-0.20.1-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 162.8 MB/s eta 0:00:00 Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Downloading importlib_metadata-7.0.2-py3-none-any.whl (24 kB) Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 kB 163.5 MB/s eta 0:00:00 Downloading packaging-23.2-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 192.6 MB/s eta 0:00:00 Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 257.9 MB/s eta 0:00:00 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 204.6 MB/s eta 0:00:00 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 226.1 MB/s eta 0:00:00 Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.8/99.8 kB 229.5 MB/s eta 0:00:00 Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 228.8 MB/s eta 0:00:00 Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.6/120.6 kB 229.7 MB/s eta 0:00:00 Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 218.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.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 193.0 MB/s eta 0:00:00 Downloading certifi-2024.2.2-py3-none-any.whl (163 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 241.3 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 233.9 MB/s eta 0:00:00 Downloading idna-3.6-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 174.0 MB/s eta 0:00:00 Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB) Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 259.5 MB/s eta 0:00:00 Downloading urllib3-2.2.1-py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 231.2 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.3 MarkupSafe-2.1.5 Pygments-2.17.2 alabaster-0.7.13 babel-2.14.0 certifi-2024.2.2 charset-normalizer-3.3.2 docutils-0.20.1 idna-3.6 imagesize-1.4.1 importlib-metadata-7.0.2 packaging-23.2 pytz-2024.1 readthedocs-sphinx-ext-2.2.5 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.2.1 zipp-3.17.0 [rtd-command-info] start-time: 2024-03-09T01:12:22.417994Z, end-time: 2024-03-09T01:12:34.750589Z, duration: 12, 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) Requirement already satisfied: alabaster==0.7.13 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 9)) (0.7.13) 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==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.metadata (1.1 kB) Collecting charset-normalizer==3.1.0 (from -r docs/sphinx/requirements.txt (line 25)) Downloading charset_normalizer-3.1.0-cp38-cp38-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 cryptography==41.0.6 (from -r docs/sphinx/requirements.txt (line 29)) Downloading cryptography-41.0.6-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.metadata (5.8 kB) Collecting docutils==0.16 (from -r docs/sphinx/requirements.txt (line 33)) Downloading docutils-0.16-py2.py3-none-any.whl.metadata (2.7 kB) Collecting fastjsonschema==2.18.0 (from -r docs/sphinx/requirements.txt (line 41)) Downloading fastjsonschema-2.18.0-py3-none-any.whl.metadata (2.0 kB) Collecting gitdb==4.0.10 (from -r docs/sphinx/requirements.txt (line 43)) Downloading gitdb-4.0.10-py3-none-any.whl.metadata (1.1 kB) Collecting gitpython==3.1.37 (from -r docs/sphinx/requirements.txt (line 45)) Downloading GitPython-3.1.37-py3-none-any.whl.metadata (12 kB) Collecting idna==3.4 (from -r docs/sphinx/requirements.txt (line 47)) 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-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 49)) (1.4.1) Collecting importlib-metadata==6.8.0 (from -r docs/sphinx/requirements.txt (line 51)) Downloading importlib_metadata-6.8.0-py3-none-any.whl.metadata (5.1 kB) Collecting importlib-resources==6.1.0 (from -r docs/sphinx/requirements.txt (line 55)) Downloading importlib_resources-6.1.0-py3-none-any.whl.metadata (4.1 kB) Collecting jinja2==3.1.2 (from -r docs/sphinx/requirements.txt (line 57)) Downloading Jinja2-3.1.2-py3-none-any.whl.metadata (3.5 kB) Collecting latexcodec==2.0.1 (from -r docs/sphinx/requirements.txt (line 61)) Downloading latexcodec-2.0.1-py2.py3-none-any.whl.metadata (4.7 kB) Collecting markdown-it-py==2.2.0 (from -r docs/sphinx/requirements.txt (line 63)) 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 67)) Downloading MarkupSafe-2.1.2-cp38-cp38-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 69)) 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 71)) Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) Collecting myst-parser==1.0.0 (from -r docs/sphinx/requirements.txt (line 73)) 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 75)) Downloading packaging-23.0-py3-none-any.whl.metadata (3.1 kB) Collecting pybtex==0.24.0 (from -r docs/sphinx/requirements.txt (line 79)) Downloading pybtex-0.24.0-py2.py3-none-any.whl.metadata (2.0 kB) Collecting pybtex-docutils==1.0.2 (from -r docs/sphinx/requirements.txt (line 83)) Downloading pybtex_docutils-1.0.2-py3-none-any.whl.metadata (4.2 kB) Collecting pycparser==2.21 (from -r docs/sphinx/requirements.txt (line 85)) 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 87)) 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 91)) Downloading PyGithub-1.58.1-py3-none-any.whl.metadata (1.8 kB) Collecting pygments==2.15.0 (from -r docs/sphinx/requirements.txt (line 93)) Downloading Pygments-2.15.0-py3-none-any.whl.metadata (2.5 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 102)) 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 pytz==2023.3.post1 (from -r docs/sphinx/requirements.txt (line 104)) Downloading pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 kB) Collecting pyyaml==6.0 (from -r docs/sphinx/requirements.txt (line 106)) Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (2.0 kB) Requirement already satisfied: requests==2.31.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 112)) (2.31.0) Collecting rocm-docs-core==0.35.1 (from -r docs/sphinx/requirements.txt (line 116)) Downloading rocm_docs_core-0.35.1-py3-none-any.whl.metadata (4.1 kB) Collecting six==1.16.0 (from -r docs/sphinx/requirements.txt (line 118)) Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting smmap==5.0.0 (from -r docs/sphinx/requirements.txt (line 122)) 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-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 124)) (2.2.0) Collecting soupsieve==2.4 (from -r docs/sphinx/requirements.txt (line 126)) Downloading soupsieve-2.4-py3-none-any.whl.metadata (5.8 kB) Collecting sphinx==5.3.0 (from -r docs/sphinx/requirements.txt (line 128)) 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 140)) 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 142)) 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 144)) 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 146)) 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 148)) Downloading sphinx_notfound_page-0.8.3-py2.py3-none-any.whl.metadata (2.7 kB) Requirement already satisfied: sphinxcontrib-applehelp==1.0.4 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 150)) (1.0.4) Collecting sphinxcontrib-bibtex==2.6.2 (from -r docs/sphinx/requirements.txt (line 152)) Downloading sphinxcontrib_bibtex-2.6.2-py3-none-any.whl.metadata (6.1 kB) Requirement already satisfied: sphinxcontrib-devhelp==1.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 154)) (1.0.2) Requirement already satisfied: sphinxcontrib-htmlhelp==2.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 156)) (2.0.1) Requirement already satisfied: sphinxcontrib-jsmath==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 158)) (1.0.1) Requirement already satisfied: sphinxcontrib-qthelp==1.0.3 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 160)) (1.0.3) Requirement already satisfied: sphinxcontrib-serializinghtml==1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 162)) (1.1.5) Collecting typing-extensions==4.5.0 (from -r docs/sphinx/requirements.txt (line 164)) Downloading typing_extensions-4.5.0-py3-none-any.whl.metadata (8.5 kB) Collecting urllib3==1.26.18 (from -r docs/sphinx/requirements.txt (line 166)) Downloading urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 184.2 MB/s eta 0:00:00 Collecting wrapt==1.15.0 (from -r docs/sphinx/requirements.txt (line 168)) Downloading wrapt-1.15.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB) Requirement already satisfied: zipp==3.17.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/envs/develop/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 170)) (3.17.0) Downloading accessible_pygments-0.0.3-py2.py3-none-any.whl (30 kB) Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 77.5 MB/s eta 0:00:00 Downloading beautifulsoup4-4.11.2-py3-none-any.whl (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.4/129.4 kB 197.7 MB/s eta 0:00:00 Downloading breathe-4.34.0-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.8/92.8 kB 192.5 MB/s eta 0:00:00 Downloading certifi-2023.7.22-py3-none-any.whl (158 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 232.9 MB/s eta 0:00:00 Downloading cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (442 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 442.7/442.7 kB 252.0 MB/s eta 0:00:00 Downloading charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.9/195.9 kB 244.2 MB/s eta 0:00:00 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 198.0 MB/s eta 0:00:00 Downloading cryptography-41.0.6-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 219.4 MB/s eta 0:00:00 Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 548.2/548.2 kB 257.2 MB/s eta 0:00:00 Downloading fastjsonschema-2.18.0-py3-none-any.whl (23 kB) Downloading gitdb-4.0.10-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 207.3 MB/s eta 0:00:00 Downloading GitPython-3.1.37-py3-none-any.whl (190 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 190.0/190.0 kB 240.5 MB/s eta 0:00:00 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 185.6 MB/s eta 0:00:00 Downloading importlib_metadata-6.8.0-py3-none-any.whl (22 kB) Downloading importlib_resources-6.1.0-py3-none-any.whl (33 kB) Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 239.2 MB/s eta 0:00:00 Downloading latexcodec-2.0.1-py2.py3-none-any.whl (18 kB) Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 220.6 MB/s eta 0:00:00 Downloading MarkupSafe-2.1.2-cp38-cp38-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 176.0 MB/s eta 0:00:00 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Downloading myst_parser-1.0.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.3/77.3 kB 217.4 MB/s eta 0:00:00 Downloading packaging-23.0-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 kB 180.2 MB/s eta 0:00:00 Downloading pybtex-0.24.0-py2.py3-none-any.whl (561 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.4/561.4 kB 257.2 MB/s eta 0:00:00 Downloading pybtex_docutils-1.0.2-py3-none-any.whl (6.3 kB) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 208.4 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 172.6 MB/s eta 0:00:00 Downloading PyGithub-1.58.1-py3-none-any.whl (312 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 312.5/312.5 kB 234.6 MB/s eta 0:00:00 Downloading Pygments-2.15.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 219.5 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 260.1 MB/s eta 0:00:00 Downloading pytz-2023.3.post1-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.5/502.5 kB 257.7 MB/s eta 0:00:00 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 248.1 MB/s eta 0:00:00 Downloading rocm_docs_core-0.35.1-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 240.9 MB/s eta 0:00:00 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) 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 183.7 MB/s eta 0:00:00 Downloading sphinx_book_theme-1.0.1-py3-none-any.whl (396 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 396.9/396.9 kB 254.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 228.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_bibtex-2.6.2-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.0/41.0 kB 195.2 MB/s eta 0:00:00 Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Downloading urllib3-1.26.18-py2.py3-none-any.whl (143 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.8/143.8 kB 237.6 MB/s eta 0:00:00 Downloading wrapt-1.15.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.5/81.5 kB 225.3 MB/s eta 0:00:00 Installing collected packages: pytz, fastjsonschema, wrapt, urllib3, typing-extensions, soupsieve, smmap, six, pyyaml, pyjwt, pygments, pycparser, packaging, mdurl, markupsafe, importlib-resources, importlib-metadata, idna, docutils, click, charset-normalizer, certifi, babel, markdown-it-py, latexcodec, jinja2, gitdb, deprecated, cffi, beautifulsoup4, accessible-pygments, sphinx, pynacl, pybtex, mdit-py-plugins, gitpython, cryptography, sphinx-notfound-page, sphinx-external-toc, sphinx-design, sphinx-copybutton, pydata-sphinx-theme, pybtex-docutils, myst-parser, breathe, sphinxcontrib-bibtex, sphinx-book-theme, pygithub, rocm-docs-core Attempting uninstall: pytz Found existing installation: pytz 2024.1 Uninstalling pytz-2024.1: Successfully uninstalled pytz-2024.1 Attempting uninstall: urllib3 Found existing installation: urllib3 2.2.1 Uninstalling urllib3-2.2.1: Successfully uninstalled urllib3-2.2.1 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.5 Uninstalling MarkupSafe-2.1.5: Successfully uninstalled MarkupSafe-2.1.5 Attempting uninstall: importlib-metadata Found existing installation: importlib_metadata 7.0.2 Uninstalling importlib_metadata-7.0.2: Successfully uninstalled importlib_metadata-7.0.2 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 2024.2.2 Uninstalling certifi-2024.2.2: Successfully uninstalled certifi-2024.2.2 Attempting uninstall: babel Found existing installation: Babel 2.14.0 Uninstalling Babel-2.14.0: Successfully uninstalled Babel-2.14.0 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.1.3 Uninstalling Jinja2-3.1.3: Successfully uninstalled Jinja2-3.1.3 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.12.1 beautifulsoup4-4.11.2 breathe-4.34.0 certifi-2023.7.22 cffi-1.15.1 charset-normalizer-3.1.0 click-8.1.3 cryptography-41.0.6 deprecated-1.2.13 docutils-0.16 fastjsonschema-2.18.0 gitdb-4.0.10 gitpython-3.1.37 idna-3.4 importlib-metadata-6.8.0 importlib-resources-6.1.0 jinja2-3.1.2 latexcodec-2.0.1 markdown-it-py-2.2.0 markupsafe-2.1.2 mdit-py-plugins-0.3.5 mdurl-0.1.2 myst-parser-1.0.0 packaging-23.0 pybtex-0.24.0 pybtex-docutils-1.0.2 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-2023.3.post1 pyyaml-6.0 rocm-docs-core-0.35.1 six-1.16.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-bibtex-2.6.2 typing-extensions-4.5.0 urllib3-1.26.18 wrapt-1.15.0 [rtd-command-info] start-time: 2024-03-09T01:12:35.504994Z, end-time: 2024-03-09T01:12:35.564058Z, 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 re from rocm_docs import ROCmDocs html_theme_options = {"flavor": "list"} with open('../CMakeLists.txt', encoding='utf-8') as f: match = re.search(r'.*set\(version ([0-9.]+)[^0-9.]+', f.read()) if not match: raise ValueError("VERSION not found!") version_number = match[1] left_nav_title = f"Composable Kernel {version_number} Documentation" # for PDF output on Read the Docs project = "Composable Kernel Documentation" author = "Advanced Micro Devices, Inc." copyright = "Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved." 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.setup() external_projects_current_project = "composable_kernel" mathjax3_config = { 'tex': { 'macros': { 'diag': '\\operatorname{diag}', } } } for sphinx_var in ROCmDocs.SPHINX_VARS: globals()[sphinx_var] = getattr(docs_core, sphinx_var) extensions += ['sphinxcontrib.bibtex'] bibtex_bibfiles = ['refs.bib'] ########################################################################### # 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.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/composable_kernel/en/develop/pdf/"), ("html", "//rocm.docs.amd.com/_/downloads/composable_kernel/en/develop/htmlzip/"), ("epub", "//rocm.docs.amd.com/_/downloads/composable_kernel/en/develop/epub/"), ], 'subprojects': [ ], 'slug': 'advanced-micro-devices-composable-kernel', 'name': u'composable_kernel', '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': 'ROCmSoftwarePlatform', 'proxied_api_host': '/_', 'github_repo': 'composable_kernel', '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': '1837040a', } # 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-composable-kernel/builds/2072888/' 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'])