zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Win10/Ubuntu20.04编译ros2_documentation-foxy过程

2023-03-31 10:33:24 时间
  • pip3 install sphinx sphinx-tabs -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
  • make html
  • mingw32-make html

windows查看文档效果:

未直接解决,切换到linux编译后使用。

编译后:

linux查看文档效果:

windows过程记录:

**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.9.3
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************

C:
os_ws>
C:
os_ws>
C:
os_ws>
C:
os_ws>
C:
os_ws>
C:
os_ws>pip3 install sphinx sphinx-tabs -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Collecting sphinx
  Downloading http://mirrors.aliyun.com/pypi/packages/11/75/86ea47591cd6f8e1dc0d795f65799025f368f7a4647ce9a43320a62374d8/Sphinx-4.1.2-py3-none-any.whl (2.9 MB)
     |████████████████████████████████| 2.9 MB 1.3 MB/s
Collecting sphinx-tabs
  Downloading http://mirrors.aliyun.com/pypi/packages/15/be/4fa8ecfb7a9ba5e8d5aa6e27351faaf5f20c9066652064e473a853431916/sphinx_tabs-3.2.0-py3-none-any.whl (9.8 kB)
Collecting sphinxcontrib-jsmath
  Downloading http://mirrors.aliyun.com/pypi/packages/c2/42/4c8646762ee83602e3fb3fbe774c2fac12f317deb0b5dbeeedd2d3ba4b77/sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
  Downloading http://mirrors.aliyun.com/pypi/packages/63/40/c854ef09500e25f6432dcbad0f37df87fd7046d376272292d8654cc71c95/sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
     |████████████████████████████████| 100 kB 2.2 MB/s
Collecting alabaster<0.8,>=0.7
  Downloading http://mirrors.aliyun.com/pypi/packages/10/ad/00b090d23a222943eb0eda509720a404f531a439e803f6538f35136cae9e/alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting sphinxcontrib-qthelp
  Downloading http://mirrors.aliyun.com/pypi/packages/2b/14/05f9206cf4e9cfca1afb5fd224c7cd434dcc3a433d6d9e4e0264d29c6cdb/sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
     |████████████████████████████████| 90 kB 1.8 MB/s
Requirement already satisfied: docutils<0.18,>=0.14 in c:opt
osfoxyx64libsite-packages (from sphinx) (0.16)
Collecting sphinxcontrib-applehelp
  Downloading http://mirrors.aliyun.com/pypi/packages/dc/47/86022665a9433d89a66f5911b558ddff69861766807ba685de2e324bd6ed/sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
     |████████████████████████████████| 121 kB 1.6 MB/s
Requirement already satisfied: snowballstemmer>=1.1 in c:opt
osfoxyx64libsite-packages (from sphinx) (2.0.0)
Collecting requests>=2.5.0
  Downloading http://mirrors.aliyun.com/pypi/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62 kB)
     |████████████████████████████████| 62 kB 2.3 MB/s
Requirement already satisfied: setuptools in c:opt
osfoxyx64libsite-packages (from sphinx) (50.3.0)
Requirement already satisfied: colorama>=0.3.5; sys_platform == "win32" in c:opt
osfoxyx64libsite-packages (from sphinx) (0.4.3)
Collecting sphinxcontrib-serializinghtml>=1.1.5
  Downloading http://mirrors.aliyun.com/pypi/packages/c6/77/5464ec50dd0f1c1037e3c93249b040c8fc8078fdda97530eeb02424b6eea/sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
     |████████████████████████████████| 94 kB 2.2 MB/s
Collecting sphinxcontrib-devhelp
  Downloading http://mirrors.aliyun.com/pypi/packages/c5/09/5de5ed43a521387f18bdf5f5af31d099605c992fd25372b2b9b825ce48ee/sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
     |████████████████████████████████| 84 kB 3.0 MB/s
Collecting imagesize
  Downloading http://mirrors.aliyun.com/pypi/packages/31/b2/b5522a0c8d11e4aff83f8342f3f0dea68c2fb25aa44403e420587f0ce204/imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB)
Requirement already satisfied: packaging in c:opt
osfoxyx64libsite-packages (from sphinx) (20.4)
Collecting babel>=1.3
  Downloading http://mirrors.aliyun.com/pypi/packages/aa/96/4ba93c5f40459dc850d25f9ba93f869a623e77aaecc7a9344e19c01942cf/Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
     |████████████████████████████████| 8.8 MB 2.2 MB/s
Collecting Pygments>=2.0
  Downloading http://mirrors.aliyun.com/pypi/packages/78/c8/8d9be2f72d8f465461f22b5f199c04f7ada933add4dae6e2468133c17471/Pygments-2.10.0-py3-none-any.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 2.2 MB/s
Collecting Jinja2>=2.3
  Downloading http://mirrors.aliyun.com/pypi/packages/80/21/ae597efc7ed8caaa43fb35062288baaf99a7d43ff0cf66452ddf47604ee6/Jinja2-3.0.1-py3-none-any.whl (133 kB)
     |████████████████████████████████| 133 kB 3.3 MB/s
Collecting urllib3<1.27,>=1.21.1
  Downloading http://mirrors.aliyun.com/pypi/packages/5f/64/43575537846896abac0b15c3e5ac678d787a4021e906703f1766bfb8ea11/urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
     |████████████████████████████████| 138 kB 3.3 MB/s
Collecting idna<4,>=2.5; python_version >= "3"
  Downloading http://mirrors.aliyun.com/pypi/packages/d7/77/ff688d1504cdc4db2a938e2b7b9adee5dd52e34efbd2431051efc9984de9/idna-3.2-py3-none-any.whl (59 kB)
     |████████████████████████████████| 59 kB 4.1 MB/s
Collecting charset-normalizer~=2.0.0; python_version >= "3"
  Downloading http://mirrors.aliyun.com/pypi/packages/33/53/b7f6126a2b9fd878b025fe3c40266cfaad696f312165008ce045bffa3fe7/charset_normalizer-2.0.4-py3-none-any.whl (36 kB)
Collecting certifi>=2017.4.17
  Downloading http://mirrors.aliyun.com/pypi/packages/05/1b/0a0dece0e8aa492a6ec9e4ad2fe366b511558cdc73fd3abc82ba7348e875/certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
     |████████████████████████████████| 145 kB 2.2 MB/s
Requirement already satisfied: pyparsing>=2.0.2 in c:opt
osfoxyx64libsite-packages (from packaging->sphinx) (2.4.7)
Requirement already satisfied: six in c:opt
osfoxyx64libsite-packages (from packaging->sphinx) (1.15.0)
Collecting pytz>=2015.7
  Downloading http://mirrors.aliyun.com/pypi/packages/70/94/784178ca5dd892a98f113cdd923372024dc04b8d40abe77ca76b5fb90ca6/pytz-2021.1-py2.py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 3.3 MB/s
Collecting MarkupSafe>=2.0
  Downloading http://mirrors.aliyun.com/pypi/packages/30/9e/4b7116f464a0151b86ce42b5185941eb74c207b38fe033f71f5e5d150356/MarkupSafe-2.0.1-cp38-cp38-win_amd64.whl (14 kB)
Installing collected packages: sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, alabaster, sphinxcontrib-qthelp, sphinxcontrib-applehelp, urllib3, idna, charset-normalizer, certifi, requests, sphinxcontrib-serializinghtml, sphinxcontrib-devhelp, imagesize, pytz, babel, Pygments, MarkupSafe, Jinja2, sphinx, sphinx-tabs
Successfully installed Jinja2-3.0.1 MarkupSafe-2.0.1 Pygments-2.10.0 alabaster-0.7.12 babel-2.9.1 certifi-2021.5.30 charset-normalizer-2.0.4 idna-3.2 imagesize-1.2.0 pytz-2021.1 requests-2.26.0 sphinx-4.1.2 sphinx-tabs-3.2.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-1.26.6
WARNING: You are using pip version 20.2.3; however, version 21.2.4 is available.
You should consider upgrading via the 'c:opt
osfoxyx64python.exe -m pip install --upgrade pip' command.

C:
os_ws>cd ros2_documentation-foxy

C:
os_ws
os2_documentation-foxy>make html
'make' is not recognized as an internal or external command,
operable program or batch file.

C:
os_ws
os2_documentation-foxy>mingw32-make html
'mingw32-make' is not recognized as an internal or external command,
operable program or batch file.

C:
os_ws
os2_documentation-foxy>mingw32-make html
Makefile:13: recipe for target 'html' failed
mingw32-make: *** [html] Error 9009

C:
os_ws
os2_documentation-foxy>mingw32-make html
Makefile:13: recipe for target 'html' failed
mingw32-make: *** [html] Error 9009

C:
os_ws
os2_documentation-foxy>

ubuntu20.04

zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ pip3 install sphinx sphinx-tabs -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Collecting sphinx
  Downloading http://mirrors.aliyun.com/pypi/packages/11/75/86ea47591cd6f8e1dc0d795f65799025f368f7a4647ce9a43320a62374d8/Sphinx-4.1.2-py3-none-any.whl (2.9 MB)
     |████████████████████████████████| 2.9 MB 5.0 MB/s 
Collecting sphinx-tabs
  Downloading http://mirrors.aliyun.com/pypi/packages/15/be/4fa8ecfb7a9ba5e8d5aa6e27351faaf5f20c9066652064e473a853431916/sphinx_tabs-3.2.0-py3-none-any.whl (9.8 kB)
Collecting sphinxcontrib-jsmath
  Downloading http://mirrors.aliyun.com/pypi/packages/c2/42/4c8646762ee83602e3fb3fbe774c2fac12f317deb0b5dbeeedd2d3ba4b77/sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting Jinja2>=2.3
  Downloading http://mirrors.aliyun.com/pypi/packages/80/21/ae597efc7ed8caaa43fb35062288baaf99a7d43ff0cf66452ddf47604ee6/Jinja2-3.0.1-py3-none-any.whl (133 kB)
     |████████████████████████████████| 133 kB 5.4 MB/s 
Collecting sphinxcontrib-serializinghtml>=1.1.5
  Downloading http://mirrors.aliyun.com/pypi/packages/c6/77/5464ec50dd0f1c1037e3c93249b040c8fc8078fdda97530eeb02424b6eea/sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
     |████████████████████████████████| 94 kB 4.2 MB/s 
Collecting imagesize
  Downloading http://mirrors.aliyun.com/pypi/packages/31/b2/b5522a0c8d11e4aff83f8342f3f0dea68c2fb25aa44403e420587f0ce204/imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB)
Requirement already satisfied: requests>=2.5.0 in /usr/lib/python3/dist-packages (from sphinx) (2.22.0)
Collecting snowballstemmer>=1.1
  Downloading http://mirrors.aliyun.com/pypi/packages/f6/6e/7e07970c90a57c21da92013c5ba47f8e9598c17e88cc35b008ca61225ed3/snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB)
     |████████████████████████████████| 93 kB 4.6 MB/s 
Collecting alabaster<0.8,>=0.7
  Downloading http://mirrors.aliyun.com/pypi/packages/10/ad/00b090d23a222943eb0eda509720a404f531a439e803f6538f35136cae9e/alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx) (45.2.0)
Collecting sphinxcontrib-applehelp
  Downloading http://mirrors.aliyun.com/pypi/packages/dc/47/86022665a9433d89a66f5911b558ddff69861766807ba685de2e324bd6ed/sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
     |████████████████████████████████| 121 kB 252 kB/s 
Collecting sphinxcontrib-qthelp
  Downloading http://mirrors.aliyun.com/pypi/packages/2b/14/05f9206cf4e9cfca1afb5fd224c7cd434dcc3a433d6d9e4e0264d29c6cdb/sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
     |████████████████████████████████| 90 kB 3.2 MB/s 
Collecting docutils<0.18,>=0.14
  Downloading http://mirrors.aliyun.com/pypi/packages/4c/5e/6003a0d1f37725ec2ebd4046b657abb9372202655f96e76795dca8c0063c/docutils-0.17.1-py2.py3-none-any.whl (575 kB)
     |████████████████████████████████| 575 kB 5.8 MB/s 
Collecting sphinxcontrib-devhelp
  Downloading http://mirrors.aliyun.com/pypi/packages/c5/09/5de5ed43a521387f18bdf5f5af31d099605c992fd25372b2b9b825ce48ee/sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
     |████████████████████████████████| 84 kB 4.4 MB/s 
Collecting sphinxcontrib-htmlhelp>=2.0.0
  Downloading http://mirrors.aliyun.com/pypi/packages/63/40/c854ef09500e25f6432dcbad0f37df87fd7046d376272292d8654cc71c95/sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
     |████████████████████████████████| 100 kB 4.4 MB/s 
Collecting Pygments>=2.0
  Downloading http://mirrors.aliyun.com/pypi/packages/78/c8/8d9be2f72d8f465461f22b5f199c04f7ada933add4dae6e2468133c17471/Pygments-2.10.0-py3-none-any.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 5.0 MB/s 
Collecting packaging
  Downloading http://mirrors.aliyun.com/pypi/packages/3c/77/e2362b676dc5008d81be423070dd9577fa03be5da2ba1105811900fda546/packaging-21.0-py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 8.8 MB/s 
Collecting babel>=1.3
  Downloading http://mirrors.aliyun.com/pypi/packages/aa/96/4ba93c5f40459dc850d25f9ba93f869a623e77aaecc7a9344e19c01942cf/Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
     |████████████████████████████████| 8.8 MB 2.3 MB/s 
Collecting MarkupSafe>=2.0
  Downloading http://mirrors.aliyun.com/pypi/packages/68/ba/7a5ca0f9b4239e6fd846dd54c0b5928187355fa62fbdbd13e1c5942afae7/MarkupSafe-2.0.1-cp38-cp38-manylinux2010_x86_64.whl (30 kB)
Collecting pyparsing>=2.0.2
  Downloading http://mirrors.aliyun.com/pypi/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 6.2 MB/s 
Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3/dist-packages (from babel>=1.3->sphinx) (2019.3)
ERROR: sphinx-tabs 3.2.0 has requirement docutils~=0.16.0, but you'll have docutils 0.17.1 which is incompatible.
Installing collected packages: sphinxcontrib-jsmath, MarkupSafe, Jinja2, sphinxcontrib-serializinghtml, imagesize, snowballstemmer, alabaster, sphinxcontrib-applehelp, sphinxcontrib-qthelp, docutils, sphinxcontrib-devhelp, sphinxcontrib-htmlhelp, Pygments, pyparsing, packaging, babel, sphinx, sphinx-tabs
  WARNING: The script pygmentize is installed in '/home/zhangrelay/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pybabel is installed in '/home/zhangrelay/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts sphinx-apidoc, sphinx-autogen, sphinx-build and sphinx-quickstart are installed in '/home/zhangrelay/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Jinja2-3.0.1 MarkupSafe-2.0.1 Pygments-2.10.0 alabaster-0.7.12 babel-2.9.1 docutils-0.17.1 imagesize-1.2.0 packaging-21.0 pyparsing-2.4.7 snowballstemmer-2.1.0 sphinx-4.1.2 sphinx-tabs-3.2.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5
zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ pip3 install sphinx sphinx-tabs -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Requirement already satisfied: sphinx in /home/zhangrelay/.local/lib/python3.8/site-packages (4.1.2)
Requirement already satisfied: sphinx-tabs in /home/zhangrelay/.local/lib/python3.8/site-packages (3.2.0)
Requirement already satisfied: alabaster<0.8,>=0.7 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (0.7.12)
Requirement already satisfied: sphinxcontrib-jsmath in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (1.0.1)
Requirement already satisfied: sphinxcontrib-applehelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (1.0.2)
Requirement already satisfied: sphinxcontrib-devhelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (1.0.2)
Requirement already satisfied: packaging in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (21.0)
Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (2.0.0)
Requirement already satisfied: Jinja2>=2.3 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (3.0.1)
Requirement already satisfied: Pygments>=2.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (2.10.0)
Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (1.1.5)
Requirement already satisfied: imagesize in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (1.2.0)
Requirement already satisfied: babel>=1.3 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (2.9.1)
Requirement already satisfied: requests>=2.5.0 in /usr/lib/python3/dist-packages (from sphinx) (2.22.0)
Requirement already satisfied: snowballstemmer>=1.1 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (2.1.0)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx) (45.2.0)
Requirement already satisfied: docutils<0.18,>=0.14 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (0.17.1)
Requirement already satisfied: sphinxcontrib-qthelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx) (1.0.3)
Requirement already satisfied: pyparsing>=2.0.2 in /home/zhangrelay/.local/lib/python3.8/site-packages (from packaging->sphinx) (2.4.7)
Requirement already satisfied: MarkupSafe>=2.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from Jinja2>=2.3->sphinx) (2.0.1)
Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3/dist-packages (from babel>=1.3->sphinx) (2019.3)
zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ make html
Running Sphinx v4.1.2

Extension error:
Could not import extension sphinx_multiversion (exception: No module named 'sphinx_multiversion')
make: *** [Makefile:13: html] Error 2
zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ pip3 install sphinx-multiversion -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Collecting sphinx-multiversion
  Downloading http://mirrors.aliyun.com/pypi/packages/05/ad/4989e6be165805694e93d09bc57425aa1368273b7de4fe3083fe4310803a/sphinx_multiversion-0.2.4-py3-none-any.whl (9.6 kB)
Requirement already satisfied: sphinx>=2.1 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx-multiversion) (4.1.2)
Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (1.1.5)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx>=2.1->sphinx-multiversion) (45.2.0)
Requirement already satisfied: sphinxcontrib-qthelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (1.0.3)
Requirement already satisfied: Jinja2>=2.3 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (3.0.1)
Requirement already satisfied: Pygments>=2.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (2.10.0)
Requirement already satisfied: snowballstemmer>=1.1 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (2.1.0)
Requirement already satisfied: babel>=1.3 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (2.9.1)
Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (2.0.0)
Requirement already satisfied: alabaster<0.8,>=0.7 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (0.7.12)
Requirement already satisfied: sphinxcontrib-jsmath in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (1.0.1)
Requirement already satisfied: imagesize in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (1.2.0)
Requirement already satisfied: sphinxcontrib-devhelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (1.0.2)
Requirement already satisfied: requests>=2.5.0 in /usr/lib/python3/dist-packages (from sphinx>=2.1->sphinx-multiversion) (2.22.0)
Requirement already satisfied: packaging in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (21.0)
Requirement already satisfied: docutils<0.18,>=0.14 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (0.17.1)
Requirement already satisfied: sphinxcontrib-applehelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx>=2.1->sphinx-multiversion) (1.0.2)
Requirement already satisfied: MarkupSafe>=2.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from Jinja2>=2.3->sphinx>=2.1->sphinx-multiversion) (2.0.1)
Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3/dist-packages (from babel>=1.3->sphinx>=2.1->sphinx-multiversion) (2019.3)
Requirement already satisfied: pyparsing>=2.0.2 in /home/zhangrelay/.local/lib/python3.8/site-packages (from packaging->sphinx>=2.1->sphinx-multiversion) (2.4.7)
Installing collected packages: sphinx-multiversion
  WARNING: The script sphinx-multiversion is installed in '/home/zhangrelay/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed sphinx-multiversion-0.2.4
zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ make html
Running Sphinx v4.1.2

Extension error:
Could not import extension sphinx_rtd_theme (exception: No module named 'sphinx_rtd_theme')
make: *** [Makefile:13: html] Error 2
zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ pip3 install sphinx-rtd-theme -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Collecting sphinx-rtd-theme
  Downloading http://mirrors.aliyun.com/pypi/packages/ac/24/2475e8f83519b54b2148d4a56eb1111f9cec630d088c3ffc214492c12107/sphinx_rtd_theme-0.5.2-py2.py3-none-any.whl (9.1 MB)
     |████████████████████████████████| 9.1 MB 8.2 MB/s 
Collecting docutils<0.17
  Downloading http://mirrors.aliyun.com/pypi/packages/81/44/8a15e45ffa96e6cf82956dd8d7af9e666357e16b0d93b253903475ee947f/docutils-0.16-py2.py3-none-any.whl (548 kB)
     |████████████████████████████████| 548 kB 2.9 MB/s 
Requirement already satisfied: sphinx in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx-rtd-theme) (4.1.2)
Requirement already satisfied: Pygments>=2.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (2.10.0)
Requirement already satisfied: sphinxcontrib-applehelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (1.0.2)
Requirement already satisfied: sphinxcontrib-devhelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (1.0.2)
Requirement already satisfied: requests>=2.5.0 in /usr/lib/python3/dist-packages (from sphinx->sphinx-rtd-theme) (2.22.0)
Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (2.0.0)
Requirement already satisfied: alabaster<0.8,>=0.7 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (0.7.12)
Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (1.1.5)
Requirement already satisfied: sphinxcontrib-qthelp in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (1.0.3)
Requirement already satisfied: snowballstemmer>=1.1 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (2.1.0)
Requirement already satisfied: Jinja2>=2.3 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (3.0.1)
Requirement already satisfied: imagesize in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (1.2.0)
Requirement already satisfied: babel>=1.3 in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (2.9.1)
Requirement already satisfied: sphinxcontrib-jsmath in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (1.0.1)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx->sphinx-rtd-theme) (45.2.0)
Requirement already satisfied: packaging in /home/zhangrelay/.local/lib/python3.8/site-packages (from sphinx->sphinx-rtd-theme) (21.0)
Requirement already satisfied: MarkupSafe>=2.0 in /home/zhangrelay/.local/lib/python3.8/site-packages (from Jinja2>=2.3->sphinx->sphinx-rtd-theme) (2.0.1)
Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3/dist-packages (from babel>=1.3->sphinx->sphinx-rtd-theme) (2019.3)
Requirement already satisfied: pyparsing>=2.0.2 in /home/zhangrelay/.local/lib/python3.8/site-packages (from packaging->sphinx->sphinx-rtd-theme) (2.4.7)
Installing collected packages: docutils, sphinx-rtd-theme
  Attempting uninstall: docutils
    Found existing installation: docutils 0.17.1
    Uninstalling docutils-0.17.1:
      Successfully uninstalled docutils-0.17.1
Successfully installed docutils-0.16 sphinx-rtd-theme-0.5.2
zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ make html
Running Sphinx v4.1.2
making output directory... done
loading intersphinx inventory from http://docs.ros.org/en/independent/api/catkin_pkg/html/objects.inv...
loading intersphinx inventory from http://docs.ros.org/en/independent/api/jenkins_tools/html/objects.inv...
loading intersphinx inventory from http://docs.ros.org/en/independent/api/rosdep/html/objects.inv...
loading intersphinx inventory from http://docs.ros.org/en/independent/api/rosdistro/html/objects.inv...
loading intersphinx inventory from http://docs.ros.org/en/independent/api/rosinstall/html/objects.inv...
loading intersphinx inventory from http://docs.ros.org/en/independent/api/rospkg/html/objects.inv...
loading intersphinx inventory from http://docs.ros.org/en/independent/api/vcstools/html/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 150 source files that are out of date
updating environment: [new config] 150 added, 0 changed, 0 removed
reading sources... [ 29%] Guides/Overriding-QoS-Policies-For-Recording-And-Playbreading sources... [ 34%] Guides/Run-2-nodes-in-single-or-separate-docker-contaireading sources... [ 38%] Installation/DDS-Implementations/Install-Connext-Securreading sources... [ 39%] Installation/DDS-Implementations/Install-Connext-Univereading sources... [ 40%] Installation/DDS-Implementations/Working-with-Eclipse-reading sources... [ 40%] Installation/DDS-Implementations/Working-with-eProsimareading sources... [ 66%] Tutorials/Building-Realtime-rt_preempt-kernel-for-ROS-reading sources... [ 96%] Tutorials/Writing-A-Simple-Cpp-Publisher-And-Subscribereading sources... [100%] index                                                 
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 29%] Guides/Overriding-QoS-Policies-For-Recording-And-Playbawriting output... [ 34%] Guides/Run-2-nodes-in-single-or-separate-docker-containwriting output... [ 38%] Installation/DDS-Implementations/Install-Connext-Securiwriting output... [ 39%] Installation/DDS-Implementations/Install-Connext-Univerwriting output... [ 40%] Installation/DDS-Implementations/Working-with-Eclipse-Cwriting output... [ 40%] Installation/DDS-Implementations/Working-with-eProsima-writing output... [100%] index                                                  
/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy/source/Tutorials/Tf2/Time-Travel-With-Tf2-Cpp.rst:19: WARNING: undefined label: learningabouttf2andtimecpp
/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy/source/Tutorials/Tf2/Time-Travel-With-Tf2-Cpp.rst:29: WARNING: undefined label: learningabouttf2andtimecpp
generating indices... genindex done
writing additional pages... search done
copying images... [ 32%] Releases/images/rqt_graph-qos-incompatibility-2021-05-1copying images... [ 48%] Tutorials/images/eclipse_c++_properties_builders_with_ccopying images... [ 49%] Tutorials/images/eclipse_c++_build_project_with_colcon.copying images... [ 52%] Tutorials/Discovery-Server/figures/discovery_server_v2_copying images... [ 53%] Tutorials/Discovery-Server/figures/ds_redundancy_examplcopying images... [ 54%] Tutorials/Discovery-Server/figures/ds_backup_example.svcopying images... [ 55%] Tutorials/Discovery-Server/figures/ds_partition_examplecopying images... [ 56%] Tutorials/Discovery-Server/figures/discovery_packets.svcopying images... [ 80%] Tutorials/Topics/Topic-SinglePublisherandSingleSubscribcopying images... [ 81%] Tutorials/Topics/Topic-MultiplePublisherandMultipleSubscopying images... [100%] Tutorials/Workspace/underlay.png                       
copying downloadable files... [ 55%] Tutorials/Discovery-Server/scripts/generatecopying downloadable files... [ 66%] Tutorials/Discovery-Server/scripts/discovercopying downloadable files... [ 77%] Tutorials/Discovery-Server/scripts/no_intracopying downloadable files... [100%] Tutorials/URDF/r2d2.rviz                   
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 2 warnings.

The HTML pages are in build/html.
zhangrelay@s2:/media/zhangrelay/96F0DD30F0DD1779/ros_ws/ros2_documentation-foxy$ make html
Running Sphinx v4.1.2
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
no targets are out of date.
build succeeded.

The HTML pages are in build/html.