From 1a3ee784592c8cfbf1a6bc98dcaf3e8a5afef7fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Thu, 18 Feb 2016 15:23:01 +0100 Subject: [PATCH] Accept external url in summary --- lib/backbone/summary.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/backbone/summary.js b/lib/backbone/summary.js index 405c192a6..0d1d0d7a9 100644 --- a/lib/backbone/summary.js +++ b/lib/backbone/summary.js @@ -22,9 +22,6 @@ function TOCArticle(def, parent) { // ex: '1.0.0' this.level = def.level; - if (def.path && location.isExternal(def.path)) { - throw error.ParsingError(new Error('SUMMARY can only contains relative locations')); - } if (!def.title) { throw error.ParsingError(new Error('SUMMARY entries should have an non-empty title')); }