Stoping `gt` from generating new `.Rd` files when documenting functions

I use gt to present information in a tabular format in some vignettes of one of my packages (see here).

I'd like to add a similar table to document a function. The problem is that gt generates a new id for the table everytime I run devtools::document(), making the .Rd file to change constantly.

Capture d’écran 2025-07-02 à 13.27.16

Is there any way to avoid that?

I'd ideally prefer to stick to gt so I can use it for both function documentation and vignettes.