Browse Source

Merge pull request #1322 from blink1073/check-docs-links

Add docs integrity check
Steven Silvester 8 years ago
parent
commit
b70f725b03
2 changed files with 10 additions and 1 deletions
  1. 9 0
      scripts/travis_script.sh
  2. 1 1
      tutorial/notebook.md

+ 9 - 0
scripts/travis_script.sh

@@ -33,6 +33,15 @@ cp jupyter-plugins-demo.gif docs
 npm install -g postcss-cli
 postcss jupyterlab/build/*.css > /dev/null
 
+# Verify docs build
+pushd tutorial
+conda env create -n test_docs -f environment.yml
+source activate test_docs
+make linkcheck
+make html
+source deactivate
+popd
+
 # Make sure we can start and kill the lab server
 jupyter lab --no-browser &
 TASK_PID=$!

+ 1 - 1
tutorial/notebook.md

@@ -78,7 +78,7 @@ corresponding to the cell models in its cell list.
 
 - Each cell widget contains an [InputAreaWidget](http://jupyterlab.github.io/jupyterlab/classes/_notebook_cells_widget_.inputareawidget.html),
 
-    + which contains a [CellEditorWidget](http://jupyterlab.github.io/jupyterlab/classes/_notebook_cells_editor_.celleditorwidget.html),
+    + which contains a [CellEditorWidget](http://jupyterlab.github.io/jupyterlab/interfaces/_notebook_cells_editor_.icelleditorwidget.html),
 
         - which contains a JavaScript CodeMirror instance.