From f3b7497c46ed8658468b8bbe4d61953783af6018 Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavalias-github@xavier.robin.name>
Date: Mon, 23 Jan 2023 16:31:06 +0100
Subject: [PATCH] doc: fix duplicate object description warning

---
 modules/mol/alg/doc/molalg.rst    | 1 +
 modules/mol/mm/doc/forcefield.rst | 1 +
 2 files changed, 2 insertions(+)

diff --git a/modules/mol/alg/doc/molalg.rst b/modules/mol/alg/doc/molalg.rst
index 01cef9908..966164d40 100644
--- a/modules/mol/alg/doc/molalg.rst
+++ b/modules/mol/alg/doc/molalg.rst
@@ -899,6 +899,7 @@ used to skip frames in the analysis.
   :returns: A newly created coord group containing the superposed frames.
 
 .. function:: SuperposeFrames(frames, sel, ref_view, from=0, to=-1)
+  :noindex:
 
   Same as SuperposeFrames above, but the superposition is done on a reference
   view and not on another frame of the trajectory.
diff --git a/modules/mol/mm/doc/forcefield.rst b/modules/mol/mm/doc/forcefield.rst
index dc21e30d2..5b88a42d1 100644
--- a/modules/mol/mm/doc/forcefield.rst
+++ b/modules/mol/mm/doc/forcefield.rst
@@ -568,6 +568,7 @@ The Forcefield Class
 
 
   .. method:: GetLJ(type1, type2,[,pair=False])
+    :noindex:
 
     :param type1:        Type of interacting particle 1
     :param type2:        Type of interacting particle 2
-- 
GitLab