mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Accept external url in summary
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user