Add weak deprecation notice include in XMLreference.

PiperOrigin-RevId: 710300945
Change-Id: I5a3dd066ef643d606d97ec36ffe1e797bb628659
This commit is contained in:
Yuval Tassa
2024-12-28 08:49:36 -08:00
committed by Copybara-Service
parent 8dd360a2c0
commit e67599f517
+5
View File
@@ -264,6 +264,11 @@ how to use includes and how to modularize large files if desired.
The name of the XML file to be included. The file location is relative to the directory of the main MJCF file. If the
file is not in the same directory, it should be prefixed with a relative path.
.. admonition:: Prefer attach to include
:class: note
While some use cases for :ref:`include<include>` remain valid, it is recommended to use the
:ref:`attach<body-attach>` element instead, where applicable.
.. _mujoco: