From 8369190c5e849cf85d52de607818d30d32975efb Mon Sep 17 00:00:00 2001 From: Abishalini Date: Mon, 15 Jan 2024 13:19:23 -0700 Subject: [PATCH 1/3] Add autodoc_mock_imports to conf.py --- conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf.py b/conf.py index 3d945b4e6d..14ce7c4f59 100644 --- a/conf.py +++ b/conf.py @@ -131,6 +131,8 @@ "_templates", ] +autodoc_mock_imports = ["moveit"] + # smv_tag_whitelist = None smv_branch_whitelist = r"^(main|humble)$" From 40b123d0dc95e0ab21f0f4542d7193b49de95dc7 Mon Sep 17 00:00:00 2001 From: Abishalini Date: Mon, 15 Jan 2024 14:40:22 -0700 Subject: [PATCH 2/3] Briefly avoid turning warnings to errors --- htmlproofer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmlproofer.sh b/htmlproofer.sh index d74d0ae004..e1a796956a 100755 --- a/htmlproofer.sh +++ b/htmlproofer.sh @@ -29,7 +29,7 @@ rm -rf moveit2 popd # Test build with non-ROS wrapped Sphinx command to allow warnings and errors to be caught -sphinx-build -W -b html . build/html +sphinx-build -w -b html . build/html # Replace Edit on Github links with local file paths grep -rl 'https:\/\/github.com\/ros-planning\/moveit2_tutorials\/blob\/main\/' ./build/ | \ From 5b2c717002a239babfd06c74502cae1af5505a69 Mon Sep 17 00:00:00 2001 From: Abishalini Date: Mon, 15 Jan 2024 14:57:36 -0700 Subject: [PATCH 3/3] Remove flag --- htmlproofer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmlproofer.sh b/htmlproofer.sh index e1a796956a..a04f07abd0 100755 --- a/htmlproofer.sh +++ b/htmlproofer.sh @@ -29,7 +29,7 @@ rm -rf moveit2 popd # Test build with non-ROS wrapped Sphinx command to allow warnings and errors to be caught -sphinx-build -w -b html . build/html +sphinx-build -b html . build/html # Replace Edit on Github links with local file paths grep -rl 'https:\/\/github.com\/ros-planning\/moveit2_tutorials\/blob\/main\/' ./build/ | \