Skip to content
Snippets Groups Projects
Commit 7357d003 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

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!111Fix lookup of click manual
Pipeline #36561 passed
...@@ -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/')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment