Commit 07c91eff authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Standarization sphinx conf.py

parent 760f5fd8
Pipeline #4236 passed with stages
in 49 minutes and 6 seconds
...@@ -28,7 +28,6 @@ develop = src/bob.extension ...@@ -28,7 +28,6 @@ develop = src/bob.extension
src/bob.learn.em src/bob.learn.em
src/bob.measure src/bob.measure
src/bob.db.base src/bob.db.base
src/bob.bio.db
src/bob.db.atnt src/bob.db.atnt
src/bob.bio.base src/bob.bio.base
src/bob.learn.boosting src/bob.learn.boosting
...@@ -60,7 +59,6 @@ bob.learn.linear = git https://gitlab.idiap.ch/bob/bob.learn.linear ...@@ -60,7 +59,6 @@ bob.learn.linear = git https://gitlab.idiap.ch/bob/bob.learn.linear
bob.learn.em = git https://gitlab.idiap.ch/bob/bob.learn.em bob.learn.em = git https://gitlab.idiap.ch/bob/bob.learn.em
bob.measure = git https://gitlab.idiap.ch/bob/bob.measure bob.measure = git https://gitlab.idiap.ch/bob/bob.measure
bob.db.base = git https://gitlab.idiap.ch/bob/bob.db.base bob.db.base = git https://gitlab.idiap.ch/bob/bob.db.base
bob.bio.db = git https://gitlab.idiap.ch/bob/bob.bio.db
bob.db.atnt = git https://gitlab.idiap.ch/bob/bob.db.atnt bob.db.atnt = git https://gitlab.idiap.ch/bob/bob.db.atnt
bob.bio.base = git https://gitlab.idiap.ch/bob/bob.bio.base bob.bio.base = git https://gitlab.idiap.ch/bob/bob.bio.base
bob.bio.face = git https://gitlab.idiap.ch/bob/bob.bio.face bob.bio.face = git https://gitlab.idiap.ch/bob/bob.bio.face
......
...@@ -111,7 +111,7 @@ pygments_style = 'sphinx' ...@@ -111,7 +111,7 @@ pygments_style = 'sphinx'
# Some variables which are useful for generated material # Some variables which are useful for generated material
project_variable = project.replace('.', '_') project_variable = project.replace('.', '_')
short_description = u'Run video face recognition algorithms' short_description = u'Tools for running biometric recognition experiments'
owner = [u'Idiap Research Institute'] owner = [u'Idiap Research Institute']
...@@ -216,8 +216,13 @@ autodoc_default_flags = [ ...@@ -216,8 +216,13 @@ autodoc_default_flags = [
] ]
# For inter-documentation mapping: # For inter-documentation mapping:
from bob.extension.utils import link_documentation from bob.extension.utils import link_documentation, load_requirements
intersphinx_mapping = link_documentation() sphinx_requirements = "./extra-intersphinx.txt"
if os.path.exists(sphinx_requirements):
intersphinx_mapping = link_documentation(additional_packages=load_requirements(sphinx_requirements))
else:
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
...@@ -237,4 +242,4 @@ def member_function_test(app, what, name, obj, skip, options): ...@@ -237,4 +242,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
Supports Markdown
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