diff --git a/doc/conf.py b/doc/conf.py
index 7c82ed017309f0103f00d744f8641dffcdf6d688..e178e42d8257f0855ce2e0e0303c9adcff2905cf 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -87,7 +87,7 @@ release = distribution.version
 
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
-exclude_patterns = ['**/links.rst']
+exclude_patterns = ['links.rst']
 
 # The reST default role (used for this markup: `text`) to use for all documents.
 #default_role = None