Skip to content

Commit 2b315d9

Browse files
committed
Suppress reference warnings when building package docs individually
1 parent 932c67a commit 2b315d9

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

ur_controllers/doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
# ones.
4848
extensions = []
4949

50+
suppress_warnings = ["ref.ref"]
51+
5052
# Add any paths that contain templates here, relative to this directory.
5153
templates_path = ["_templates"]
5254

ur_moveit_config/doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
# ones.
4848
extensions = []
4949

50+
suppress_warnings = ["ref.ref"]
51+
5052
# Add any paths that contain templates here, relative to this directory.
5153
templates_path = ["_templates"]
5254

ur_robot_driver/doc/conf.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
# Add any Sphinx extension module names here, as strings. They can be
3838
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3939
# ones.
40-
extensions = []
40+
extensions = ["sphinx_tabs.tabs"]
41+
42+
suppress_warnings = ["ref.ref"]
4143

4244
# Add any paths that contain templates here, relative to this directory.
4345
templates_path = ["_templates"]
@@ -55,12 +57,12 @@
5557
#
5658
# This is also used if you do content translation via gettext catalogs.
5759
# Usually you set "language" from the command line for these cases.
58-
language = None
60+
language = "en"
5961

6062
# List of patterns, relative to source directory, that match files and
6163
# directories to ignore when looking for source files.
6264
# This pattern also affects html_static_path and html_extra_path.
63-
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
65+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "resources/README.md"]
6466

6567
# The name of the Pygments (syntax highlighting) style to use.
6668
pygments_style = None
@@ -82,7 +84,7 @@
8284
# Add any paths that contain custom static files (such as style sheets) here,
8385
# relative to this directory. They are copied after the builtin static files,
8486
# so a file named "default.css" will overwrite the builtin "default.css".
85-
html_static_path = ["_static"]
87+
# html_static_path = ["_static"]
8688

8789
# Custom sidebar templates, must be a dictionary that maps document names
8890
# to template names.

0 commit comments

Comments
 (0)