diff --git a/docs/conf.py b/docs/conf.py
index 2a201a61afed77cb739eeb3ea1ab71536d0a3a89..1900a4862adc69bfea68e76ea72042769414ee52 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -168,5 +168,6 @@ texinfo_documents = [
      'Miscellaneous'),
 ]
 
+numpydoc_show_class_members = False
 
 
diff --git a/docs/samplers.txt b/docs/samplers.txt
index ecb00f7f94eb31aa37197559115fb0882129c0c2..98c5599950b624c4c2fde2b52b133029cdbaba42 100644
--- a/docs/samplers.txt
+++ b/docs/samplers.txt
@@ -1,4 +1,4 @@
-.. run_sampler:
+.. _run_sampler:
 
 ========
 Sampling