From af5fd44dd3f659765d1ccac21c9d198740a09998 Mon Sep 17 00:00:00 2001 From: Raffi Enficiaud Date: Mon, 27 Oct 2025 16:23:25 +0100 Subject: [PATCH] Doc: fixing cross-references --- docs/plugins.txt | 1 + docs/samplers.txt | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/plugins.txt b/docs/plugins.txt index ec00ba726..83c0c7146 100644 --- a/docs/plugins.txt +++ b/docs/plugins.txt @@ -27,6 +27,7 @@ Currently :code:`bilby` allows for the following plugin groups: - :code:`"bilby.samplers"`: group for adding samplers to :code:`bilby`. See :ref:`Sampler plugins` for more details. +.. _sampler-plugins: --------------- Sampler plugins diff --git a/docs/samplers.txt b/docs/samplers.txt index 16c8df1eb..a168c9e6f 100644 --- a/docs/samplers.txt +++ b/docs/samplers.txt @@ -88,7 +88,7 @@ A list of available samplers can be produced using This will list native bilby samplers and any samplers available via a plugin. If a plugin provides a sampler that is also implemented in bilby, the bilby implementation will be labeled with the prefix `bilby.` to distinguish it from -the plugin version. See `sampler plugins`_ for more details. +the plugin version. See :ref:`sampler-plugins` for more details. ------------------- @@ -185,7 +185,7 @@ Adding new samplers to bilby We actively encourage the addition of new samplers to :code:`bilby`. We now recommended adding support for new samplers via the sampler plugins -interface. For more details, and a template, see `sampler plugins`_. +interface. For more details, and a template, see :ref:`sampler-plugins`. If you have a :code:`bilby` sampler plugin that you would like to be listed here, please let us know! @@ -212,4 +212,4 @@ will automatically be used instead of the native bilby interface. Some samplers may require additional installation steps. For more details about how sampler plugins, including a list of available -sampler plugins, see `sampler plugins`_. +sampler plugins, see :ref:`sampler-plugins`.