diff --git a/docs/source/gallery-jhub-deployments.md b/docs/source/gallery-jhub-deployments.md index 6e4141f6..70118450 100644 --- a/docs/source/gallery-jhub-deployments.md +++ b/docs/source/gallery-jhub-deployments.md @@ -33,8 +33,7 @@ Please submit pull requests to update information or to add new institutions or ### Clemson University - Advanced Computing - - [Palmetto cluster and JupyterHub](https://www.palmetto.clemson.edu) - - [Docs for JupyterHub on Palmetto cluster](https://www.palmetto.clemson.edu/jupyterhub/docs/) + - [Palmetto cluster and JupyterHub](http://citi.sites.clemson.edu/2016/08/18/JupyterHub-for-Palmetto-Cluster.html) ### University of Colorado Boulder @@ -47,7 +46,7 @@ Please submit pull requests to update information or to add new institutions or - [Parallel Programming with JupyterHub document](https://www.rc.colorado.edu/book/export/html/833) - Earth Lab at CU - - [Tutorial on Parallel R on JupyterHub](https://earthlab.github.io/tutorials/parallel-r-on-jupyterhub/) + - [Tutorial on Parallel R on JupyterHub](https://earthdatascience.org/tutorials/parallel-r-on-jupyterhub/) ### University of Illinois @@ -63,7 +62,7 @@ Please submit pull requests to update information or to add new institutions or ### University of Minnesota -- [JupyterHub Inside HPC](http://insidehpc.com/tag/jupyterhub/) +- [JupyterHub Inside HPC](https://insidehpc.com/tag/jupyterhub/) ### University of Missouri @@ -71,7 +70,7 @@ Please submit pull requests to update information or to add new institutions or ### University of Rochester CIRC -- [JupyterHub Userguide](https://info.circ.rochester.edu/Web_Applicatons/JupyterHub.html) - Slurm, beehive +- [JupyterHub Userguide](https://info.circ.rochester.edu/Web_Applications/JupyterHub.html) - Slurm, beehive ### University of California San Diego @@ -104,7 +103,7 @@ Please submit pull requests to update information or to add new institutions or ### Everware -[Everware](https://github.com/everware) Reproducible and reusable science powered by jupyterhub and docker. Like nbviewer, but executable. CERN, Geneva [website](http://www.everware.xyz/) +[Everware](https://github.com/everware) Reproducible and reusable science powered by jupyterhub and docker. Like nbviewer, but executable. CERN, Geneva [website](http://everware.xyz/) ### Microsoft Azure diff --git a/docs/source/quickstart.md b/docs/source/quickstart.md index 0be930a0..a523912d 100644 --- a/docs/source/quickstart.md +++ b/docs/source/quickstart.md @@ -7,7 +7,7 @@ Before installing JupyterHub, you will need: - a Linux/Unix based system - [Python](https://www.python.org/downloads/) 3.4 or greater. An understanding of using [`pip`](https://pip.pypa.io/en/stable/) or - [`conda`](http://conda.pydata.org/docs/get-started.html) for + [`conda`](https://conda.io/docs/get-started.html) for installing Python packages is helpful. - [nodejs/npm](https://www.npmjs.com/). [Install nodejs/npm](https://docs.npmjs.com/getting-started/installing-node), using your operating system's package manager. For example, install on Linux diff --git a/docs/source/services.md b/docs/source/services.md index fb2684b0..9b81bb2f 100644 --- a/docs/source/services.md +++ b/docs/source/services.md @@ -348,12 +348,14 @@ and taking note of the following process: ``` An example of using an Externally-Managed Service and authentication is -[nbviewer](https://github.com/jupyter/nbviewer#securing-the-notebook-viewer), +in [nbviewer README]_ section on securing the notebook viewer, and an example of its configuration is found [here](https://github.com/jupyter/nbviewer/blob/master/nbviewer/providers/base.py#L94). -nbviewer can also be run as a Hub-Managed Service as described [here](https://github.com/jupyter/nbviewer#securing-the-notebook-viewer). +nbviewer can also be run as a Hub-Managed Service as described [nbviewer README]_ +section on securing the notebook viewer. [requests]: http://docs.python-requests.org/en/master/ [services_auth]: api/services.auth.html [HubAuth]: api/services.auth.html#jupyterhub.services.auth.HubAuth [HubAuthenticated]: api/services.auth.html#jupyterhub.services.auth.HubAuthenticated +[nbviewer example]: https://github.com/jupyter/nbviewer#securing-the-notebook-viewer diff --git a/docs/source/troubleshooting.md b/docs/source/troubleshooting.md index 8550de1c..c21f0a3b 100644 --- a/docs/source/troubleshooting.md +++ b/docs/source/troubleshooting.md @@ -247,7 +247,7 @@ Users will need a GitHub account to login and be authenticated by the Hub. ### How do I set up rotating daily logs? -You can do this with [logrotate](http://www.linuxcommand.org/man_pages/logrotate8.html), +You can do this with [logrotate](https://linux.die.net/man/8/logrotate), or pipe to `logger` to use syslog instead of directly to a file. For example, with this logrotate config file: diff --git a/jupyterhub/app.py b/jupyterhub/app.py index cd48b7fa..7627dbb5 100644 --- a/jupyterhub/app.py +++ b/jupyterhub/app.py @@ -307,11 +307,11 @@ class JupyterHub(Application): subdomain_host = Unicode('', help="""Run single-user servers on subdomains of this host. - This should be the full https://hub.domain.tld[:port] + This should be the full `https://hub.domain.tld[:port]`. Provides additional cross-site protections for javascript served by single-user servers. - Requires .hub.domain.tld to resolve to the same host as hub.domain.tld. + Requires `.hub.domain.tld` to resolve to the same host as `hub.domain.tld`. In general, this is most easily achieved with wildcard DNS. diff --git a/jupyterhub/services/auth.py b/jupyterhub/services/auth.py index 0f29750d..9d437d19 100644 --- a/jupyterhub/services/auth.py +++ b/jupyterhub/services/auth.py @@ -136,7 +136,7 @@ class HubAuth(Configurable): api_url = Unicode(os.getenv('JUPYTERHUB_API_URL') or 'http://127.0.0.1:8081/hub/api', help="""The base API URL of the Hub. - Typically http://hub-ip:hub-port/hub/api + Typically `http://hub-ip:hub-port/hub/api` """ ).tag(config=True) @default('api_url') @@ -645,7 +645,7 @@ class HubOAuthCallbackHandler(HubOAuthenticated, RequestHandler): Finishes the OAuth flow, setting a cookie to record the user's info. - Should be registered at SERVICE_PREFIX/oauth_callback + Should be registered at ``SERVICE_PREFIX/oauth_callback`` .. versionadded: 0.8 """