Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.math
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.math
Commits
a78094c7
Commit
a78094c7
authored
4 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Plain Diff
Merge branch 'make' into 'master'
[conda recipe] Add make next to cmake dependency See merge request
!19
parents
36871a05
9feb4f25
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!19
[conda recipe] Add make next to cmake dependency
Pipeline
#45383
passed
4 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conda/meta.yaml
+1
-0
1 addition, 0 deletions
conda/meta.yaml
doc/conf.py
+5
-24
5 additions, 24 deletions
doc/conf.py
with
6 additions
and
24 deletions
conda/meta.yaml
+
1
−
0
View file @
a78094c7
...
...
@@ -23,6 +23,7 @@ requirements:
-
{{
compiler('cxx')
}}
-
pkg-config {{ pkg_config }}
-
cmake {{ cmake }}
-
make {{ make }}
host
:
-
python {{ python }}
-
setuptools {{ setuptools }}
...
...
This diff is collapsed.
Click to expand it.
doc/conf.py
+
5
−
24
View file @
a78094c7
...
...
@@ -222,11 +222,11 @@ rst_epilog = """
# Default processing flags for sphinx
autoclass_content
=
'
class
'
autodoc_member_order
=
'
bysource
'
autodoc_default_
flag
s
=
[
'
members
'
,
'
undoc-members
'
,
'
show-inheritance
'
,
]
autodoc_default_
option
s
=
{
"
members
"
:
True
,
"
undoc-members
"
:
True
,
"
show-inheritance
"
:
True
,
}
# For inter-documentation mapping:
from
bob.extension.utils
import
link_documentation
,
load_requirements
...
...
@@ -237,22 +237,3 @@ else:
intersphinx_mapping
=
link_documentation
()
# We want to remove all private (i.e. _. or __.__) members
# that are not in the list of accepted functions
accepted_private_functions
=
[
'
__array__
'
]
def
member_function_test
(
app
,
what
,
name
,
obj
,
skip
,
options
):
# test if we have a private function
if
len
(
name
)
>
1
and
name
[
0
]
==
'
_
'
:
# test if this private function should be allowed
if
name
not
in
accepted_private_functions
:
# omit privat functions that are not in the list of accepted private functions
return
skip
else
:
# test if the method is documented
if
not
hasattr
(
obj
,
'
__doc__
'
)
or
not
obj
.
__doc__
:
return
skip
return
False
def
setup
(
app
):
app
.
connect
(
'
autodoc-skip-member
'
,
member_function_test
)
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