Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
92b52d4d
Commit
92b52d4d
authored
Aug 11, 2016
by
André Anjos
💬
Browse files
[doc] Add missing epilog
parent
d6f9f75f
Pipeline
#3064
failed with stages
in 58 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/conf.py
View file @
92b52d4d
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment