Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.db.replaymobile
Commits
a125a21f
Commit
a125a21f
authored
Nov 29, 2016
by
Tiago de Freitas Pereira
Browse files
[sphinx] Update conf.py
parent
79d615ac
Pipeline
#5525
passed with stages
in 3 minutes and 21 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
doc/conf.py
View file @
a125a21f
...
@@ -25,6 +25,7 @@ extensions = [
...
@@ -25,6 +25,7 @@ extensions = [
'sphinx.ext.intersphinx'
,
'sphinx.ext.intersphinx'
,
'sphinx.ext.napoleon'
,
'sphinx.ext.napoleon'
,
'sphinx.ext.viewcode'
,
'sphinx.ext.viewcode'
,
#'matplotlib.sphinxext.plot_directive'
]
]
import
sphinx
import
sphinx
...
@@ -131,7 +132,7 @@ pygments_style = 'sphinx'
...
@@ -131,7 +132,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
'Replay
-M
obile
D
ata
base Access API for Bob
'
short_description
=
u
'Replay
m
obile
d
ata
set
'
owner
=
[
u
'Idiap Research Institute'
]
owner
=
[
u
'Idiap Research Institute'
]
...
@@ -239,7 +240,10 @@ autodoc_default_flags = [
...
@@ -239,7 +240,10 @@ autodoc_default_flags = [
from
bob.extension.utils
import
link_documentation
,
load_requirements
from
bob.extension.utils
import
link_documentation
,
load_requirements
sphinx_requirements
=
"extra-intersphinx.txt"
sphinx_requirements
=
"extra-intersphinx.txt"
if
os
.
path
.
exists
(
sphinx_requirements
):
if
os
.
path
.
exists
(
sphinx_requirements
):
intersphinx_mapping
=
link_documentation
(
additional_packages
=
load_requirements
(
sphinx_requirements
))
intersphinx_mapping
=
link_documentation
(
additional_packages
=
[
'python'
,
'numpy'
]
+
\
load_requirements
(
sphinx_requirements
)
)
else
:
else
:
intersphinx_mapping
=
link_documentation
()
intersphinx_mapping
=
link_documentation
()
...
@@ -263,3 +267,4 @@ def member_function_test(app, what, name, obj, skip, options):
...
@@ -263,3 +267,4 @@ def member_function_test(app, what, name, obj, skip, options):
def
setup
(
app
):
def
setup
(
app
):
app
.
connect
(
'autodoc-skip-member'
,
member_function_test
)
app
.
connect
(
'autodoc-skip-member'
,
member_function_test
)
doc/extra-intersphinx.txt
View file @
a125a21f
sqlalchemy
sqlalchemy
bob.bio.base
doc/nitpick-exceptions.txt
View file @
a125a21f
py:class bob.db.base.file.File
py:class bob.db.base.file.File
py:class bob.db.base.database.Database
py:class bob.db.base.database.Database
py:class sqlalchemy.ext.declarative.api.Base
py:class sqlalchemy.ext.declarative.api.Base
py:exc ValueError
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