Commit 92b52d4d authored by André Anjos's avatar André Anjos 💬
Browse files

[doc] Add missing epilog

parent d6f9f75f
Pipeline #3064 failed with stages
in 58 minutes and 6 seconds
...@@ -197,6 +197,13 @@ htmlhelp_basename = project_variable + u'_doc' ...@@ -197,6 +197,13 @@ htmlhelp_basename = project_variable + u'_doc'
# -- Post configuration -------------------------------------------------------- # -- Post configuration --------------------------------------------------------
# Included after all input documents
rst_epilog = """
.. |project| replace:: Bob
.. |version| replace:: %s
.. |current-year| date:: %%Y
""" % (version,)
# Default processing flags for sphinx # Default processing flags for sphinx
autoclass_content = 'class' autoclass_content = 'class'
autodoc_member_order = 'bysource' autodoc_member_order = 'bysource'
...@@ -207,12 +214,10 @@ autodoc_default_flags = [ ...@@ -207,12 +214,10 @@ autodoc_default_flags = [
'show-inheritance', 'show-inheritance',
] ]
# For inter-documentation mapping: # For inter-documentation mapping:
from bob.extension.utils import link_documentation from bob.extension.utils import link_documentation
intersphinx_mapping = link_documentation() intersphinx_mapping = link_documentation()
# We want to remove all private (i.e. _. or __.__) members # We want to remove all private (i.e. _. or __.__) members
# that are not in the list of accepted functions # that are not in the list of accepted functions
accepted_private_functions = ['__array__'] accepted_private_functions = ['__array__']
...@@ -231,4 +236,4 @@ def member_function_test(app, what, name, obj, skip, options): ...@@ -231,4 +236,4 @@ def member_function_test(app, what, name, obj, skip, options):
return False return False
def setup(app): def setup(app):
app.connect('autodoc-skip-member', member_function_test) app.connect('autodoc-skip-member', member_function_test)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment