Sphinx gallery issue

Hi, trying to build the sphinx doc I ran into the following error:

generating gallery for auto_functional_modeling/field_functions... [100%] plot_function_manipulation.py

Extension error!

Versions
========

* Platform:         linux; (Linux-5.10.0-34-amd64-x86_64-with-glibc2.31)
* Python version:   3.12.6 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.21.2
* Jinja2 version:   3.1.6
* Pygments version: 2.19.1

Last Messages
=============

None.

Loaded Extensions
=================

None.

Traceback
=========

      File "miniforge/lib/python3.12/site-packages/sphinx_gallery/py_source_parser.py", line 103, in _get_docstring_and_rest
        raise ExtensionError(
    sphinx.errors.ExtensionError: Could not find docstring in file "/openturns/build_kriging_to_gpr/python/src/sphinx_build/examples/functional_modeling/link_to_an_external_code/external_program.py". A docstring is required by sphinx-gallery unless the file is ignored by "ignore_pattern"

Do you know what may be causing the issue and how to fix it?