Commit 73ba03c8 authored by André Anjos's avatar André Anjos 💬

[utils] Fix lookup of click manual

parent 54a45cdd
Pipeline #36560 passed with stage
in 8 minutes and 16 seconds
......@@ -509,6 +509,15 @@ def link_documentation(additional_packages = ['python', 'numpy'], requirements_f
_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 = {}
# add indexes for common packages used in Bob
......@@ -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-image', 'http://scikit-image.org/docs/dev/')
_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/')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment