From 67f9ffddbd2618add03ef46d856c1cb75821de25 Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Thu, 3 Jul 2025 09:53:38 -0700 Subject: [PATCH] Delete outdated mjs_delete doc. PiperOrigin-RevId: 778912984 Change-Id: I2c09c67706679e9e85ea29fd63e698cddb0ef6ca --- doc/APIreference/functions.rst | 3 +-- doc/APIreference/functions_override.rst | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/APIreference/functions.rst b/doc/APIreference/functions.rst index abe36ac8..eea63e8d 100644 --- a/doc/APIreference/functions.rst +++ b/doc/APIreference/functions.rst @@ -3866,8 +3866,7 @@ Add frame to body. .. mujoco-include:: mjs_delete -Delete object corresponding to the given element, return 0 on success. This function should only be used for element -types that cannot have children, i.e. excluding bodies and default classes. +Remove object corresponding to the given element, return 0 on success. .. _AddNonTreeElements: diff --git a/doc/APIreference/functions_override.rst b/doc/APIreference/functions_override.rst index da9c913a..7f35ed84 100644 --- a/doc/APIreference/functions_override.rst +++ b/doc/APIreference/functions_override.rst @@ -718,8 +718,3 @@ to the inputs. Below, :math:`\bar q` denotes the pre-modified quaternion: Note that derivatives depend only on :math:`h` and :math:`v` (in fact, on :math:`s = h v`). All outputs are optional. - -.. _mjs_delete: - -Delete object corresponding to the given element, return 0 on success. This function should only be used for element -types that cannot have children, i.e. excluding bodies and default classes.