diff --git a/modules/io/doc/mmcif.rst b/modules/io/doc/mmcif.rst
index b05225f2eb0ec6f095d26f7bf006c7feb892c484..340d16c985e46752351ed7b877e10d5d041796f2 100644
--- a/modules/io/doc/mmcif.rst
+++ b/modules/io/doc/mmcif.rst
@@ -1594,6 +1594,8 @@ The content of the written file:
     :type filename: :class:`str`
 
 
+.. _MMCif writing:
+
 mmCIF Writer
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
diff --git a/modules/io/pymod/__init__.py b/modules/io/pymod/__init__.py
index 73ac9e65634d0c7e5d0028875dd52dc7cbb69293..caec78daeacfe9c11e1f6496c00c31e4817169a7 100644
--- a/modules/io/pymod/__init__.py
+++ b/modules/io/pymod/__init__.py
@@ -468,7 +468,7 @@ def SaveMMCIF(ent, filename, data_name="OST_structure", mmcif_conform = True):
                         identifier.
   :param mmcif_conform: Controls processing of structure, i.e. identification
                         of mmCIF entities etc. before writing. Detailed
-                        description is in the documentation below. In short:
+                        description in :ref:`MMCif writing`. In short:
                         If *mmcif_conform* is set to True, Chains in *ent* are
                         expected to be valid mmCIF entities with residue numbers
                         set according to underlying SEQRES. That should be the