Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.extension
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.extension
Commits
7357d003
Commit
7357d003
authored
5 years ago
by
André Anjos
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-click-sphinx-reference' into 'master'
Fix lookup of click manual See merge request
!111
parents
54a45cdd
73ba03c8
No related branches found
No related tags found
1 merge request
!111
Fix lookup of click manual
Pipeline
#36561
passed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/extension/utils.py
+10
-1
10 additions, 1 deletion
bob/extension/utils.py
with
10 additions
and
1 deletion
bob/extension/utils.py
+
10
−
1
View file @
7357d003
...
@@ -509,6 +509,15 @@ def link_documentation(additional_packages = ['python', 'numpy'], requirements_f
...
@@ -509,6 +509,15 @@ def link_documentation(additional_packages = ['python', 'numpy'], requirements_f
_add_index
(
'
scipy
'
,
'
https://docs.scipy.org/doc/scipy/reference/
'
)
_add_index
(
'
scipy
'
,
'
https://docs.scipy.org/doc/scipy/reference/
'
)
def
_add_click_index
():
"""
Helper to add the click manual
"""
import
click
major
=
click
.
__version__
.
split
(
'
.
'
)[
0
]
ver
=
major
+
'
.x
'
_add_index
(
'
click
'
,
'
https://click.palletsprojects.com/en/%s/
'
%
ver
)
mapping
=
{}
mapping
=
{}
# add indexes for common packages used in Bob
# add indexes for common packages used in Bob
...
@@ -523,7 +532,7 @@ def link_documentation(additional_packages = ['python', 'numpy'], requirements_f
...
@@ -523,7 +532,7 @@ def link_documentation(additional_packages = ['python', 'numpy'], requirements_f
_add_index
(
'
scikit-learn
'
,
'
http://scikit-learn.org/stable/
'
)
_add_index
(
'
scikit-learn
'
,
'
http://scikit-learn.org/stable/
'
)
_add_index
(
'
scikit-image
'
,
'
http://scikit-image.org/docs/dev/
'
)
_add_index
(
'
scikit-image
'
,
'
http://scikit-image.org/docs/dev/
'
)
_add_index
(
'
pillow
'
,
'
http://pillow.readthedocs.io/en/latest/
'
)
_add_index
(
'
pillow
'
,
'
http://pillow.readthedocs.io/en/latest/
'
)
_add_index
(
'
click
'
,
'
http://click.pocoo.org/
'
)
_add_
click_
index
()
_add_index
(
'
torch
'
,
'
https://pytorch.org/docs/
'
)
_add_index
(
'
torch
'
,
'
https://pytorch.org/docs/
'
)
...
...
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