Skip to content
GitLab
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.biosecure
Commits
2acf018b
Commit
2acf018b
authored
Nov 29, 2016
by
Tiago de Freitas Pereira
Browse files
Merge branch 'update_sphinx' into 'master'
[sphinx] Update conf.py See merge request
!2
parents
6fafe148
f9d18d57
Pipeline
#5549
passed with stages
in 6 minutes and 42 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/conf.py
View file @
2acf018b
...
...
@@ -25,6 +25,7 @@ extensions = [
'sphinx.ext.intersphinx'
,
'sphinx.ext.napoleon'
,
'sphinx.ext.viewcode'
,
#'matplotlib.sphinxext.plot_directive'
]
import
sphinx
...
...
@@ -131,7 +132,7 @@ pygments_style = 'sphinx'
# Some variables which are useful for generated material
project_variable
=
project
.
replace
(
'.'
,
'_'
)
short_description
=
u
'Biosecure Database
Access API for Bob
'
short_description
=
u
'Biosecure Database'
owner
=
[
u
'Idiap Research Institute'
]
...
...
@@ -239,9 +240,12 @@ autodoc_default_flags = [
from
bob.extension.utils
import
link_documentation
,
load_requirements
sphinx_requirements
=
"extra-intersphinx.txt"
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
:
intersphinx_mapping
=
link_documentation
()
intersphinx_mapping
=
link_documentation
()
# We want to remove all private (i.e. _. or __.__) members
...
...
@@ -263,3 +267,4 @@ def member_function_test(app, what, name, obj, skip, options):
def
setup
(
app
):
app
.
connect
(
'autodoc-skip-member'
,
member_function_test
)
doc/extra-intersphinx.txt
0 → 100644
View file @
2acf018b
bob.bio.base
doc/nitpick-exceptions.txt
View file @
2acf018b
py:class bob.db.base.file.File
py:class bob.db.base.database.SQLiteDatabase
py:class sqlalchemy.ext.declarative.api.Base
py:exc ValueError
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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