Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.activation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.learn.activation
Commits
a4f287f6
Commit
a4f287f6
authored
11 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Fix documentation generation
parent
d93be0a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/conf.py
+6
-6
6 additions, 6 deletions
doc/conf.py
xbob/learn/activation/__init__.py
+4
-0
4 additions, 0 deletions
xbob/learn/activation/__init__.py
with
10 additions
and
6 deletions
doc/conf.py
+
6
−
6
View file @
a4f287f6
...
...
@@ -59,12 +59,12 @@ source_suffix = '.rst'
master_doc
=
'
index
'
# General information about the project.
project
=
u
'
xbob.
machine
'
project
=
u
'
xbob.
learn.activation
'
import
time
copyright
=
u
'
%s, Idiap Research Institute
'
%
time
.
strftime
(
'
%Y
'
)
# Grab the setup entry
distribution
=
pkg_resources
.
require
(
'
xbob.
machine
'
)[
0
]
distribution
=
pkg_resources
.
require
(
'
xbob.
learn.activation
'
)[
0
]
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
...
...
@@ -130,7 +130,7 @@ if sphinx.__version__ >= "1.0":
#html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = 'xbob_
machine
'
#html_short_title = 'xbob_
learn_activation
'
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
...
...
@@ -188,7 +188,7 @@ html_static_path = ['_static']
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename
=
'
xbob_
machine
_doc
'
htmlhelp_basename
=
'
xbob_
learn_activation
_doc
'
# -- Options for LaTeX output --------------------------------------------------
...
...
@@ -202,7 +202,7 @@ latex_font_size = '10pt'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents
=
[
(
'
index
'
,
'
xbob_
machine.tex
'
,
u
'
Bob Machine
s
'
,
(
'
index
'
,
'
xbob_
learn_activation.tex
'
,
u
'
Bob Activation Function
s
'
,
u
'
Biometrics Group, Idiap Research Institute
'
,
'
manual
'
),
]
...
...
@@ -242,7 +242,7 @@ rst_epilog = """
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
'
index
'
,
'
xbob_
machine
'
,
u
'
Bob Machines
Documentation
'
,
[
u
'
Idiap Research Institute
'
],
1
)
(
'
index
'
,
'
xbob_
learn_activation
'
,
u
'
Bob Activation Function
Documentation
'
,
[
u
'
Idiap Research Institute
'
],
1
)
]
# Default processing flags for sphinx
...
...
This diff is collapsed.
Click to expand it.
xbob/learn/activation/__init__.py
+
4
−
0
View file @
a4f287f6
...
...
@@ -5,3 +5,7 @@ def get_include():
"""
Returns the directory containing the C/C++ API include directives
"""
return
__import__
(
'
pkg_resources
'
).
resource_filename
(
__name__
,
'
include
'
)
# gets sphinx autodoc done right - don't remove it
__all__
=
[
k
for
k
in
dir
()
if
not
k
.
startswith
(
'
_
'
)]
del
k
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment