diff --git a/modules/doc/actions.rst b/modules/doc/actions.rst
index 0ef131cf61d3aca7469c06ab7d5bf670f1c14bde..c8502eff4a82e27b1702f57604b364a555b4d66c 100644
--- a/modules/doc/actions.rst
+++ b/modules/doc/actions.rst
@@ -37,7 +37,7 @@ future. Optionally, the local scores for lDDT can also be dumped to the output
 file. Additionally, cleaned up structures can be saved to the disk.
 The output file has following format:
 
-.. code-block:: python
+.. code-block:: none
 
   {
       "result": {
diff --git a/modules/io/doc/io.rst b/modules/io/doc/io.rst
index 0f5c04dd4663505c7fb7d21b79d7487b16d1846e..580c6650a8ead19afc4d372bc65b106fdb7027f2 100644
--- a/modules/io/doc/io.rst
+++ b/modules/io/doc/io.rst
@@ -351,7 +351,7 @@ before computing the lDDT scores it is required to pass parameter file based on
 Engh and Huber parameters, and on the atomic radii as defined in the Cambridge
 Structural Database. OpenStructure ships with default file called
 `stereo_chemical_props.txt` located in `$OST_ROOT/share/openstructure`
-directory. A function :function:`~ost.io.ReadStereoChemicalPropsFile` is used to
+directory. A function :func:`~ost.io.ReadStereoChemicalPropsFile` is used to
 read this file.