diff --git a/doc/conf.py b/doc/conf.py
index df9e2e3de93443b24260968f54519b64fb70bb05..36cd5beb1a19b88b9dab851e7ed030bf4bcab7ef 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -99,7 +99,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
@@ -243,8 +243,10 @@ latex_logo = ''
 
 # Included after all input documents
 rst_epilog = """
-.. |version| replace:: %s
 .. |project| replace:: Bob
+.. |url| replace:: https://www.idiap.ch/software/bob/
+.. |version| replace:: %s
+.. |current-year| date:: %%Y
 """ % (version,)
 
 # -- Options for manual page output --------------------------------------------