From d55e70b57624914534166e2ae1f7ec5c75f1b903 Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Fri, 7 Oct 2022 05:33:09 -0700 Subject: [PATCH] Add links automatically to all sections of XMLschema. PiperOrigin-RevId: 479556475 Change-Id: Ie188ecc5c0801bd6bbe27554afcb5436c19f5fa6 --- doc/XMLreference.rst | 2 + doc/XMLschema.rst | 513 ++++++++++++++++++++++--------------------- 2 files changed, 264 insertions(+), 251 deletions(-) diff --git a/doc/XMLreference.rst b/doc/XMLreference.rst index 52424030..98807f9e 100644 --- a/doc/XMLreference.rst +++ b/doc/XMLreference.rst @@ -1018,6 +1018,8 @@ tendon, slidersite, cranksite. All :ref:`muscle ` attributes are available here except: name, class, joint, jointinparent, site, tendon, slidersite, cranksite. +.. _default-adhesion: + :el-prefix:`default/` **adhesion** (?) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/doc/XMLschema.rst b/doc/XMLschema.rst index e921334d..b87af4b4 100644 --- a/doc/XMLschema.rst +++ b/doc/XMLschema.rst @@ -1,13 +1,13 @@ +--------------------------+----+------------------------------------------------------------------------------------+ -| :el:`mujoco` | ! | .. table:: | -| | | :class: mjcf-attributes | +| :ref:`mujoco | ! | .. table:: | +| ` | | :class: mjcf-attributes | | | | | | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`model` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ -| |_|:el:`compiler` | \* | .. table:: | -| | | :class: mjcf-attributes | +| |_|:ref:`compiler | \* | .. table:: | +| ` | | :class: mjcf-attributes | | | | | | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`autolimits` | :at:`boundmass` | :at:`boundinertia` | | @@ -25,8 +25,8 @@ | | | | :at:`exactmeshinertia` | :at:`assetdir` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ -| |_2|:el:`lengthrange` | ? | .. table:: | -| | | :class: mjcf-attributes | +| |_2|:ref:`lengthrange | ? | .. table:: | +| ` | | :class: mjcf-attributes | | | | | | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`mode` | :at:`useexisting` | :at:`uselimit` | | @@ -38,8 +38,8 @@ | | | | :at:`tolrange` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ -| |_|:el:`option` | \* | .. table:: | -| | | :class: mjcf-attributes | +| |_|:ref:`option | \* | .. table:: | +|