Browse Source

Convert readthedocs links for their .org -> .io migration for hosted projects

As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
Adam Chainz 8 years ago
parent
commit
4b9e89c242
5 changed files with 10 additions and 10 deletions
  1. 2 2
      CONTRIBUTING.md
  2. 3 3
      README.md
  3. 2 2
      src/faq/plugin.ts
  4. 1 1
      src/notebook/notebook/actions.ts
  5. 2 2
      src/notebook/notebook/nbformat.ts

+ 2 - 2
CONTRIBUTING.md

@@ -16,7 +16,7 @@ questions about these issues.
 ## General Guidelines
 ## General Guidelines
 
 
 For general documentation about contributing to Jupyter projects, see the
 For general documentation about contributing to Jupyter projects, see the
-[Project Jupyter Contributor Documentation](http://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html).
+[Project Jupyter Contributor Documentation](https://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html).
 
 
 All source code is written in [TypeScript](http://www.typescriptlang.org/Handbook). See the [Style Guide](https://github.com/jupyter/jupyterlab/wiki/TypeScript-Style-Guide).
 All source code is written in [TypeScript](http://www.typescriptlang.org/Handbook). See the [Style Guide](https://github.com/jupyter/jupyterlab/wiki/TypeScript-Style-Guide).
 
 
@@ -136,7 +136,7 @@ The JupyterLab application is made up of two major parts:
 - an npm package
 - an npm package
 - a Jupyter server extension (Python package)
 - a Jupyter server extension (Python package)
 
 
-Each part is named `jupyterlab`. The [developer tutorial documentation](http://jupyterlab-tutorial.readthedocs.io/en/latest/index.html)
+Each part is named `jupyterlab`. The [developer tutorial documentation](https://jupyterlab-tutorial.readthedocs.io/en/latest/index.html)
 provides additional architecture information.
 provides additional architecture information.
 
 
 ## The NPM Package
 ## The NPM Package

+ 3 - 3
README.md

@@ -9,7 +9,7 @@
 
 
 [![Build Status](https://travis-ci.org/jupyter/jupyterlab.svg?branch=master)](https://travis-ci.org/jupyter/jupyterlab)
 [![Build Status](https://travis-ci.org/jupyter/jupyterlab.svg?branch=master)](https://travis-ci.org/jupyter/jupyterlab)
 [![Binder](http://mybinder.org/badge.svg)](http://mybinder.org/repo/jupyter/jupyterlab/lab)
 [![Binder](http://mybinder.org/badge.svg)](http://mybinder.org/repo/jupyter/jupyterlab/lab)
-[![Documentation Status](https://readthedocs.org/projects/jupyterlab-tutorial/badge/?version=latest)](http://jupyterlab-tutorial.readthedocs.io/en/latest/?badge=latest)
+[![Documentation Status](https://readthedocs.org/projects/jupyterlab-tutorial/badge/?version=latest)](https://jupyterlab-tutorial.readthedocs.io/en/latest/?badge=latest)
 [![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
 [![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
 
 
 An extensible computational environment for Jupyter.
 An extensible computational environment for Jupyter.
@@ -94,6 +94,6 @@ and you may participate in development discussions or get live help on [Gitter](
 
 
 - [Reporting Issues](https://github.com/jupyter/jupyterlab/issues)
 - [Reporting Issues](https://github.com/jupyter/jupyterlab/issues)
 - [API Docs](http://jupyter.github.io/jupyterlab/)
 - [API Docs](http://jupyter.github.io/jupyterlab/)
-- [Architecture tutorial](http://jupyterlab-tutorial.readthedocs.io/en/latest/index.html)
-- [Documentation for Project Jupyter](http://jupyter.readthedocs.io/en/latest/index.html) | [PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)
+- [Architecture tutorial](https://jupyterlab-tutorial.readthedocs.io/en/latest/index.html)
+- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) | [PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)
 - [Project Jupyter website](https://jupyter.org)
 - [Project Jupyter website](https://jupyter.org)

+ 2 - 2
src/faq/plugin.ts

@@ -182,7 +182,7 @@ function activateFAQ(app: JupyterLab, palette: ICommandPalette): void {
   kernelLink.className = 'jp-FAQ-a';
   kernelLink.className = 'jp-FAQ-a';
   let kernelLinkText = document.createTextNode('this');
   let kernelLinkText = document.createTextNode('this');
   kernelLink.appendChild(kernelLinkText);
   kernelLink.appendChild(kernelLinkText);
-  kernelLink.href = 'http://jupyter.readthedocs.io/en/latest/install-kernel.html';
+  kernelLink.href = 'https://jupyter.readthedocs.io/en/latest/install-kernel.html';
   kernelLink.target = '_blank';
   kernelLink.target = '_blank';
   featuresQ1Ans.appendChild(kernelLink);
   featuresQ1Ans.appendChild(kernelLink);
 
 
@@ -282,7 +282,7 @@ function activateFAQ(app: JupyterLab, palette: ICommandPalette): void {
   tutorialLink.className = 'jp-FAQ-a';
   tutorialLink.className = 'jp-FAQ-a';
   let tutorialLinkText = document.createTextNode('tutorial walkthrough');
   let tutorialLinkText = document.createTextNode('tutorial walkthrough');
   tutorialLink.appendChild(tutorialLinkText);
   tutorialLink.appendChild(tutorialLinkText);
-  tutorialLink.href = 'http://jupyterlab-tutorial.readthedocs.io/en/latest/index.html';
+  tutorialLink.href = 'https://jupyterlab-tutorial.readthedocs.io/en/latest/index.html';
   tutorialLink.target = '_blank';
   tutorialLink.target = '_blank';
   developerQ3Ans.appendChild(tutorialLink);
   developerQ3Ans.appendChild(tutorialLink);
 
 

+ 1 - 1
src/notebook/notebook/actions.ts

@@ -949,7 +949,7 @@ namespace Private {
    * #### Notes
    * #### Notes
    * Payloads are deprecated and there are no official interfaces for them in
    * Payloads are deprecated and there are no official interfaces for them in
    * the kernel type definitions.
    * the kernel type definitions.
-   * See [Payloads (DEPRECATED)](http://jupyter-client.readthedocs.io/en/latest/messaging.html#payloads-deprecated).
+   * See [Payloads (DEPRECATED)](https://jupyter-client.readthedocs.io/en/latest/messaging.html#payloads-deprecated).
    */
    */
   function handlePayload(content: KernelMessage.IExecuteOkReply, parent: Notebook, child: BaseCellWidget) {
   function handlePayload(content: KernelMessage.IExecuteOkReply, parent: Notebook, child: BaseCellWidget) {
     let setNextInput = content.payload.filter(i => {
     let setNextInput = content.payload.filter(i => {

+ 2 - 2
src/notebook/notebook/nbformat.ts

@@ -2,7 +2,7 @@
 // Distributed under the terms of the Modified BSD License.
 // Distributed under the terms of the Modified BSD License.
 
 
 // Notebook format interfaces
 // Notebook format interfaces
-// https://nbformat.readthedocs.org/en/latest/format_description.html
+// https://nbformat.readthedocs.io/en/latest/format_description.html
 // https://github.com/jupyter/nbformat/blob/master/nbformat/v4/nbformat.v4.schema.json
 // https://github.com/jupyter/nbformat/blob/master/nbformat/v4/nbformat.v4.schema.json
 
 
 import {
 import {
@@ -161,7 +161,7 @@ namespace nbformat {
      * This is not strictly part of the nbformat spec, but it is added by
      * This is not strictly part of the nbformat spec, but it is added by
      * the contents manager.
      * the contents manager.
      *
      *
-     * See http://jupyter-notebook.readthedocs.org/en/latest/security.html.
+     * See https://jupyter-notebook.readthedocs.io/en/latest/security.html.
      */
      */
     trusted: boolean;
     trusted: boolean;