nbgitpuller link generator
==========================
Use the following form to create your own ``nbgitpuller`` links.
.. raw:: html
**Pre-populating some fields in the link generator**
You can pre-populate some fields in order to make it easier for some
users to create their own links. To do so, use the following URL
parameters **when accessing this page**:
* ``hub`` is the URL of a JupyterHub
* ``repo`` is the URL of a github repository to which you're linking
* ``branch`` is the branch you wish to pull from the Repository
For example, the following URL will pre-populate the form with the
UC Berkeley DataHub as the JupyterHub::
https://jupyterhub.github.io/nbgitpuller/link?hub=https://datahub.berkeley.edu
**Activating a tab when someone lands on this page**
You can also activate one of the tabs in the form above by default when a user lands
on this page. To do so, use the ``tab=`` REST parameter. Here are the possible values:
* ``?tab=binder`` - activates the Binder tab
* ``?tab=canvas`` - activates the Canvas tab.